Posted on: 6/25/2015 10:23:22 PM | Views : 679

I am attempting to access whatever is entered after the domain name for my website.  I have been advised to create a Global.asax file with:
 
    public class Global : System.Web.HttpApplication
    {
        void RegisterRouters(RouteCollection routes)
        {
            routes.MapPageRoute("MyRoute", "{post}", "~/default.aspx");
        } 
       
        protected void Application_Start(object sender, EventArgs e)
        {
            RegisterRouters(RouteTable.Routes);
   &nbs ...

Go to the complete details ...