ASP.NET Web Pages 2 Reference

The topics in this section describe the public namespaces, classes, and interfaces that support ASP.NET Web Pages with Razor syntax.

ASP.NET Web Pages with Razor syntax is a simple programming syntax for embedding server-based code in an ASP.NET Web page. It is included as the programming framework in Microsoft WebMatrix.

Note

Many of the types in these namespaces exist to support the ASP.NET Web Pages infrastructure. For example, many types support the parser that analyzes the content of Razor pages and extracts the server code from the other markup. These types are marked as infrastructure.

Namespace

Description

Microsoft.Web.Infrastructure

Contains classes used for internal purposes in ASP.NET Web Pages with Razor syntax. These classes are not intended for use in your code.

Microsoft.Web.Infrastructure.DynamicModuleHelper

Contains classes used for internal purposes in ASP.NET Web Pages with Razor syntax. These classes are not intended for use in your code.

Microsoft.Web.Infrastructure.DynamicValidationHelper

Contains classes used for internal purposes in ASP.NET Web Pages with Razor syntax. These classes are not intended for use in your code.

Microsoft.Web.WebPages.OAuth

Contains classes that are used to work with OAuth and OpenID authentication.

System.Web.Helpers

Contains classes and interfaces that support the core helpers for ASP.NET Razor.

System.Web.Mvc

Contains classes and interfaces that support the ASP.NET model-view-controller (MVC) framework for creating Web applications. This namespace includes classes that represent controllers, controller factories, action results, views, partial view, and model binders.

System.Web.Razor

Contains classes that are used to define the Razor templating engine, which parses and compiles Razor language syntax.

System.Web.Razor.Editor

Contains classes that are used to support editing functions for Razor syntax.

System.Web.Razor.Generator

Contains classes that are used to generate source code from a Razor template.

System.Web.Razor.Parser

Contains classes that are used to parse Razor syntax.

System.Web.Razor.Parser.SyntaxTree

Contains classes that are used to model the structure of Razor documents.

System.Web.Razor.Text

Contains classes that are used to manage input text in the Razor parser.

System.Web.Razor.Tokenizer

Contains classes that are used to support the Razor parser.

System.Web.Razor.Tokenizer.Symbols

Contains classes that are used to support the Razor parser.

System.Web.WebPages

Contains Razor framework classes.

System.Web.WebPages.Administration

Contains code and markup for managing Razor pages.

System.Web.WebPages.Administration.PackageManager

Contains classes for managing NuGet packages.

System.Web.WebPages.Deployment

Contains classes that are used to deploy ASP.NET Web Pages sites.

System.Web.WebPages.Html

Contains classes that are used in Razor pages to manage and render HTML elements.

System.Web.WebPages.Instrumentation

Contains classes used in instrumenting Razor pages.

System.Web.WebPages.Razor

Contains classes that support the Razor templating language in ASP.NET Web Pages sites.

System.Web.WebPages.Razor.Configuration

Contains classes that are used to modify the ASP.NET Web Pages sections of configuration files.

System.Web.WebPages.Scope

Contains classes that provide scoped storage features for ASP.NET Web Pages.

WebMatrix.Data

Contains classes that are used to manage data from databases for ASP.NET Web Pages.

WebMatrix.WebData

Contains classes that manage membership (authentication) for ASP.NET Web Pages.

See Also

Other Resources

ASP.NET Web Pages with Razor Syntax