python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
IAsyncEnumerable<T> in ASP.NET Core, deploying on iis is not supported streaming behaviour?
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
[HttpGet]
public IAsyncEnumerable<int> Get()
{
return FetchItems();
...
Jin Lyu
Votes: 0
Answers: 1
How to return all properties with return type an interface, where the interface has inherited from another interface
I have Interfaces
public interface IfooBase{
public int Id {get;set;}
public string FirstName {get;set;}
public string LastName {get;set;}
}
public interface Ifoo : IfooBase{
publi...
Tejas Ghutukade
Votes: 0
Answers: 1
JSON Converter changing case of values in netcoreapp3.1 web api
I have an enum extension that allows for enums to be transformed into their [Description] value, as in:
private enum WithDescription
{
[Description("Nothing")] None = 0,
...

Vic F
Votes: 0
Answers: 0
EF Core 6.0 Insert Failure: The database operation was expected to affect 1 row(s), but actually affected 0 row(s)
I am using
SQL Server 2019 Express
Visual Studio 2022
EF Core 6.0
.Net Core 6.0
My database structure:
CREATE TABLE [temp].[REGISTRATION]
(
[id] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY,
[co...
Probir Roy
Votes: 0
Answers: 0