ASP.
When I try to start : WebApp.Start<SrvcHst>(new StartOptions { Port = 9956, ServerFactory = "Microsoft.Owin.Host.HttpListener" }); I get …
c# exception .net-4.5 owin asp.net-web-api2my web api like public async Task<IHttpActionResult> RegisterUser(User user) { //User Implementation here return Ok(user); } I …
c# asp.net asp.net-mvc asp.net-web-api asp.net-web-api2For better test job with Microsoft.Owin.Testing.TestServer, I found that Global.asax is not loaded with Owin TestServer. …
c# asp.net asp.net-mvc-4 unit-testing asp.net-web-api2I try to use Swagger with Microsoft WebAPI 2. For the moment, I've the following call in a method. appBuilder .ConfigureOAuth() .…
c# swagger asp.net-web-api2I'm building an API using WEB API 2. I have the following API controller: [RoutePrefix("api/account")] public class AccountController : ApiController { […
c# .net asp.net-web-api2 asp.net-web-api-routingHow do I get Content-Disposition parameters I returned from WebAPI controller using WebClient? WebApi Controller [Route("api/mycontroller/GetFile/{fileId}")] …
c# asp.net-web-api2 webclient httpresponse content-dispositionI have a Web API 2 project with help pages that runs fine locally but throws this error when I push …
c# asp.net azure asp.net-web-api2I have created a web api 2 and I'm trying to do a cross domain request to it but I'm getting …
c# asp.net-mvc cors asp.net-web-api2Most Web API 2.0 methods I've seen return IHttpActionResult, which is defined as an interface that "defines a command that asynchronously …
c# asynchronous asp.net-web-api2I need to write a method like below to return a text document (.txt, pdf, .doc, .docx etc) While there …
c# asp.net asp.net-web-api2