Skip to content

Magenaut

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

asp.net-web-api

Difference between “MapHttpRoute” and “MapRoute”?

August 27, 2022 by Magenaut

Why using “MapRoute” for “Default” routing, while using “MapHttpRoute” for “DefaultApi” routing?

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

Timeout a Web Api request?

August 27, 2022 by Magenaut

Like MVC WebApi runs on the asynchronous ASP.NET pipeline, meaning execution timeout is unsupported.

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

ASP.NET Web API 2 Async action methods with Task.Run performance

August 27, 2022 by Magenaut

I’m trying to benchmark (using Apache bench) a couple of ASP.NET Web API 2.0 endpoints. One of which is synchronous and one async.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, async-await, c#, task-parallel-library Leave a comment

WebApi: mapping parameter to header value

August 27, 2022 by Magenaut

I’ve done a few searches but haven’t seem to find anything…

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

WebAPI No action was found on the controller

August 27, 2022 by Magenaut

I got an error – No action was found on the controller ‘Action’ that matches the request.

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

Web API 2.1 Windows Authentication CORS Firefox

August 27, 2022 by Magenaut

Here’s the scenario:

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

How can versioning be done in ASP.NET Core Web Api

August 27, 2022 by Magenaut

In previous asp.net web api, I implement DefaultHttpControllerSelector to specify how I want the request to locate my controller. I often have different controllers with different names but intended for same processes. The only difference is that one is of higher version than the other.

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

Get controller name

August 27, 2022 by Magenaut

In WebApiConfig.cs i have the following

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

DI in Azure Functions

August 27, 2022 by Magenaut

I have some class libraries that I use in my ASP.NET Web API app that handle all my backend stuff e.g. CRUD operations to multiple databases like Azure SQL Database, Cosmos DB, etc.

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

DefaultInlineConstraintResolver Error in WebAPI 2

August 27, 2022 by Magenaut

I’m using Web API 2 and I’m getting the following error when I send a POST to my API method using IIS 7.5 on my local box.

Categories ASP.NET, Q&A Tags asp.net, asp.net-web-api, c#, iis Leave a comment
Older posts
Newer posts
← Previous Page1 … Page19 Page20 Page21 … 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