forked from remogloor/Ninject.Web.WebApi
-
Notifications
You must be signed in to change notification settings - Fork 37
Setting up an mvc webapi application
meselgroth edited this page Jul 29, 2014
·
13 revisions
This extension is based on Ninject.Web.Common. The documentation of this package contains three 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 you are using Nuget install Ninject.Web.WebApi.WebHost instead of the package mentioned in that documentation. -
Setting up a self hosted web application
If you are using Nuget install Ninject.Web.WebApi.SelfHost instead of the package mentioned in that documentation. - Setting up a OWIN hosted WebApi application
To configure the NinjectSelfHostBootstrapper for WebApi self hosting you have to initialize it with a HttpSelfHostConfiguration which is configured for your needs.