Tip #29: Did you know… How to enable Edit and Continue feature for Web Application Projects?

If you want to edit your WAPs while debugging them, here is how you do it: 1. Check the “Enable Edit and Continue” checkbox in the Web Properties page. 2. Check the “Enable Edit and Continue” checkbox under  Tools->Options->Debugging->Edit and Continue These two setting will enable Edit and Continue as you debug your WAPs. Reshmi…

16

Tip #28 Did you know… That “Go to definition” is supported for CSS Class?

If you have a style defined as Class = ”fooRed”  as shown below and want to quickly know what does fooRed style contain? <div class ="fooRed"> In RED </div>  Just place your cursor on fooRed and hit the F12 button. This will highlight the CSS class for you even if the class lives in the…

9

Tip#27: Did you know… The Microsoft Web Platform Installer RC release supports Windows XP as well as Windows Server 2003

Microsoft’s Web Platform Installer has been a cool and simple tool that install’s Microsoft’s entire Web Platform including IIS (5.1, 6.0 or 7.0), Visual Web Developer 2008 Express Edition, SQL Server 2008 Express Edition and .NET framework. The user interface gives you the flexibility to install entire or specific products. The Beta release supported Windows…

2

Tip#25: Did you know… You can have canonical URLs and Redirects with IIS 7.0

Canonical URLs help you to make your links Search Engine Optimized (SEO). For human it is easy to understand that http://www.contoso.com is same as http://contoso.com. But many search engines will not make this assumption and treat them as two separate entries. This will split the rankings among them and lower the overall relevance of the…

5

Tip #24: Did you know…You could display CSS/HTML errors as warnings or as errors?

VS 2008 has this cool feature of downgrading any CSS/HTML errors to warnings. This is helpful when you want to separate out validation errors and are looking for what is actually stopping your build. In VS 2008 the default behavior is to display any HTML/CSS errors as warnings as shown in the picture below. Note…

1

Tip #23: Did you know…How to launch Formatting options dialog for editor with 2 clicks?

Normally we use Tools->Options->Text Editor->HTML->Format to launch the Formatting Options dialog shown below: You can also launch the above dialog from the editor surface with just 2 clicks. On the editor surface, right-click and choose ‘Formatting and Validation’ from the context menu. Voila! You get the Formatting Options dialog shown above. Ranjini SDET | Visual…

1

Tip #22: Did you know…How to improve performance of Page and Server Control Processing?

Avoid unnecessary round trips to the server – You can use ASP.NET Ajax and partial page rendering. ASP.NET Ajax – ASP.NET  Ajax allows the developer to create web application in ASP.NET which can update data on the web page without a complete reload of the page.Partial Page Rendering – Partial-page rendering relies on server controls…

6

Tip #21: Did you know…How to set a fixed port for the Developer Web Server?

Technorati Tags: Visual Studio 2008,VS2008,VWD,tips and tricks,Visual Studio,Cassini,Developer Web Server When you create a file based web site, the "Developer Web Server" is fired up on a local port to serve the web site.  By default, the port value used is dynamic based on a pre-defined range and the availability of a port.  In some…

12