Scott Forsyth's Blog

Postings on IIS, ASP.NET, SQL Server, Webfarms and general system admin.

.

  • Scott Forsyth

Hosting Needs

Training and Dev Labs

Visual Studio IntelliSense for URL Rewrite

Visual Studio doesn’t have IntelliSense support for URL Rewrite by default.  This isn’t a show stopper since it doesn’t result in stop errors. However, it’s nice to have full IntelliSense support and to get rid of the warnings for URL Rewrite rules.

RuslanY has released a Visual Studio schema update for URL Rewrite 2.0 which is available as a free quick download.  The installation instructions (they are quick and easy) can be found here, which also include the schema for URL Rewrite 1.1.  

The install takes effect immediately without restarting Visual Studio.

A side question commonly comes up.  Can you get URL Rewrite support for Visual Studio Web Server (aka Cassini).  The answer is no.  To get URL Rewrite support in your development environment, use IIS7.  You can set your Visual Studio projects to use IIS7 though, so you can have full debug, F5 or Ctrl-F5 support for IIS.

Comments

Twitter Trackbacks for Visual Studio IntelliSense for URL Rewrite - Scott Forsyth's Blog [asp.net] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Visual Studio IntelliSense for URL Rewrite - Scott Forsyth's Blog         [asp.net]        on Topsy.com

# June 4, 2010 11:12 AM

rickj1 said:

Thanks for the info great help I depend on VS to spot errors so much when I see a squiggly line I stop what I;m doing and fix it thanks

# June 4, 2010 3:59 PM

Ruslan Yakushev said:

Note that the schema for URL Rewrite 2.0 is available here: ruslany.net/.../visual-studio-xml-intellisense-for-url-rewrite-2-0

# June 4, 2010 5:02 PM

OWScott said:

Hi Rickj1.  Sure thing, I agree, IntelliSense is so helpful, but in your face when you get the squiggly's.

# June 4, 2010 5:55 PM

OWScott said:

Thanks Ruslan.  I updated the post to point to the version 2.0 link directly.  Thanks for it!

# June 4, 2010 5:56 PM

How do I put my ASP. Net 2. 0 3 web application framework. 5 with Silverlight? | Uncategorized | Information about Social Bookmarking Software, Social Bookmarking Tool said:

Pingback from  How do I put my ASP. Net 2. 0 3 web application framework. 5 with Silverlight? | Uncategorized | Information about  Social Bookmarking Software, Social Bookmarking Tool

# June 5, 2010 1:10 AM

Excel Comparison said:

very wonderful information how to rewrite url in visual studio. i will try it.

# June 7, 2010 6:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)