Top "Asp.net-core-webapi" questions

Questions about ASP.

response: 413 Request Entity Too Large

When POSTing a request which can contain one or more files (as base64 string) I get this error response: ERROR 2018…

c# asp.net-core asp.net-core-webapi aspnetboilerplate
User.Identity.Name is empty in Asp.NET Core 2.0 API Controller

I am new to ASP.NET core itself. However, I am creating WebAPIs in ASP.NET Core 2.0. I have configured …

asp.net-core-webapi asp.net-core-2.0 bearer-token asp.net-core-identity
Using ApiControllerAttribute without using RouteAttribute

In ASP.NET Core (v 2.1.5) you can create controllers without having them inherit from Controller class (as you know). And …

c# asp.net-core .net-core asp.net-core-webapi attributerouting
"500 - Internal server error" when calling ASP .Net Core 2.1 Web API on Windows Server

I have an ASP .Net Core 2.1 Web API which I've deployed to a new server we recently purchased (running Windows …

iis asp.net-core-webapi asp.net-core-2.1 kestrel asp.net-core-webapi-2.1
ASP.NET Core API - ActionResult<T> vs async Task<T>

If I'm creating an API using .NET Core 2.1 with some typical POST and GET methods, which return type for those …

c# asp.net-core asp.net-core-webapi
Post Stream in ASP.NET Core Web Api

Hello lovely people of Stack Overflow. Since yesterday I have a problem and I have been browsing SO since then. …

c# asp.net-core .net-core uwp asp.net-core-webapi
WebAPI Core routing issues

So, I am playing around with Web API (ASP.NET Core 2) and having routing issues. I have several controllers such …

c# asp.net-core .net-core asp.net-core-webapi asp.net-core-routing
Reading appsettings.json from .net standard library

i have started a new RESTful project using .NET Core Framework. I divided my solution in two parts: Framework (set …

c# .net-core asp.net-core-2.0 asp.net-core-webapi .net-standard-2.0
Why isn't FromQuery working in my ASP.Net Core 1.1 controller action

I am working on an ASP.Net Core 1.1 web API. I have a ServiceTypeCode controller as shown below; [Produces("application/…

asp.net-core-webapi request.querystring asp.net-core-1.1
The JSON value could not be converted to System.DateTime

I have an Employee table public class Employee { [Key] public long ID { get; set; } public DateTime EmpDate { get; set; } public …

c# json asp.net-core-webapi json-deserialization