How do you handle RESTful-type URLs with an IHttpHandler?

This is already built into ASP. NET 3.5 SP1 with the UrlRoutingModule. For details check out this article If a hosting company supports ASP.NET 3.5 SP1, it will support this.

This is already built into ASP. NET 3.5 SP1 with the UrlRoutingModule. For details check out this article.

If a hosting company supports ASP. NET 3.5 SP1, it will support this.

Thanks for the answer. I attempted to use this method for my project and it works great in Visual Studio and fails horribly when published to my web server. There's no compilation errors so I expect that my service provider has SP1 installed.

The ashx pages load perfectly if I request them directly in the browser but I'm getting 404 errors when using my routes. – Kivin Feb 8 '10 at 9:11.

First, I'm looking for a a small example of how to handle a series of RESTful URLs, such as /Account/{userName} and /Account/{userName}/Profile with a single HttpHandler. At this time, I'm not interested in embracing MVC or using the REST Starter Kit. Should I place the HttpHandler class in a Class Library?

Should I publish to the root of the RESTful URL? My second issue stems from the fact that my ASP.NET hosting is done through a web-hosting company.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions