ASP.
I used to place my controllers into a separate Class Library project in Mvc Web Api. I used to add …
c# asp.net-web-api asp.net-web-api2There seems to be two functionally different ways to enable cross-origin request sharing in Web API 2. One is to import …
asp.net-web-api asp.net-web-api2Is it possible to get OData to do the following? I would like to be able to query a REST …
c# odata asp.net-web-api2Just started a new project using .NET Core. Added my Web API controller and related method. Using Postman I created …
c# asp.net-core asp.net-web-api2 model-binding asp.net-core-webapiI am using latest web api. I do annotate some controllers with 3 different filter attributes. 1 [Authorize] 2 [RessourceOwnerAttribute derived from AuthorizationFilterAttribute] 3 […
c# asp.net asp.net-web-api action-filter asp.net-web-api2Using Web API and using swashbuckle to generate swagger documentation, I defined two different classes with the same name in …
c# asp.net-web-api asp.net-web-api2 swagger-ui swashbuckleI'm doing some research for work with a view to using Bearer tokens as an authentication mechanism (i.e. AngularJS …
authentication asp.net-web-api owin asp.net-web-api2How can I code a Created-201 response using IHttpActionResult ? IHttpActionResult has only these options Ok List item NotFound Exception Unauthorized …
c# asp.net asp.net-web-api response asp.net-web-api2IProductRepositoryProxy ProductDataServiceProviderInstance = new ServiceProductDataProvider(); builder.RegisterInstance(ProductDataServiceProviderInstance).As<IProductRepositoryProxy>(); VS builder.RegisterType<ServiceProductDataProvider>().As<IProductRepositoryProxy&…
c# asp.net-web-api asp.net-web-api2 autofacI have the following packages and their dependencies installed in my WebAPI project: Ninject.Web.WebApi Ninject.Web.WebApi.OwinHost …
c# asp.net-web-api dependency-injection ninject asp.net-web-api2