Skip to main content

System.Web.Mvc Namespace

System.Web.Mvc Namespace


  ClassDescription
Public class AcceptVerbsAttribute Represents an attribute that specifies which HTTP verbs an action method will respond to.
Public class ActionDescriptor Provides information about an action method, such as its name, controller, parameters, attributes, and filters.
Public class ActionExecutedContext Provides the context for the ActionExecuted method of the ActionFilterAttribute class.
Public class ActionExecutingContext Provides the context for the ActionExecuting method of the ActionFilterAttribute class.
Public class ActionFilterAttribute Represents the base class for filter attributes.
Public class ActionMethodSelectorAttribute Represents an attribute that is used to influence the selection of an action method.
Public class ActionNameAttribute Represents an attribute that is used for the name of an action.
Public class ActionNameSelectorAttribute Represents an attribute that affects the selection of an action method.
Public class ActionResult Represents the result of an action method.
Public class AdditionalMetadataAttribute Provides a class that implements the IMetadataAware interface in order to support additional metadata.
Public class AjaxHelper Represents support for rendering HTML in AJAX scenarios within a view.
Public class AjaxHelper<TModel> Represents support for rendering HTML in AJAX scenarios within a strongly typed view.
Public class AjaxRequestExtensions Represents a class that extends the HttpRequestBase class by adding the ability to determine whether an HTTP request is an AJAX request.
Public class AllowAnonymousAttribute Represents an attribute that marks controllers and actions to skip the AuthorizeAttribute during authorization.
Public class AllowHtmlAttribute Allows a request to include HTML markup during model binding by skipping request validation for the property. (It is strongly recommended that your application explicitly check all models where you disable request validation in order to prevent script exploits.)
Public class AreaRegistration Provides a way to register one or more areas in an ASP.NET MVC application.
Public class AreaRegistrationContext Encapsulates the information that is required in order to register an area within an ASP.NET MVC application.
Public class AssociatedMetadataProvider Provides an abstract class to implement a metadata provider.
Public class AssociatedValidatorProvider Provides an abstract class for classes that implement a validation provider.
Public class AsyncController Provided for backward compatibility with ASP.NET MVC 3.
Public class AsyncTimeoutAttribute Represents an attribute that is used to set the timeout value, in milliseconds, for an asynchronous method.
Public class AuthorizationContext Encapsulates the information that is required for using an AuthorizeAttribute attribute.
Public class AuthorizeAttribute Specifies that access to a controller or action method is restricted to users who meet the authorization requirement.
Public class BindAttribute Represents an attribute that is used to provide details about how model binding to a parameter should occur.
Public class BuildManagerCompiledView Represents the base class for views that are compiled by the BuildManager class before being rendered by a view engine.
Public class BuildManagerViewEngine Provides a base class for view engines.
Public class ByteArrayModelBinder Maps a browser request to a byte array.
Public class CachedAssociatedMetadataProvider<TModelMetadata> Provides an abstract class to implement a cached metadata provider.
Public class CachedDataAnnotationsMetadataAttributes Provides a container to cache System.ComponentModel.DataAnnotations attributes.
Public class CachedDataAnnotationsModelMetadata Provides a container to cache DataAnnotationsModelMetadata.
Public class CachedDataAnnotationsModelMetadataProvider Implements the default cached model metadata provider for ASP.NET MVC.
Public class CachedModelMetadata<TPrototypeCache> Provides a container for cached metadata.
Public class CancellationTokenModelBinder Provides a mechanism to propagates notification that model binder operations should be canceled.
Public class ChildActionOnlyAttribute Represents an attribute that is used to indicate that an action method should be called only as a child action.
Public class ChildActionValueProvider Represents a value provider for values from child actions.
Public class ChildActionValueProviderFactory Represents a factory for creating value provider objects for child actions.
Public class ClientDataTypeModelValidatorProvider Returns the client data-type model validators.
Public class CompareAttribute Obsolete. Provides an attribute that compares two properties of a model.
Public class ContentResult Represents a user-defined content type that is the result of an action method.
Public class Controller Provides methods that respond to HTTP requests that are made to an ASP.NET MVC Web site.
Public class ControllerActionInvoker Represents a class that is responsible for invoking the action methods of a controller.
Public class ControllerBase Represents the base class for all MVC controllers.
Public class ControllerBuilder Represents a class that is responsible for dynamically building a controller.
Public class ControllerContext Encapsulates information about an HTTP request that matches specified RouteBase and ControllerBase instances.
Public class ControllerDescriptor Encapsulates information that describes a controller, such as its name, type, and actions.
Public class ControllerInstanceFilterProvider Adds the controller to the FilterProviderCollection instance.
Public class CustomModelBinderAttribute Represents an attribute that invokes a custom model binder.
Public class DataAnnotationsModelMetadata Provides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, and for the DataAnnotationsModelValidator class for a data model.
Public class DataAnnotationsModelMetadataProvider Implements the default model metadata provider for ASP.NET MVC.
Public class DataAnnotationsModelValidator Provides a model validator.
Public class DataAnnotationsModelValidator<TAttribute> Provides a model validator for a specified validation type.
Public class DataAnnotationsModelValidatorProvider Implements the default validation provider for ASP.NET MVC.
Public class DataErrorInfoModelValidatorProvider Provides a container for the error-information model validator.
Public class DefaultControllerFactory Represents the controller factory that is registered by default.
Public class DefaultModelBinder Maps a browser request to a data object. This class provides a concrete implementation of a model binder.
Public class DefaultViewLocationCache Represents a memory cache for view locations.
Public class DependencyResolver Provides a registration point for dependency resolvers that implement IDependencyResolver or the Common Service Locator IServiceLocator interface.
Public class DependencyResolverExtensions Provides a type-safe implementation of GetService and GetServices.
Public class DictionaryValueProvider<TValue> Represents the base class for value providers whose values come from a collection that implements the IDictionary<TKey, TValue> interface.
Public class EmptyModelMetadataProvider Provides an empty metadata provider for data models that do not require metadata.
Public class EmptyModelValidatorProvider Provides an empty validation provider for models that do not require a validator.
Public class EmptyResult Represents a result that does nothing, such as a controller action method that returns nothing.
Public class ExceptionContext Provides the context for using the HandleErrorAttribute class.
Public class ExpressionHelper Provides a helper class to get the model name from an expression.
Public class FieldValidationMetadata Provides a container for client-side field validation metadata.
Public class FileContentResult Sends the contents of a binary file to the response.
Public class FilePathResult Sends the contents of a file to the response.
Public class FileResult Represents a base class that is used to send binary file content to the response.
Public class FileStreamResult Sends binary content to the response by using a Stream instance.
Public class Filter Represents a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.
Public class FilterAttribute Represents the base class for action and result filter attributes.
Public class FilterAttributeFilterProvider Defines a filter provider for filter attributes.
Public class FilterInfo Encapsulates information about the available action filters.
Public class FilterProviderCollection Represents the collection of filter providers for the application.
Public class FilterProviders Provides a registration point for filters.
Public class FormCollection Contains the form value providers for the application.
Public class FormContext Encapsulates information that is required in order to validate and process the input data from an HTML form.
Public class FormValueProvider Represents a value provider for form values that are contained in a NameValueCollection object.
Public class FormValueProviderFactory Represents a class that is responsible for creating a new instance of a form-value provider object.
Public class GlobalFilterCollection Represents a class that contains all the global filters.
Public class GlobalFilters Represents the global filter collection.
Public class HandleErrorAttribute Represents an attribute that is used to handle an exception that is thrown by an action method.
Public class HandleErrorInfo Encapsulates information for handling an error that was thrown by an action method.
Public class HiddenInputAttribute Represents an attribute that is used to indicate whether a property or field value should be rendered as a hidden input element.
Public class HtmlHelper Supports the rendering of HTML controls in a view.
Public class HtmlHelper<TModel> Represents support for rendering HTML controls in a strongly typed view.
Public class HttpDeleteAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP DELETE requests.
Public class HttpFileCollectionValueProvider Represents a value provider to use with values that come from a collection of HTTP files.
Public class HttpFileCollectionValueProviderFactory Represents a class that is responsible for creating a new instance of an HTTP file collection value provider object.
Public class HttpGetAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP GET requests.
Public class HttpHeadAttribute Specifies that the HTTP request must be the HTTP HEAD method.
Public class HttpNotFoundResult Defines an object that is used to indicate that the requested resource was not found.
Public class HttpOptionsAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP OPTIONS requests.
Public class HttpPatchAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP PATCH requests.
Public class HttpPostAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP POST requests.
Public class HttpPostedFileBaseModelBinder Binds a model to a posted file.
Public class HttpPutAttribute Represents an attribute that is used to restrict an action method so that the method handles only HTTP PUT requests.
Public class HttpRequestExtensions Extends the HttpRequestBase class that contains the HTTP values that were sent by a client during a Web request.
Public class HttpStatusCodeResult Provides a way to return an action result with a specific HTTP response status code and description.
Public class HttpUnauthorizedResult Represents the result of an unauthorized HTTP request.
Public class JavaScriptResult Sends JavaScript content to the response.
Public class JQueryFormValueProvider The JQuery Form Value provider is used to handle JQuery formatted data in request Forms.
Public class JQueryFormValueProviderFactory Provides the necessary ValueProvider to handle JQuery Form data.
Public class JsonResult Represents a class that is used to send JSON-formatted content to the response.
Public class JsonValueProviderFactory Enables action methods to send and receive JSON-formatted text and to model-bind the JSON text to parameters of action methods.
Public class LinqBinaryModelBinder Maps a browser request to a LINQ Binary object.
Public class MaxLengthAttributeAdapter Provides an adapter for the MaxLengthAttribute attribute.
Public class MinLengthAttributeAdapter Provides an adapter for the MinLengthAttribute attribute.
Public class ModelBinderAttribute Represents an attribute that is used to associate a model type to a model-builder type.
Public class ModelBinderDictionary Represents a class that contains all model binders for the application, listed by binder type.
Public class ModelBinderProviderCollection No content here will be updated; please do not add material here.
Public class ModelBinderProviders Provides a container for model binder providers.
Public class ModelBinders Provides global access to the model binders for the application.
Public class ModelBindingContext Provides the context in which a model binder functions.
Public class ModelError Represents an error that occurs during model binding.
Public class ModelErrorCollection A collection of ModelError instances.
Public class ModelMetadata Provides a container for common metadata, for the ModelMetadataProvider class, and for the ModelValidator class for a data model.
Public class ModelMetadataProvider Provides an abstract base class for a custom metadata provider.
Public class ModelMetadataProviders Provides a container for the current ModelMetadataProvider instance.
Public class ModelState Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself.
Public class ModelStateDictionary Represents the state of an attempt to bind a posted form to an action method, which includes validation information.
Public class ModelValidationResult Provides a container for a validation result.
Public class ModelValidator Provides a base class for implementing validation logic.
Public class ModelValidatorProvider Provides a list of validators for a model.
Public class ModelValidatorProviderCollection No content here will be updated; please do not add material here.
Public class ModelValidatorProviders Provides a container for the current validation provider.
Public class MultiSelectList Represents a list of items that users can select more than one item from.
Public class MvcFilter When implemented in a derived class, provides a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.
Public class MvcHandler Selects the controller that will handle an HTTP request.
Public class MvcHtmlString Represents an HTML-encoded string that should not be encoded again.
Public class MvcHttpHandler Verifies and processes an HTTP request.
Public class MvcRouteHandler Creates an object that implements the IHttpHandler interface and passes the request context to it.
Public class MvcWebRazorHostFactory Creates instances of MvcWebPageRazorHost files.
Public class NameValueCollectionExtensions Extends a NameValueCollection object so that the collection can be copied to a specified dictionary.
Public class NameValueCollectionValueProvider Represents the base class for value providers whose values come from a NameValueCollection object.
Public class NoAsyncTimeoutAttribute Provides a convenience wrapper for the AsyncTimeoutAttribute attribute.
Public class NonActionAttribute Represents an attribute that is used to indicate that a controller method is not an action method.
Public class OutputCacheAttribute Represents an attribute that is used to mark an action method whose output will be cached.
Public class OverrideActionFiltersAttribute Represents the attributes associated with the override filter.
Public class OverrideAuthenticationAttribute Represents the attributes associated with the authentication.
Public class OverrideAuthorizationAttribute Represents the attributes associated with the authorization.
Public class OverrideExceptionFiltersAttribute Represents the attributes associated with the exception filter.
Public class OverrideResultFiltersAttribute Represents the attributes associated with the result filter.
Public class ParameterBindingInfo Encapsulates information for binding action-method parameters to a data model.
Public class ParameterDescriptor Contains information that describes a parameter.
Public class PartialViewResult Represents a base class that is used to send a partial view to the response.
Public class PreApplicationStartCode Provides a registration point for ASP.NET Razor pre-application start code.
Public class QueryStringValueProvider Represents a value provider for query strings that are contained in a NameValueCollection object.
Public class QueryStringValueProviderFactory Represents a class that is responsible for creating a new instance of a query-string value-provider object.
Public class RangeAttributeAdapter Provides an adapter for the RangeAttribute attribute.
Public class RazorView Represents the class used to create views that have Razor syntax.
Public class RazorViewEngine Represents a view engine that is used to render a Web page that uses the ASP.NET Razor syntax.
Public class RedirectResult Controls the processing of application actions by redirecting to a specified URI.
Public class RedirectToRouteResult Represents a result that performs a redirection by using the specified route values dictionary.
Public class ReflectedActionDescriptor Contains information that describes a reflected action method.
Public class ReflectedControllerDescriptor Contains information that describes a reflected controller.
Public class ReflectedParameterDescriptor Contains information that describes a reflected action-method parameter.
Public class RegularExpressionAttributeAdapter Provides an adapter for the RegularExpressionAttribute attribute.
Public class RemoteAttribute Provides an attribute that uses the jQuery validation plug-in remote validator.
Public class RequiredAttributeAdapter Provides an adapter for the RequiredAttributeAttribute attribute.
Public class RequireHttpsAttribute Represents an attribute that forces an unsecured HTTP request to be re-sent over HTTPS.
Public class ResultExecutedContext Provides the context for the OnResultExecuted method of the ActionFilterAttribute class.
Public class ResultExecutingContext Provides the context for the OnResultExecuting method of the ActionFilterAttribute class.
Public class RouteAreaAttribute Defines the area to set for all the routes defined in this controller.
Public class RouteAttribute Place on a controller or action to expose it directly via a route. When placed on a controller, it applies to actions that do not have any System.Web.Mvc.RouteAttribute’s on them.
Public class RouteCollectionAttributeRoutingExtensions Provides routing extensions for route collection attribute.
Public class RouteCollectionExtensions Extends a RouteCollection object for MVC routing.
Public class RouteDataValueProvider Represents a value provider for route data that is contained in an object that implements the IDictionary<TKey, TValue> interface.
Public class RouteDataValueProviderFactory Represents a factory for creating route-data value provider objects.
Public class RoutePrefixAttribute Annotates a controller with a route prefix that applies to all actions within the controller.
Public class SelectList Represents a list that lets users select one item.
Public class SelectListGroup Represents the optgroup HTML element and its attributes. In a select list, multiple groups with the same name are supported. They are compared with reference equality.
Public class SelectListItem Represents the selected item in an instance of the SelectList class.
Public class SessionStateAttribute Specifies the session state of the controller.
Public class SessionStateTempDataProvider Provides session-state data to the current TempDataDictionary object.
Public class StringLengthAttributeAdapter Provides an adapter for the StringLengthAttribute attribute.
Public class TempDataDictionary Represents a set of data that persists only from one request to the next.
Public class TemplateInfo Encapsulates information about the current template context.
Public class UrlHelper Contains methods to build URLs for ASP.NET MVC within an application.
Public class UrlParameter Represents an optional parameter that is used by the MvcHandler class during routing.
Public class ValidatableObjectAdapter Provides an object adapter that can be validated.
Public class ValidateAntiForgeryTokenAttribute Represents an attribute that is used to prevent forgery of a request.
Public class ValidateInputAttribute Represents an attribute that is used to mark action methods whose input must be validated.
Public class ValueProviderCollection Represents the collection of value-provider objects for the application.
Public class ValueProviderDictionary Obsolete. Note: This API is now obsolete.Represents a dictionary of value providers for the application.
Public class ValueProviderFactories Represents a container for value-provider factory objects.
Public class ValueProviderFactory Represents a factory for creating value-provider objects.
Public class ValueProviderFactoryCollection Represents the collection of value-provider factories for the application.
Public class ValueProviderResult Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself.
Public class ViewContext Encapsulates information that is related to rendering a view.
Public class ViewDataDictionary Represents a container that is used to pass data between a controller and a view.
Public class ViewDataDictionary<TModel> Represents a container that is used to pass strongly typed data between a controller and a view.
Public class ViewDataInfo Encapsulates information about the current template content that is used to develop templates and about HTML helpers that interact with templates.
Public class ViewEngineCollection Represents a collection of view engines that are available to the application.
Public class ViewEngineResult Represents the result of locating a view engine.
Public class ViewEngines Represents a collection of view engines that are available to the application.
Public class ViewMasterPage Represents the information that is needed to build a master view page.
Public class ViewMasterPage<TModel> Represents the information that is required in order to build a strongly typed master view page.
Public class ViewPage Represents the properties and methods that are needed to render a view as a Web Forms page.
Public class ViewPage<TModel> Represents the information that is required in order to render a strongly typed view as a Web Forms page.
Public class ViewResult Represents a class that is used to render a view by using an IView instance that is returned by an IViewEngine object.
Public class ViewResultBase Represents a base class that is used to provide the model to the view and then render the view to the response.
Public class ViewStartPage Provides an abstract class that can be used to implement a view start (master) page.
Public class ViewTemplateUserControl Provides a container for TemplateInfo objects.
Public class ViewTemplateUserControl<TModel> Provides a container for TemplateInfo objects.
Public class ViewType Represents the type of a view.
Public class ViewUserControl Represents the information that is needed to build a user control.
Public class ViewUserControl<TModel> Represents the information that is required in order to build a strongly typed user control.
Public class VirtualPathProviderViewEngine Represents an abstract base-class implementation of the IViewEngine interface.
Public class WebFormView Represents the information that is needed to build a Web Forms page in ASP.NET MVC.
Public class WebFormViewEngine Represents a view engine that is used to render a Web Forms page to the response.
Public class WebViewPage Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax.
Public class WebViewPage<TModel> Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax.

