In this post we will make a sample application using Asp.Net MVC4.
Also you can check out:
Literal content ('') is not allowed within a 'System.Web.UI.HtmlControls.HtmlTableCellCollection
What are user controls and why they are very useful?
Regular expression validator for image files in Asp.Net
Follow below steps to create a demo asp.net mvc4 application.
Step-1:
Open Visual Studio 2010, then go to File -> New Project. This will open the New Project
dialog box. From there make sure .Net Framework 4 is selected. Then select the Visual C# ->
Web templates list. From the web template lists, Select ASP.NET MVC 4 Web Application and
give a name as shown in the figure below:
Step-2:
Then from the New Asp.Net MVC Project dialog box select Internet Application. And also chose Razor engine. Also you can select a unit test project and click on OK. As shown in the figure below:
Now your demo application is ready. Also check out Asp.Net MVC vs Classic Asp.Net.
Also you can check out:
Literal content ('') is not allowed within a 'System.Web.UI.HtmlControls.HtmlTableCellCollection
What are user controls and why they are very useful?
Regular expression validator for image files in Asp.Net
Follow below steps to create a demo asp.net mvc4 application.
Step-1:
Open Visual Studio 2010, then go to File -> New Project. This will open the New Project
dialog box. From there make sure .Net Framework 4 is selected. Then select the Visual C# ->
Web templates list. From the web template lists, Select ASP.NET MVC 4 Web Application and
give a name as shown in the figure below:
Step-2:
Then from the New Asp.Net MVC Project dialog box select Internet Application. And also chose Razor engine. Also you can select a unit test project and click on OK. As shown in the figure below:
Now your demo application is ready. Also check out Asp.Net MVC vs Classic Asp.Net.