Tips & Tricks for ASP.NET, IIS, and Visual Web Developer

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...

Author: Web Development Tools Microsoft Date: 05/14/2009

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...

Author: Web Development Tools Microsoft Date: 04/30/2009

Tip #59: Did you know…How you can automatically format unformatted HTML on paste in VS?

Do you copy/ paste a lot of unformatted HTML content in to your web forms? Do you always format HTML...

Author: Web Development Tools Microsoft Date: 04/29/2009

Tip #58: Did you know…How you can import/ export HTML Per Tag options in VS?

If you make a lot of customization to per tag options and you want import/ export these settings you...

Author: Web Development Tools Microsoft Date: 04/28/2009

Tip#57: Did you know… How to manage web site configuration through a web interface

The Web Site Administration Tool provides a web interface for you to manage different web site...

Author: Web Development Tools Microsoft Date: 04/28/2009

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...

Author: Web Development Tools Microsoft Date: 04/24/2009

Tip #55: Did you know...How to change Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution

If you have more than one project in your solution you can use following options of solution...

Author: Web Development Tools Microsoft Date: 04/24/2009

Tip #54: Did you know…How you can turn off intellisense for HTML/ CSS editors

If you would like turn off intellisense in HTML editors (aspx, html files) and CSS editor (css...

Author: Web Development Tools Microsoft Date: 04/24/2009

Tip # 53: Did you know... How to edit the templates for gridview in VS designer?

Gridview control has the flexibility to be configured how it's rendered using templates. Following...

Author: Web Development Tools Microsoft Date: 04/22/2009

Tip # 52: Did you know... When deploying your ASP.NET web application, debug=false should be set in web.config

To help troubleshoot problems, developers usually enables the debug mode in web.config file. This...

Author: Web Development Tools Microsoft Date: 04/14/2009

Tip #51 Did you know… how to use VS2005 to debug with IE8?

VS2005 does not debug with IE8 by default, due to IE8’s LCIE feature...

Author: Web Development Tools Microsoft Date: 03/31/2009

Tip #50: Did you know…How to absolute position the controls in Visual Studio Designer?

Absolute positioning control(s) in the designer can seem confusing at first until you learn the...

Author: Web Development Tools Microsoft Date: 03/31/2009

Tip #49 Did you know… how to set the editor to always place open braces on new line for functions in JScript?

In Visual Studio, click Tools -> Options. In the Options dialog on the left pane select Text...

Author: Web Development Tools Microsoft Date: 03/30/2009

Tip #48 Did you know… that IIS7 application pool’s “Ping” settings may affect IIS7 based website or application debugging?

IIS7 app pool by default only can only have 1.5 minutes window for a non-responsive...

Author: Web Development Tools Microsoft Date: 03/30/2009

Tip #47 Did you know… that front page script remote debugging requires turning off IE’s Enhanced Security Configuration in windows 2003 and windows 2008?

When doing remote front page debugging using visual studio 2008 in windows 2003 or windows 2008, one...

Author: Web Development Tools Microsoft Date: 03/27/2009

Tip #46: Did you know… that Web Deployment “migrate” operation is “sync” operation with all migration rules enabled?

Note: C# code in this article applies to RC version of Web Deployment Tool available here: - Web...

Author: Web Development Tools Microsoft Date: 03/27/2009

Tip #45: Did you know…How to change the DynamicData folder location?

ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications...

Author: Web Development Tools Microsoft Date: 03/27/2009

Tip #44: Did you know…How to view the Project File while still in Visual Studio?

If you are developing a web site using the Web Application Project model, then you know that the...

Author: Web Development Tools Microsoft Date: 01/29/2009

Tip #43: Did you know... The way you register your IHttpModule depends on the request processing pipeline in which your module will run?

To get your custom IHttpModule up and running you need three simple things: Source code compiled...

Author: Web Development Tools Microsoft Date: 01/20/2009

Tip #42: Did you know... ConfigurationEditor allows you to generate C#, JavaScript or AppCmd script to update configuration?

If you want to write a script to add new or update existing configuration, no matter what...

Author: Web Development Tools Microsoft Date: 01/11/2009

Tip #41: Did you know... establishing a remote connection to a IIS server with self-issued certificate will require a certificate validation delegate?

Either through WMSvc or through your own script, whenever you try to establish a connection with a...

Author: Web Development Tools Microsoft Date: 01/04/2009

Tip #40: Did you know…How to scope master pages?

Master page is a template page that can be used to create a consistent layout for your application....

Author: Web Development Tools Microsoft Date: 12/31/2008

Tip #39: Did you know… How to cancel a remote web operation in Visual Studio 2008?

In VS2005, when you connected to an FTP or FrontPage server, the IDE would not let you intervene to...

Author: Web Development Tools Microsoft Date: 12/29/2008

Tip #38: Did you know... How to use Failed Request Tracing to trace Rewrite Rules?

IIS7.0 Failed Request Tracing (FRT) is a powerful troubleshooting tool for request-processing...

Author: Web Development Tools Microsoft Date: 12/28/2008

Tip #37: Did you know…How to organize usings?

Overtime C# source code files may have unnecessary & unorganized using directives. Visual Studio...

Author: Web Development Tools Microsoft Date: 12/28/2008

Tip #36: Did you know... How to manage pilot or beta program for your site using Application Request Routing in IIS7.0?

Won't it be cool if you can target and route appropriate users of your site to your pilot/beta/new...

Author: Web Development Tools Microsoft Date: 12/22/2008

Tip #35: Did you know…How to add Intellisense from script libraries for JS files?

Here is an example to add intellisense for JS files in VS 2008. So, you have two Javascript files...

Author: Web Development Tools Microsoft Date: 12/16/2008

Tip #34: Did you know... How to stop hot-linking from your site using URL Rewrite in IIS 7.0?

Hot-linking is a direct linking to a web-site's file (images, videos etc). An example can be using...

Author: Web Development Tools Microsoft Date: 12/15/2008

Tip #33: Did you know… How to create Nested Master Pages using VS 2008?

VS 2008 and VWD 2008 both support Nested Master Pages which means you can have a Base Master page...

Author: Web Development Tools Microsoft Date: 12/05/2008

Tip #32: Did you know... How to easily create your own project templates?

Visual Studio makes it very easy to create item and project templates with the Export Template...

Author: Web Development Tools Microsoft Date: 12/02/2008

Tip #31: Did you know... How to have user friendly URL using IIS 7.0 URL Rewrite module?

It's always good to have friendly URL so that people visiting your site find it easier to remember....

Author: Web Development Tools Microsoft Date: 12/01/2008

Tip # 30: Did you know... Ajax Extender controls UI behaves differently in VS 2008 than in VS 2005

In VS 2005, you can drag and drop an extender control anywhere on the design surface. However, in VS...

Author: Web Development Tools Microsoft Date: 11/26/2008

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...

Author: Web Development Tools Microsoft Date: 11/26/2008

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...

Author: Web Development Tools Microsoft Date: 11/25/2008

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...

Author: Web Development Tools Microsoft Date: 11/24/2008

Tip #26: Did you know... How to have C# and VB.NET files inside your App_Code directory?

If you are taking advantage of the App_Code folder to develop an ASP.NET WebSite some times you need...

Author: Web Development Tools Microsoft Date: 11/21/2008

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...

Author: Web Development Tools Microsoft Date: 11/19/2008

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...

Author: Web Development Tools Microsoft Date: 11/14/2008

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...

Author: Web Development Tools Microsoft Date: 11/12/2008

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....

Author: Web Development Tools Microsoft Date: 11/09/2008

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...

Author: Web Development Tools Microsoft Date: 11/07/2008

Tip #20: Did you know… How to change WAP to use an IIS Web server?

Sometimes while developing WAP you might want to switch to IIS Web server instead of the Visual...

Author: Web Development Tools Microsoft Date: 11/03/2008

Tip #19: Did you know…How to set the default view to Design view?

Source View is the default view for the IDE when you edit a Web page. You can customize the IDE so...

Author: Web Development Tools Microsoft Date: 10/30/2008

Tip #18: Did you know…How to absolute position controls on copy paste or drag drop from Toolbox?

To absolute position any control on your designer, you select the control and then select the...

Author: Web Development Tools Microsoft Date: 10/29/2008

Tip #17: Did you know... How to remote debug WAPs that are using IIS?

If you want to work on an web application project using IIS that is sitting on another server, you...

Author: Web Development Tools Microsoft Date: 10/28/2008

Tip #16: Did you know… How to change the default format settings for CSS Editor?

There is a Tools –>Options setting under Text Editor –> CSS –>Format Node which helps you...

Author: Web Development Tools Microsoft Date: 10/20/2008

Tip #15: Did you know... How to use tracing with ASP.NET Ajax?

If you are using ASP.NET Ajax and you are having problems with a web page one quick and dirty way to...

Author: Web Development Tools Microsoft Date: 10/19/2008

Tip #14: Did you know…How to enable debugging of your Web Site?

To run a page in Debug mode you will have to choose Debug –> Start Debugging or just press F5....

Author: Web Development Tools Microsoft Date: 10/15/2008

Tip #13: Did you know... How to get the browser agent using ASP.NET Ajax ?

When writing JavaScript for a web application, there may be times when you want to do something...

Author: Web Development Tools Microsoft Date: 10/10/2008

Tip #12: Did you know..How to create an IIS Virtual Directory from within Visual Web Developer?

Here are the steps on how to create a Local IIS Virtual Directory.To start with you should have IIS...

Author: Web Development Tools Microsoft Date: 10/08/2008

<Previous Next>