MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Rewrite URL  (Mono Support )

Viewed 9022 time(s), 2 post(s) 7/1/2012 1:50:24 PMby mdaly


7/1/2012 1:50:24 PM

I am trying to rewrite a url which will take users to the messages page, but I cannot get it to work.

In the linkbutton I have the following: NavigateUrl="/monox/Messages/"

In the web.config file i have included the following code: <rewrite url="^(.*)/Messages/$" to="$1${SocialNetworkingFolder}/Messages.aspx" />

Can anybody help with this as I am eager to get this working asap.

Thank you.
This content has not been rated yet. 
93 Reputation 8 Total posts


7/1/2012 4:47:06 PM
Hi mdaly,

you can try with this example:

<rewrite url="^(.*)/monox/message/(\?(.+))?$" to="$1/Pages/message.aspx/&amp;$3" name="Message" urlPattern="/monox/message/"/>

This content has not been rated yet. 
3016 Reputation 428 Total posts