Brian Scaturro
Brian Scaturro

Reputation: 305

.NET Support DELETE request method in VS2010 Built In Server

I am developing WCF REST services in a .NET 3.5 environment. When I debug with Visual Studio 2010 and the built in web server, I get 404 Not Found on DELETE/PUT methods when I make requests to the .svc files (using curl in cygwin specifically).

When I switch to IIS7 express as the web server, I have no problems whatsoever. Problem is this causes a ton of other issues in my environment.

My question is how do I support DELETE and PUT request methods from within the built in web server of Visual Studio 2010? Is there a setting somewhere? Do I need to edit web.config?

Upvotes: 3

Views: 123

Answers (1)

Oded
Oded

Reputation: 498904

The reason IIS Express exists is that the developer web server does not support all of the options the IIS does. You have hit on one of them (SSL support is another).

Keep using IIS Express instead of the developer web server.

Upvotes: 2

Related Questions