About 5,920,000 results
Open links in new tab
  1. c# - How to have an API call working? Currently my call to client …

    May 6, 2022 · Make sure to await ReadAsStringAsync rather than using .Result. Is the CallAPI call being awaited as well? Look at the console output of the API project as it's running, or use …

  2. c# - WebApi is not Working in ASP.Net - Stack Overflow

    Aug 23, 2016 · One last step to enable Web Api which looks like you're missing is enabling Web API in the Global.asax file by adding the following line of code to the Application_Start() …

  3. c# - httpclient call to webapi to post data not working - Stack Overflow

    Jan 2, 2016 · I need to make a simple webapi call to post method with string argument. Below is the code I'm trying, but when the breakpoint is hit on the webapi method, the received value is …

  4. Resolving API Connection Failures in C# - Medium

    Nov 26, 2024 · How can I debug API issues in C#? Use tools like Fiddler or Wireshark to inspect the HTTP requests and compare them to your C# implementation. This will highlight missing …

  5. One of my API is working in Asp.Net MVC 5 But Now Api is not working ...

    Aug 25, 2022 · One of my code is perfectly working in Asp.Net MVC 5 But when I am using some logic to call the api in Asp.Net MVC Core (6), Api is always returning an error. Same …

  6. App Service Api stop working with no traces in the logs

    Feb 15, 2024 · Check for Unhandled Exceptions: Make sure your backend API isn’t throwing an unhandled exception. Such exceptions could result in misleading errors like …

  7. How to troubleshoot "HTTP ERROR 404" with ASP.NET Core API site

    Feb 17, 2022 · First, check if you have uploaded all necessary files of your API site to the server. We recommend using Web Deploy to publish your application, this will package your app to …

  8. How to Fix Dependency Injection Issues in .NET Core Web API

    Feb 1, 2025 · Learn how to fix Dependency Injection issues in .NET Core Web API. Discover common problems, debugging tips, and best practices for seamless DI implementation

  9. c# - asp.net core web api project does not run - Stack Overflow

    I created .net core webapi project in vscode using terminal. Made following commands: dotnet restore, dotnet build, dotnet run. Unfortunately, project does not run.

  10. .NET 9 Open API Migration not returning the API Schema

    Feb 25, 2025 · I am migrating a .NET 6 API application to .NET 9. Installed the Microsoft.AspNetCore.OpenApi and Microsoft.Extensions.ApiDescription.Server packages …