.NET Core is an open-source successor of the .NET Framework. It can be used in a wide variety of applications and verticals, ranging from servers and data centers to apps and devices. .NET Core is supported by Microsoft on Windows, Linux and macOS.
39,444 questions 1- Bountied 1
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
the two types are not in the same hierarchy: EF Core inheritance of two owned entity types cannot persisted entity
when I save the Case entity I get the following error "The instance of entity type 'Contact' cannot be tracked as the entity type 'Case.ThirdParty#ContactWithIdNumber' because the two types are ... c# entity-framework .net-core- 479
How can I turn a normal string into to a verbatim string without effecting `\"`?
I'm trying to read a file and run each line through a process, and I want to use @"" for each of them, but any time I try to edit each line to work in a verbatim string, it always makes \&... c# visual-studio .net-core- 11
does startup.cs file require application pool restart or recycle when there is change in startup.cs file
I have one custom middleware which i have to configured like this way if we disable it from backend then that middleware should detach from request pipeline and if i enable then it should i again ... .net api asp.net-core .net-core asp.net-web-api- 33
Swashbuckle blocked by middleware authentication
I'm creating a minimal API in dotnet 6. I have the default implementation of Swagger/Swashbuckle and everything was fine until I added a simple, custom authentication middleware (see code below). The ... .net-core swagger middleware- 286
Add Style format of cell of previous cell to newly added cell using Open XML
In .net core using open xml need to apply the style of the old cell to newly added cell. Please any one can suggest. .net-core openxml- 3
How do I register Firebird in .NET Core 5?
I am currently trying to port a .NET Framework application to .NET Core. We're using Firebird as a database. I updated the dependencies and most issues could be solved, but when compiling and starting ... c# .net-core firebird firebird-.net-provider- 1
[Azure Function]Could not load file or assembly 'System.Configuration.ConfigurationManager'
.Net Core 3.1. I used System.Runtime.Caching library, it depends on System.Configuration.ConfigurationManager. But there is a amazing thing happened, I test it in MS unit test project[.NET Core 3.1], ... .net-core azure-functions- 38
How to create unique key constriant for Email and UserName in UserIdentity in C#
As per my requirement, I need to have a unique key for Email and UserName in UserIdentity. For which I have defined RequiredUniqueEmail=false like this in my startUp as stated here services.... .net-core asp.net-identity identityserver4 asp.net-core-3.1 claims-based-identity- 2,011
My asp.net core web api doesn't update on MySQL workbench
I was able to link my asp.net core web API to MySQL database and all but when I make a post request, it does not update on the database and so on. asp.net-core .net-core asp.net-web-api- 1
Convert Decimal To String C# [duplicate]
How can i convert decimal to string without rounding and with specific format? It is my value; var price = 4569.996M; I want to this result result = "4.569,99" . I can check to culture for ... c# string .net-core type-conversion decimal- 13
Special characters that comes from client's request json body are not received correctly .net core webapi
I have a .NET Core webapi and i deployed it to IIS. When my customer post a request with json body content that have special characters like İÇĞÜÖŞğ(turkish) this characters are not passed to ... c# .net .net-core asp.net-core-webapi- 361
Run Multiple dotnet versions on Teamcity on Prem
I'm using Teamcity on premise for building dotnet project with dotnet core 3.1. Since we have multiple projects, we are using 3 agents for these build. These days we are planning to migrate our ... .net-core teamcity- 1
Controllers Not Mapping on WebApplicationFactory for TestClient .NET 6
So I'm upgrading a bunch of our APIs and migrating them to the new shiny top-level statement style of startup. These projects all also have integration tests that rely upon a WebApplicationFactory to ... c# asp.net-core .net-core integration-testing- 3,208
Exception thrown by Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider,
Context: I am updating a 3rd party dependency (NEST by elasticSearch). In the latest version some interfaces have been removed which are now causing my .net core 3.1 app to throw an exception when ...- 2,001
What is best approach to polling a MongoDB database looking for changes
I have two microservices (ServiceA and ServiceB). ServiceA inserts records into a MongoDB database. ServiceB check in MongoDB if there are new records and does some work with theses new records. ... c# .net-core rabbitmq background-service ihostedservice- 91
15 30 50 per page12345…2630 Next