1. Multi-Targeting Support (VS 2010 and .NET 4 Series) from ScottGu's Blog
Microsoft's Scott Guthrie talks about the improvements in VS 2010 with regards to multi targeting of Dot Net version's.
2. Distributed Caching On The Path To Scalability
An article in MSDN, discussing pretty much everything major about distributed caching for large size applications.
3. Cloud Computing with Amazon Web Services
All that you need to know about cloud computing with Amazon web services.
That's all for this week.
Showing posts with label Scott Guthrie. Show all posts
Showing posts with label Scott Guthrie. Show all posts
Saturday, August 29, 2009
Tuesday, August 18, 2009
Extension less URLs in ASP.Net
Problem Statement
Your Web Server : IIS 6 or below
You need extension less URLs, like they have in twitter, eg. www.twitter.com/beenish ,. If you notice, it doesn't have any extension like PHP or ASPX, so IIS won't know which dll to call and execute this request, it will simply show you a Page not found - 404 error.
Note : IIS7 supports this feature and Apache has a very simple rewrite module for it.
Solution
Your best bet would be to use an ISAPI rewriter. Ionic ISAPI rewrite is probably the best free one out there. The one drawback it has is the regex formats used, which are a little different from the ones used in Apache, so if you are use to Apache's rewrite module, you might have to make some adjustments. I found it's installation to be quite simple.
You can find all the help at their site.
Apart from this, Scott Guthrie has discussed some nice tips and tricks for URL rewriting, which you can check here : URL Rewriting - Tips/ Tricks
Your Web Server : IIS 6 or below
You need extension less URLs, like they have in twitter, eg. www.twitter.com/beenish ,. If you notice, it doesn't have any extension like PHP or ASPX, so IIS won't know which dll to call and execute this request, it will simply show you a Page not found - 404 error.
Note : IIS7 supports this feature and Apache has a very simple rewrite module for it.
Solution
Your best bet would be to use an ISAPI rewriter. Ionic ISAPI rewrite is probably the best free one out there. The one drawback it has is the regex formats used, which are a little different from the ones used in Apache, so if you are use to Apache's rewrite module, you might have to make some adjustments. I found it's installation to be quite simple.
You can find all the help at their site.
Apart from this, Scott Guthrie has discussed some nice tips and tricks for URL rewriting, which you can check here : URL Rewriting - Tips/ Tricks
Labels:
ASP.Net,
Extension less URL,
Scott Guthrie,
URL rewriting
Subscribe to:
Posts (Atom)