Top "Asp.net-web-api2" questions

ASP.

How do you consume extra parameters in OAuth2 Token request within .net WebApi2 application

I have an api specific project in a large .net MVC 5 web solution. I am utilizing the WebApi2 templates out …

asp.net oauth-2.0 asp.net-mvc-5 asp.net-web-api2
Entity Framework Core DbContext and Dependency Injection

I'm building a service application using Web API, .Net Core and EntityFramework Core. For configuring options in my DbContext I'm …

entity-framework dependency-injection asp.net-web-api2 dbcontext entity-framework-core
Validate model on specific string values

I'm working on a Web API 2 project. besides the requirement that some properties are required, some only can have specific …

c# asp.net-web-api2
Implement identity server authentication in real world scenario

I am investigating how IdentityServer 3 works and I still have problem to fully understand. In general concept is clear to …

c# security authentication asp.net-web-api2 thinktecture-ident-server
How to show XML comments of class properties in Swagger (MVC 6 Web API JsonResult)

I've added XML comments to my class members but Swagger won't show them in the UI. Am I doing something …

asp.net-web-api2 asp.net-core-mvc swagger swagger-ui
.Net Core WebAPI , Unable to post data with POSTMAN , error - 415 Unsupported MediaType

I am testing my first .net Core WebAPI with Postman unknown media type error is occurring. What am I missing? …

rest asp.net-web-api2 asp.net-core-mvc postman
When and how to use [ResponseType(typeof(...))] correctly?

I am working on a project and I have a basic controller with Get(int id), GetElements(), UpdateElement(int id, …

asp.net asp.net-web-api asp.net-web-api2 asp.net-web-api-routing
Resolving dependencies in OWIN WEB API Startup.cs with ninject

I have a Web Api 2 App, with two classes that both depend on another class, and i'm using ninject to …

.net ninject owin asp.net-web-api2
Asp.net core MVC post parameter always null

I am new to MVC core. I have created a project with MVC core which has a controller. This controller …

asp.net-mvc model-view-controller asp.net-core asp.net-web-api2 .net-core