Using ASP.NET routing to serve static files
Can ASP.Net routing (not MVC) be used to serve static files?
Can ASP.Net routing (not MVC) be used to serve static files?
I hope that you can help me with the below problem.
How do I rewrite a URL in ASP.NET?
I am using the .NET 3.5 SP1 framework and I’ve implemented URL routing in my application. I was getting javascript errors:
I want to test if a URL is part of the routes defined in the Global.asax. This is what I have:
I am making a making a new asp.net web forms site and would like to beautify my urls – I want to accept a url like this one “www.mysite.com/1-2,3” and turn it one like this “www.mysite.com/page.aspx?a=1&b=2&c=3”. Which option is best for this task – IIS7 Url Rewriting or Routing in terms of performance and ease of maintenance. Btw I am planning to use medium trust shared hosting IIS7, maybe 6.
What is best solution to serve ASP.NET web pages without aspx extension? I want to make http://www.mydomain.com/mypage instead of http://www.mydomain.com/mypage.aspx
I have an ASP.NET 4.0 application that implements URL routing. This gives me page URLs with no extension (e.g. /Articles/{title})
I will try to explain this the best I can.
I am having trouble with Html.ActionLink when I have a route that takes more than one parameter. For example, given the following routes defined in my Global.asax file: