Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [asp.net-web-api]

ASP.NET Web API is a framework for building HTTP services for clients like browsers and mobile devices. It is based on the Microsoft .NET Framework and an ideal choice for building RESTful services.

asp.net-web-api
0 votes
0 answers
7 views

base64image econded string 500 internal error in asp.net core web api inhostinger server

base64image econded string 500 internal error in asp.net core web api in hostinger server We have deployed the Asp.net core Web API in hostinger VPS linux with ASP.NET Template and Nginx proxy server. ...
Prem Murmu's user avatar
-1 votes
0 answers
7 views

Setting up Google analytics for my ASP.NET Web API

I have a requirement to implement Google analytics for my ASP.NET Web API. I know Google analytics will be easier for websites. I wanted to know if there is a way to implement or is there any other ...
Parashuram Kateegar's user avatar
0 votes
0 answers
14 views

Ghostscript Log Creation

I have an application where I am using ghostscript to convert image to pdf. I am using dll of ghostscript and using it in a .Net web api. And ghostscript software is also installed in the server, ...
martian481's user avatar
0 votes
0 answers
17 views

Overflow or underflow in the arithmetic operation error in ASP.NET Web API OData application

I have written an ASP.NET Web API OData application in which I am returning a single object which is working fine. Now my requirement is to return multiple entities from the GET request. While trying ...
Roger Holland's user avatar
-2 votes
0 answers
20 views

How can I hide the password in the payload displayed in the network tab? [closed]

In my Blazor WebAssembly project, after clicking the login button, the entered password is displayed in the payload in the network tab. I want to hide the password in the payload shown in the network ...
Ranjitha T S's user avatar
0 votes
1 answer
24 views

Does not contain a static 'main' method suitable for an entry point when running docker build

Does not contain a static 'main' method suitable for an entry point using CountryAPI.Models; public class Program { public static void Main(string[] args) { var builder = ...
Prottasha D'cruze's user avatar
-4 votes
0 answers
34 views

How do i modernize .net monolithic application? [closed]

I work on a .net core admin dashboard web application hosted on-premise and it is time to modernize this application. please be noted that this application is use "internally" in the org. ...
user26513048's user avatar
0 votes
2 answers
37 views

How to Dynamically Set Optional Properties in Multiple Request Models in ASP.NET Core Web Api

At my workplace, I’ve been tasked with refactoring some code in an ASP.NET Core Web API application. In the application, I have multiple request models where some models include properties like UserId,...
Mehdi Raji's user avatar
0 votes
1 answer
39 views

WIX - Uninstall .NET 8 from bundle

I try to install and uninstall .NET 8 in my application. But I have a problem. Everything is good, aplication install and uninstall but I have problem with uninstall .NET Runtime and ASP.NET Core. ...
Błażej's user avatar
  • 127
-3 votes
0 answers
25 views

Authentication and Authorization issue [closed]

How can I configure authentication and authorization for an ASP.NET Web API (running on "legacy" .NET framework)c#? Just a simple and an efficient way to do it, I keep find configurations ...
Denny Quizanga's user avatar
0 votes
0 answers
11 views

Signature Error When Integrating VNPay in .NET Core

Create paymentULR //////////////////// Signature Error When Integrating VNPay in .NET Core I am integrating VNPay into my .NET Core project and encountering an issue with an invalid signature. Below ...
Ngo Van Tien K17 HCM's user avatar
1 vote
0 answers
24 views

Does `ReadAsMultipartAsync` use preloaded buffer data?

If I use Request.Content.LoadIntoBufferAsync() to limit the buffer size, does Request.Content.ReadAsMultipartAsync() read the content from this preloaded buffer, or does it read the content fresh? ...
YMK's user avatar
  • 41
0 votes
2 answers
58 views

How to create custom parameter attribute FromActionArguments in C# like FromQuery?

I would like to create attribute that will tell that parameter should be filled from action arguments, not from query, route, header or body. ASP.NET is already binding it correctly from ...
Tundy's user avatar
  • 194
1 vote
0 answers
23 views

Couchbase Bootstrap Exception: UnsupportedAddressFamilyException with CCCP

I'm encountering an issue while attempting to connect to Couchbase using the .NET client. Here are the specifics of the problem:Exception has been thrown by the target of an invocation. i am trying to ...
Bandaru Aneesh 's user avatar
0 votes
1 answer
28 views

What is the difference between returning CreatedAtAction() and RedirectToAction in ASP.NET Web API?

I am wondering what is the difference between CreatedAtAction and RedirectToAction in ASP.NET Web API ? When to return CreatedAtAction, and when to return RedirectToAction? I got the same response in ...
Programmer's user avatar

15 30 50 per page
1
2 3 4 5
2538