How to hide a .aspx extension in browser using asp.net c#?

Posted by Prabu_Spark under ASP.NET on 5/26/2013 | Points: 10 | Views : 4524 | Status : [Member] | Replies : 4
Hi sir,
Tell me the steps to hide a .aspx extension in browser using asp.net c#. I am new to dotnet domain, kindly give me some
idea to do this.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: Surajemo on: 5/26/2013 [Member] Starter | Points: 25

Up
0
Down
. Use MVC pattern (recommend). Example: http://www.asp.net/mvc/tutorials/overview/understanding-models-views-and-controllers-cs[^]

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Murugavelmsc on: 5/26/2013 [Member] Starter | Points: 25

Up
0
Down
Use urlrouting

Regards,
Murugavel S
murugavel.sadagopan@gmail.com
http://murugavelmsc.blogspot.in/

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabu_Spark on: 5/27/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Surajemo ,
I am using dotnet framework 2.0, i dont know url routing and mvc concept. Kindly give me the solution
for framework 2.0 without using mvc concept.


Thank you,

With regards,
J.Prabu.
[Email:prbspark@gmail.com]

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Learningtorise on: 5/27/2013 [Member] Starter | Points: 25

Up
0
Down
Hi J.Prabu.,

Check Approaches given at below link to perform Extension-Less URL rewriting. Explained superb.
Hope this help..

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

http://hashtagakash.wordpress.com/

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response