Comments

Popular posts from this blog

NHibernate QueryOver Class And Projection....

Introduction The ICriteria API is NHibernate's implementation of Query Object . NHibernate 3.0 introduces the QueryOver api, which combines the use of Extension Methods and Lambda Expressions (both new in .Net 3.5) to provide a statically typesafe wrapper round the ICriteria API. QueryOver uses Lambda Expressions to provide some extra syntax to remove the 'magic strings' from your ICriteria queries. So, for example: .Add(Expression.Eq("Name", "Smith")) becomes: .Where<Person>(p => p.Name == "Smith") With this kind of syntax there are no 'magic strings', and refactoring tools like 'Find All References', and 'Refactor->Rename' work perfectly. Note: QueryOver is intended to remove the references to 'magic strings' from the ICriteria API while maintaining it's opaqueness. It is not a LINQ provider; NHibernate 3.0 has a built-in

Passing Data from View to Controller Using Ajax Example Jquery

Jquery       $ ( '#btnSaveComments' ). click ( function () { var comments = $ ( '#txtComments' ). val (); var selectedId = $ ( '#hdnSelectedId' ). val (); $ . ajax ({ url : '<%: Url.Action("SaveComments")%>' , data : { 'id' : selectedId , 'comments' : comments }, type : "post" , cache : false , success : function ( savingStatus ) { $ ( "#hdnOrigComments" ). val ( $ ( '#txtComments' ). val ()); $ ( '#lblCommentsNotification' ). text ( savingStatus ); }, error : function ( xhr , ajaxOptions , thrownError ) { $ ( '#lblCommentsNotification' ). text ( "Error encountered while saving the comments." ); } }); });     Controller    [ HttpPost ] public ActionResult SaveComments ( int id , string com

The Core Concepts of Angular -- Jithin CJ

I started to learn angular from 2016, I was very curious about the celibacy of this super hero. From my initial understanding is like, the power of angular is only limited on " html decoration "  But this JavaScript framework has the potential to re-define conventional html-css patterns . Modern browsers support for things like modules, classes, lambdas, generators, etc. These features fundamentally transform the JavaScript programming experience. But big changes aren't constrained merely to JavaScript. Web Components are on the horizon. The term Web Components usually refers to a collection of four related W3C specifications: Custom Elements - Enables the extension of HTML through custom tags.  HTML Imports - Enables packaging of various resources (HTML, CSS, JS, etc.).  Template Element - Enables the inclusion of inert HTML in a document.  Shadow DOM - Enables encapsulation of DOM and CSS.  Developers can create fully encapsulated (Shadow DOM) declar