M# Tutorials

Learn to build .NET applications with M#. Our step-by-step tutorials will get you up-to-speed rapidly.
If you already know ASP.NET and C#, you can master M# in a week or two.

URL of a Page

M# makes it very easy to specify a redirect URL. M# provides a list of all the pages available in the project. M# also allows you to define a custom URL using the “URL” property of “Navigate” action for a button (Button actions are explained in a separate chapter).

Note: You should avoid hardcoding the page URLs available inside your website. M# also discourages long pages hierarchies to keep the URLs shot and easily readable.

Below are the options available to specify a page URL:

The above option must always be used when you want to redirect to a page available inside the project. M# updates these URL’s automatically if you change hierarchy or keys / Names of the pages. This helps eliminating the need of managing URLs for navigation and broken URLs.

Using the option shown above you can specify a dynamic or static URL. This option is useful when you are using custom URLs, especially dynamic urls e.g. content pages or when using URL re-writing.