Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

route( ) in mvc code example

Example: route config in mvc

Click to copy
void Application_Start(object sender, EventArgs e)   
{  
    // Code that runs on application startup  
       
    System.Web.Routing.RouteTable.Routes.MapPageRoute("Home","Home/Index","~/Default.aspx");  
  
     System.Web.Routing.RouteTable.Routes.MapPageRoute("About","Home/About-WDI","~/About.aspx");  
  
}

Tags:

Misc Example

Related

js replace g code example how to split a string to a list in python code example css animated underline code example how to create environment variable in react js code example how to get key from value in dictionary python code example css hover transition bootstrap code example check if click is outside element code example javascript addeventlistener on load code example mul asm att code example nested stl in a class c++ code example html hr colour code example material ui layout grid code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy