Mihir Solanki

mihirsolanki.com

<September 2008>
SuMoTuWeThFrSa
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011


Navigation

Links

Subscriptions

Post Categories



Visual Studio 2005 (RSS)

Visual Studio 2005
The Visual Studio Hosting Process - VSHost.exe

The hosting process is a feature in Visual Studio 2005 that improves debugging performance, enables partial trust debugging, and enabled design time expression evalution. The hosting process files contain vshost.exe file and is placed in the output folder of the project.

Improved Performance
Running a managed application requires the creation of an AppDomain and associating the debugger with the application. Performing these task can introduce a delay between the time debugging is started and the time the application begins running. The hosting process helps increase performance by creating the application domain and associating the debugger in the background, and saving the application domain and debugger state between runs of the application.

Partial-Trust Debugging and Click-Once Security
With the Visual Studio 2003, it is not possible to test and debug an application which do not require full trust. Visual Studio 2005 introduces the ability to debug applications in partial trust. An application can be specified as a partial trust application in the security page of the Project Designer. Debugging a partial trust application requires special initialization of the application domain. This initialization is handled by the hosting process.

Design-Time Expression Evaluation
Another new feature in Visual Studio 2005 is the abiltiy to test code  from the Immediate Window, without actually running the application. You can use the Visual Studio Immediate window to execute a function or subrountine while your application is not running. If the function or subrountine contains a breakpoint, Visual Studion will break execution at the appropriate point and you can examine your program state.

Disabling the hosting process.
To disable the hosting process clear the Enable the Visual Studio hosting process  checkbox in the project properties window. Disabling the hosting process disables the partial-trust debugging, Design-time expression evalution and also increases the time needed to begin debugging .net applications.

Note : Hosting process files (.vshost.exe) are for use by Visual Studio 2005 and should not be run directly or deployed with an application.

Cross posting from my .Net Journal blog

posted Sunday, November 06, 2005 9:01 AM by mihirsolanki with 2308 Comments

What's new in the Visual Studio 2005 XML Editor?

Visual Studio features a new code editor that includes full XML 1.0 syntax checking, support for DTD's, and full XSD IntelliSense and validation while you type. The XML Editor includes the following features:

Editing XML : The XML Editor checks XML 1.0 syntax, including DTD syntax, and reports errors with red squiggles in the file as well as lists the errors in the new Error List window.
 
Validation : The XML Editor performs DTD, XSD, or XDR validation while you type. Blue squiggles are used to show any validation errors. Each error has an associated entry in the error list. You can easily find the XSD schema to use for validation. The schema can be in your schema cache directory, in the solution, in the editor window, referenced via schemaLocation attributes, or inline inside your XML document.
 
Auto-completion : Auto-completion of end tags takes place when you type “>” at the end of a start tag. The editor also automatically inserts namespace declarations for new namespaces introduced by IntelliSense editing.
 
IntelliSense : Provides help in completing XML elements and attributes based on schemas or DTD's associated with that document. Supports the full set of IntelliSense commands including Show Member List, Display Quick Info, and Word Complete.
 
Reformat : Automatically reformats the entire XML document or only what is selected based on optional settings for the XML Editor.Includes an XML formatter that preserves attribute formatting. New formatting options are available from Formatting, XML, Text Editor, Options dialog box.
 
Smart Indenting : Used to adjust for the right indentation for the next XML element when you press ENTER.
 
Syntax Coloring : XML syntax is colorized for various elements and attributes in the document. You can change the default colors using Fonts and Colors, Environment, Options Dialog Box.
 
Tool Tips : When the mouse hovers over an XML element or attribute, a tool tip window appears over the element providing information from the XSD schema if one is specified.
 
Document Outlining : Each XML element that contains child markup content, or multiple lines of text, can be expanded or collapsed using plus [+] and minus [-] signs.
 
Create Schema : This command allows the creation of an XSD schema from an XML, XDR, or DTD document.
 
Editing XSL : When editing XSL, the XML Editor supports all the features available for XML files but also includes additional features and color-coding for XSL keywords. In addition, a two pass validation algorithm is applied to ensure better XSD validation with the XSLT spreadsheet.
 
View XSL : This command performs an XSL transformation and opens the output in a separate document window.
 
Debug XSL : Allows debugging of XSL document when editing an XSL style sheet using an associated input document. The debugger provides a full expression evaluator so you can evaluate XPath expressions while debugging.

posted Monday, October 10, 2005 5:04 AM by mihirsolanki with 0 Comments

Visual Web Developer 2005

Now I can do powerfull and dynamic Web Developement Quicker and easier than ever before.

I got Visual Web Developer 2005
 
 
Leave your comment/feedback here

posted Wednesday, April 20, 2005 8:40 PM by mihirsolanki

Contextual Keywords

A contextual keyword is used to provide a specific meaning in the code, but it is not a reserved word in C#. CSharp 2.0 has following contextual keywords

partial -  Defines partial classes, structs, and interfaces throughout the same compilation unit.

where   Adds constraints to a generic declaration.

yield   Used in an iterator block to return a value to the enumerator object or to signal the end of iteration.

value   Used to set accessors and to add or remove event handlers.

 

PS : Leave your feedbacks/comments here

 

posted Tuesday, April 12, 2005 9:01 PM by mihirsolanki

Microsoft Visual Studio 2005 Beta CountDown

Microsoft Visual Studio 2005 Beta CountDown....  TheBetaExperience

14 Days to go ...

Reminder Service

PS : Leave your feedbacks/comments here

 

posted Monday, April 11, 2005 12:06 PM by mihirsolanki

I don't think I am going to sleep tonight, because ...

 



and

 

any solution ???

I am installing on Virtual PC. I had C# Express Edition Beta 1, which I uninstalled because of this problem but still no luck.

posted Friday, March 04, 2005 1:01 PM by mihirsolanki with 0 Comments

Customizing Context Menus of VS.Net 2005

Visual Studio 2005 has the ability to customize many of the context menus that you see in the product.  Here's how:

  1. Go To Tools.Customize. 
  2. On the Toolbars Tab, check "Shortcut Menus".  You will notice that several new items on the main toolbar with the title shortcut menus. 
  3. Switch to the Commands Tab and drag the command you want added onto the appropriate menu.  There are default groupings for Solution Explorer, Class View and Debugging context menus.  Other Shortcut Menus contains the remaining list of uncategorized context menus.
  4. Click Close

If you want to add items to the editor context menu, you can add them to the Code Window group under Other Shortcut Menus.

posted Tuesday, March 01, 2005 10:57 AM by mihirsolanki with 0 Comments

How to reset the Visual Studio.net 2005 IDE?
To restore the VS 2005 IDE to its default settings open the Windows menu and click Reset Windows Layout.

posted Sunday, February 20, 2005 4:21 PM by mihirsolanki with 1 Comments




Powered by Dot Net Junkies, by Telligent Systems