Namespace classes in ASP.NET MVC

What are the namespace classes used in ASP.NET MVC?



ASP.NET MVC uses the namespace classes that as follows:

-System.Web.Mvc namespace: this consists of classes and interfaces that follows MVC pattern to create web applications. This includes the controllers, libraries, actions, views, models.

-System.Web.Mvc.Ajax namespace: this consists of classes that support the AJAX scripts and used in the web applications. This also include the AJAX related settings and options.

-System.Web.Mvc.Async namespace: this consists of classes and interfaces that provide asynchronous actions in the web applications.

-System.Web.Mvc.Html namespace: this consists of classes in the form of helper application and follows the MVC pattern. This includes the forms, controls, links, views and validations.
Post your comment

    Discussion

  • Which are the namespaces used in ASP.NET MVC? -Namespaces (07/15/12)
  • -All the namespaces and classes used for ASP.NET MVC reside in the System.Web.Mvc assembly.

    -System.Web.Mvc namespace

    This namespace provides classes and interfaces that support the MVC pattern for ASP.NET Web applications. This namespace also contains classes that manage controllers, controller factories, partial views, action results, views and model binders.

    -System.Web.Mvc.Ajax namespace

    This namespace provides classes that support Ajax scripts in an ASP.NET MVC application. The namespace also provides support of Ajax scripts and Ajax option settings.

    -System.Web.Mvc.Async namespace

    This namespace provides classes and interfaces that support asynchronous actions in an ASP.NET MVC application.

    -System.Web.Mvc.Html namespace

    This namespace provides classes that help in rendering HTML controls in an MVC application. The namespace contains classes providing forms, input controls, links, partial views, and validation support.