C# Класс UrfIdentity.Web.Startup

Register types into the Autofac Inversion of Control (IOC) container. Autofac makes it easy to register common MVC types like the UrlHelper using the AutofacWebTypesModule. Feel free to change this to another IoC container of your choice but ensure that common MVC types like UrlHelper are registered. See http://autofac.readthedocs.org/en/latest/integration/aspnet.html.
Показать файл Открыть проект

Открытые методы

Метод Описание
Configuration ( IAppBuilder app ) : void
ConfigureAuth ( IAppBuilder app ) : void
ConfigureContainer ( IAppBuilder app ) : void
CreateApplicationRoleManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationRoleManager
CreateApplicationSignInManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationSignInManager
CreateApplicationUserManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationUserManager

Приватные методы

Метод Описание
CreateContainer ( ) : IContainer
RegisterApplicationData ( ContainerBuilder builder ) : void
RegisterDALs ( ContainerBuilder builder ) : void
RegisterIdentity ( ContainerBuilder builder ) : void
RegisterMvc ( ContainerBuilder builder, Assembly assembly ) : void
RegisterServices ( ContainerBuilder builder ) : void
SetMvcDependencyResolver ( IContainer container ) : void

Sets the ASP.NET MVC dependency resolver.

SetWebApiDependencyResolver ( IContainer container ) : void

Sets the ASP.NET WebApi dependency resolver.

Описание методов

Configuration() публичный Метод

public Configuration ( IAppBuilder app ) : void
app IAppBuilder
Результат void

ConfigureAuth() публичный Метод

public ConfigureAuth ( IAppBuilder app ) : void
app IAppBuilder
Результат void

ConfigureContainer() публичный статический Метод

public static ConfigureContainer ( IAppBuilder app ) : void
app IAppBuilder
Результат void

CreateApplicationRoleManager() публичный статический Метод

public static CreateApplicationRoleManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationRoleManager
options IdentityFactoryOptions
context IOwinContext
Результат ApplicationRoleManager

CreateApplicationSignInManager() публичный статический Метод

public static CreateApplicationSignInManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationSignInManager
options IdentityFactoryOptions
context IOwinContext
Результат ApplicationSignInManager

CreateApplicationUserManager() публичный статический Метод

public static CreateApplicationUserManager ( IdentityFactoryOptions options, IOwinContext context ) : ApplicationUserManager
options IdentityFactoryOptions
context IOwinContext
Результат ApplicationUserManager