Note that there are some explanatory texts on larger screens.

plurals
  1. PORestfull urls for ASP.NET page on IIS
    text
    copied!<p>Ok I had a huge Issue giving this a proper title, my excuses for that.</p> <p>Anyways I have started slowly to look at Web and ASP.NET again, I am a C# developer but I have mostly worked with Windows applications the past 5 years or so, It is not that I haven't touched the web as such in that time, but this is as web services (Restfull as well as the ugly SOAP services) I have also worked with more "raw" web requests.</p> <p>But I have not worked with IIS or ASP.NET in all that time.</p> <p>What I would like to do is hos a web page that uses a URL style I could best describe with "like rest", hence the "Restfull urls" title. Because I think most people thinks of such URL's in terms of:</p> <pre><code>http://example.com/item/ http://example.com/item/23/ </code></pre> <p>and so forth. Not that they have to look like that, however I would like to use such URL's instead of </p> <pre><code>http://example.com/item?id=23 </code></pre> <p>I know subtext does this, but i have not had any luck finding it in their code base.</p> <p>Now as far as I can tell I could just implement some IHttpHandler's, but at least for the examples I have seen of that, they write the page source back in code, and I still have master pages etc. I wish to use instead of taking over all that stuff my self, I really just kinda wants to route <a href="http://example.com/item/23/" rel="nofollow">http://example.com/item/23/</a> to <a href="http://example.com/item" rel="nofollow">http://example.com/item</a> and asking for the item with id 23...</p> <p>I hope this makes sense at all >.&lt;... And that someone has some better examples at hand that what I have been able to find.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload