Last post Aug 26, 2010 09:54 AM by sujee_fdo
Aug 26, 2010 06:04 AM|sujee_fdo|LINK
i wanted find find out a way to re-write the url in my asp.net site,
for example i have a page call "SearchResultsByModel.aspx" and when it comes to the query string on this page its like bellow
what i want to do is i want to re-write this url in to
is that possible ? i'am being trying so hard to do this ,but i could not find out a way to do this , any idea on this ?
Aug 26, 2010 06:21 AM|malav_rajendra|LINK
Aug 26, 2010 08:16 AM|sujee_fdo|LINK
Hi, its bit hard to find out the exact code that i need, i've already tested with different sample code on the previous links , but nothing worked out for me
example bellow code i've added to the global.asax
void Application_BeginRequest(object sender, EventArgs e)
string fullOrigionalpath = Request.Url.ToString();
i am getting bellow error
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /mybuzz/Search.aspx/Convertible
just dont knwo the the anser for this
Aug 26, 2010 09:01 AM|malav_rajendra|LINK
You can create your custom HttpModule then map that module to ASpnet_Isapi.dll on IIS.It will work.
dont forget to register your module to web.config.
Aug 26, 2010 09:37 AM|malav_rajendra|LINK
this link may help you.
Aug 26, 2010 09:49 AM|sujee_fdo|LINK
Hi many thanks for the sample articles ,
i've already configured this http module
but the problme is i dont know how to modify the rule in order to make it work according to my requirement,
they have showed us using bellow sample rule in our web config file ,
<rewrite url="/tags/(.+)" to="/tagcloud.aspx?tag=$1" />
but i dont know how to modify this , could some one help me to modify this according my requirement .... sorry i am really new to asp.net .. trying to learn ...
Aug 26, 2010 09:54 AM|sujee_fdo|LINK
my url looks like this
and i want to re-write this in to
is this possible using this http://urlrewriter.net/ library ? and how do i write a rule for that ....
all the configuration is done, just dont know the how to write a specific rule according my requirement