Autofac官方文档(二十)【应用集成】

    ASP.NET
        OWIN
            Quick Start
            Dependency Injection in Middleware
            Controlling Middleware Order
            Example
        MVC
            Quick Start
            Register Controllers
            Set the Dependency Resolver
            Register Model Binders
            Register Web Abstractions
            Enable Property Injection for View Pages
            Enable Property Injection for Action Filters
            Enable Injection of Action Parameters
            OWIN Integration
            Using “Plugin” Assemblies
            Using the Current Autofac DependencyResolver
            Glimpse Integration
            Unit Testing
            Example
        Web API
            Quick Start
            Get the HttpConfiguration
            Register Controllers
            Set the Dependency Resolver
            Provide Filters via Dependency Injection
                Register the Filter Provider
                Implement the Filter Interface
                Register the Filter
                Filter Overrides
                Why We Use Non-Standard Filter Interfaces
                Standard Web API Filter Attributes are Singletons
                Instance Filters Don’t Get Injected
            Provide Model Binders via Dependency Injection
                Register the Binder Provider
                Register Model Binders
                Mark Parameters With ModelBinderAttribute
            Per-Controller-Type Services
                Add the Controller Configuration Attribute
                Supported Services
                Service Registration
                Clearing Existing Services
                Per-Controller-Type Service Limitations
            Batching
            OWIN Integration
            Unit Testing
            Example
        SignalR
            Quick Start
            Register Hubs
            Set the Dependency Resolver
            Managing Dependency Lifetimes
            OWIN Integration
        Web Forms
            Quick Start
            Add Modules to Web.config
            Implement IContainerProviderAccessor in Global.asax
            Tips and Tricks
                Structuring Pages and User Controls for DI
                Manual Property Injection
                Explicit Injection via Attributes
                Dependency Injection via Base Page Class
                Custom Dependency Injection Modules
            Example
        RIA / Domain Services
            Quick Start
            Example
    .NET Core
        Quick Start
        Using a Child Scope as a Root
    ASP.NET Core
        Quick Start (With ConfigureContainer)
        Quick Start (Without ConfigureContainer)
        Configuration Method Naming Conventions
        Dependency Injection Hooks
        Differences From ASP.NET Classic
        Controllers as Services
        Multitenant Support
        Using a Child Scope as a Root
        Example
    Windows Communication Foundation (WCF)
        Clients
        Services
            Quick Start
            Register Service Implementations
                Register By Type
                Register by Interface
                Register by Name
            Pick the Right Host Factory
            Svc-Less Services
            Extensionless Services
            WAS Hosting and Non-HTTP Activation
            Self-Hosting
            Handling InstanceContextMode.Single Services
                IIS/WAS Hosted
                Self-Hosted
            Simulating a Request Lifetime Scope
            Using Decorators With Services
            Example
    Managed Extensibility Framework (MEF)
        Consuming MEF Extensions in Autofac
        Providing Autofac Components to MEF Extensions
        Using Metadata
        Known Issues / Gotchas
    Common Service Locator
    Enterprise Library 5
        Using the Configurator
        Specifying a Registration Source
        Example
    NHibernate
    Moq
        Getting Started
        Configuring Mocks
        Configuring Specific Dependencies
    FakeItEasy
        Getting Started
        Configuring Fakes
        Configuring Specific Dependencies
        Options for Fakes

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值