asp.net mvc

How to Install ASP.NET MVC using ASP.NET hosting

ASP.NET MVC

ASP.NET MVC provides a Model-View-Controller (MVC) framework for developing Web applications using Visual Studio. ASP.NET MVC also includes ASP.NET Web API, ASP.NET Web Pages, Web Optimization and NuGet, a free, open source developer focused package management system.

How to install ASP.NET MVC

ASP.NET MVC can be installed from the ASP.NET MVC home page (https://www.asp.net/mvc) using the Web Platform …

Learn more

MVC 3 application structure in Visual Studio 2010

When you create a new ASP.NET MVC 3 application with Visual Studio 2010, it automatically adds several files and directories to the project, as shown in the next picture.

Visual Studio 2010 basic MVC3 application

ASP.NET MVC 3 projects by default have six top-level directories and two files, shown in the next table:

Items
Description

App_Data directory
This directory is used to …

Learn more

How to use MVC 3 dialog options with Visual Studio 2010

After creating a new MVC 3 application (described in the article How to create a basic MVC 3 application with Visual Studio 2010), you’ll be presented with an intermediate dialog with some MVC-specific options for how the project should be created, as shown in the next picture. The options you select from this dialog can set …

Learn more

How to create a basic MVC 3 application with Visual Studio 2010

You can create a basic MVC 3 application, by following the next steps:

1. Begin by choosing File -> New -> Project

 

New Project selection with Visual Studio 2010

2. In the Installed Templates section on the left column of the New Project dialog, shown in the next picture select the …

Learn more

MVC 3 improvements in ASP.NET 4.0

ASP.NET MVC 3, abbreviated as MVC 3, shipped just 10 months after MVC 2 (described in the article Basic MVC 2 features), driven by the release date for Web Matrix. Its new features include:

– Expressive Views including the new Razor View Engine. For more details you can read the article Razor view engine in ASP.NET 4.0

–  .NET 4 Data …

Learn more

Advanced features in ASP.NET MVC 3

In MVC 3 you can find some big improvements in simplifying more sophisticated application-level tasks with support for dependency resolution and global action filters.

 

Dependency resolution

ASP.NET MVC 3 introduces a new concept called a dependency resolver, which greatly simplifies the use of dependency injection in your applications. This makes it easier to decouple application components, which makes them …

Learn more

Rich JavaScript support in MVC 3

ASP.NET MVC 3 adds some significant support for client-side development, following current standards for top quality JavaScript integration in the following aspects:

Unobtrusive JavaScript

MVC 3 supports unobtrusive JavaScript in two ways:

– Ajax helpers (such as Ajax.ActionLink and Ajax.BeginForm) render clean markup for the FORM tag, wiring up behavior leveraging extensible attributes (data- attributes) and jQuery.

Learn more

Razor view engine in ASP.NET 4.0

The default view engine used in MVC 2 is called Web Forms View Engine, because it uses the same ASPX/ASCX/MASTER files and syntax used in Web Forms. Razor was designed specifically as a view engine syntax. It has one main focus: code-focused templating for HTML generation.

To see the differences between two view engines two markups related to the …

Learn more

Basic MVC 2 features

ASP.NET MVC 2 was released in March 2010. Some of the main features in MVC 2 included:

– UI helpers with automatic scaffolding with customizable templates

– Attribute-based Model validation on both client and server

– Strongly-typed HTML helpers

– Improved Visual Studio tooling

– Support for partitioning large applications into areas

Learn more

MVC (Model-View-Controller)

MVC is a standard architectural design pattern that many developers are familiar with. The pattern helps developers to create applications that separate the different aspects of the application (input logic, business logic, and user interface UI logic), while providing a loose coupling between these elements The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern …

Learn more