Creating New MVC Project

image_pdfimage_print

new MVC project,

File > New  > Project > MVC 4 project.

1- Select  ASPX instead of  RAZOR Syntax,

2- Remove all of Other Content of  Directories

— How to add Controller and  return string,  Which URL

>> Add new Controller !!!    url   localhost/ControllerNAME/

 

 

– How MVC calling controller, ?

Global.asax Fil e     calling route table, after route table calling controllers

 

Route Config.cs  > Called by Global.asax