forked from remogloor/Ninject.Web.WebApi
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 36
Setting up an mvc webapi application
        Remo Gloor edited this page Apr 7, 2014 
        ·
        13 revisions
      
    This extension is based on Ninject.Web.Common. The documentation of this package contains two chapters about how to setup a web application. Please choose the appropriate link for your project type:
- 
Setting up an IIS hosted web application
 if using Nuget use install Ninject.Web.WebApi.WebHost instead of the package mentioned in that documentation.
- Setting up a self hosted web application if using Nuget use install Ninject.Web.WebApi.SelfHost instead of the package mentioned in that documentation.
To configure the NinjectSelfHostBootstrapper for WebApi self hosting you have to initialize it with a HttpSelfHostConfiguration which is configured for your needs.