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#56: Did you know… How to update JScript Intellisense manually

Do you like JScript Intellisense feature but have trouble seeing variables or methods you expect to see in JScript Intellisense?  Instead of trying to close files or other work around’s you can simply try to “Update Intellisense” command manually before invoking intellisense. From keyboard: Ctrl+Shift+j will do it.  Wait for “Updating Intellisense…” message on status…

14

Tip #61: Did you know… How to create an ASP.Net Dynamic Data Web Site?

If your web site is heavily data driven then here is a quick and easy way for you to create one without writing much code. All you need is Visual Studio 2008 SP1 or Visual Web Developer 2008 Express SP1 installed on your box. Dynamic Data Web Sites makes use of a mechanism called Scaffolding….

13

Tip #60: Did you know… How to Profile an ASP.Net site?

1. Create a asp.net web application in Visual Studio Team Edition For Developers 2. Write some code inside Page_Load function protected void Page_Load(objectsender, EventArgs e) {     int sum = 0;     for(int i = 0; i < 2000000; i++)     {         sum += i;     }     Response.Write(sum); } 3. Launch performance wizard…

13

Tip #75: Did you know…How to maintain scrollposition after post back?

When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page. MaintainScrollPositionOnPostBack page property can be used to achieve this  in one of…

12

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

Tip#62: Did you know… How to add Ajax Control Toolkit to the toolbox?

Steps to add Ajax Control Toolkit for Framework 3.5 SP1Steps to add Ajax Control Toolkit for Framework 2.0 Ajax Control Toolkit for Framework 3.5 SP1 Following are the steps to add Ajax Control Toolkit to the toolbox for ASP.NET 3.5 webs in Visual Studio 2008 SP1 Download Ajax Control toolkit from here (you can download…

11