Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

asp.net-web-api

Web Api + HttpClient: An asynchronous module or handler completed while an asynchronous operation was still pending

August 31, 2022 by Magenaut

I’m writing an application that proxies some HTTP requests using the ASP.NET Web API and I am struggling to identify the source of an intermittent error.
It seems like a race condition… but I’m not entirely sure.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, dotnet-httpclient Leave a comment

Why is the body of a Web API request read once?

August 31, 2022 by Magenaut

My goal is to authenticate Web API requests using a AuthorizationFilter or DelegatingHandler. I want to look for the client id and authentication token in a few places, including the request body. At first it seemed like this would be easy, I could do something like this

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api Leave a comment

How to receive dynamic data in Web API controller Post method

August 31, 2022 by Magenaut

jqgrid posts json data in POST request buffer as

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-4, asp.net-web-api, free-jqgrid, json Leave a comment

Is there a way I can run a Database.SqlQuery as async?

August 31, 2022 by Magenaut

I have the following:

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-web-api, c# Leave a comment

WebAPI method that takes a file upload and additional arguments

August 31, 2022 by Magenaut

I want to upload a file and send along with the file some additional information, let’s say a string foo and an int bar.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-web-api, file-upload Leave a comment

How do I change the root path of a ASP.Net WebAPI application?

August 31, 2022 by Magenaut

I am trying create a single page web app combining both ASP.NET WebAPI and the Yeoman Angluarjs generator. Currently I have a project structure as laid out below

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api Leave a comment

Can’t get the OWIN Startup class to run in IIS Express after renaming ASP.NET project file

August 31, 2022 by Magenaut

I’ve got a situation where I needed to change the solution and project names within a OWIN-based WebAPI website. Everything worked great before this change, and to my knowledge the renaming was successful because of the following:

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, iis-express, owin Leave a comment

Override host of webapi odata links

August 31, 2022 by Magenaut

I’m using WebAPI 2.2 and Microsoft.AspNet.OData 5.7.0 to create an OData service that supports paging.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, odata, odata-v4 Leave a comment

Web Api Required Parameter

August 31, 2022 by Magenaut

Using ASP.NET Web API. Is there a way to automatically return a status code 400 if a parameter is null? I found this question but that is a global solution that is applied to all methods, I want to do this on a per method per parameter basis.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c# Leave a comment

ASP.NET Web API application gives 404 when deployed at IIS 7

August 31, 2022 by Magenaut

I have an ASP.NET Web API which works fine when running on “IIS Express” with localhost:1783

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, iis-7 Leave a comment
Older posts
Newer posts
← Previous Page1 … Page12 Page13 Page14 … Page29 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress