Skip to main content
0 votes
1 answer
76 views

Application is an ASP.NET Core 3.0 MVC web app with razor pages and some controller functions. After updating to 3.0, the razor pages work fine, but I'm not able to access my MVC endpoints. When I ...
JPicasso's user avatar
  • 152
0 votes
1 answer
727 views

I cannot create a .NET Core 3 application using Visual Studio 2022. It is only showing .NET 6 and 7. I want to publish this API on IIS server, which does not support .NET 6. I tried to change the ...
temalcode's user avatar
1 vote
1 answer
85 views

Good morning. I have a WebApi "GetByList" method written in NetCore 3.1 and C #. [HttpPost] [Route("Data/GetByList")] public async Task<TagResultList> GetByList([FromBody] ...
Anton's user avatar
  • 333
0 votes
2 answers
760 views

I've recently updated a project from netcoreapp 2.2 to 3.0. When I debug the project locally it is running on the default ports 5000 and 5001. I have specified specific urls in both UseUrls and the ...
Matt Quinn's user avatar
0 votes
0 answers
947 views

Why does this code compile and run when param2 is non-nullable? I can't find anything in the docs saying that a default value is used when null is passed to a non-nullable constructor parameter via ...
3-14159265358979323846264's user avatar
1 vote
0 answers
252 views

run the command "dotnet --list-sdk" in cmd window, the following msg shows, 5.0.404 [C:\Program Files\dotnet\sdk] 6.0.101 [C:\Program Files\dotnet\sdk] which means .net core 3.1 sdk not ...
lixiangc's user avatar
0 votes
0 answers
49 views

I develop .NET CORE 3.0 Web Application. The Application is has a multilayer as a project in a single solution. Login page in a UI layer. But this controller code in another layer, this controller has ...
hkyaaa's user avatar
  • 100
0 votes
1 answer
445 views

I have an API solution that's erroring out on Startup when MapControllers is called. app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); The error ...
John Spiegel's user avatar
  • 1,923
7 votes
2 answers
4k views

I'm updating a package to .NET 5.0 from .Net Core 2.1. I've updated all the assemblies to the latest versions but am getting the error below from the Analyzer package: This error occurs due to the ...
kh25's user avatar
  • 1,298
0 votes
1 answer
978 views

I'm trying to create class with enum and I have an error. public class MarsWheather { public Season MarsSeason { get; set; } } public enum Season { winter, spring, summer, autumn }...
Galina Melnik's user avatar
0 votes
1 answer
2k views

I'm trying to use IHttpClientFactory. I've read the article https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-3.0 Startup.cs public void ConfigureServices(...
Galina Melnik's user avatar
0 votes
1 answer
127 views

The code has been moved to production and the issue appears. Not able to load the pages with charts in it. Getting a fatal error on trying the same. The error received is, Class constructor Orl cannot ...
Kezia Rose's user avatar
0 votes
1 answer
799 views

I have logged in manually to a .NET Core 3 Web API app as seen in the controller action below. No matter what I try, I can't seem to get the .NET framework to recognize that the application user is ...
Camille Sévigny's user avatar
0 votes
1 answer
6k views

I have a C# Library developed using .Net Standard 2.1 and this library is called in a test console application built on .Net Core 3.0. But at run time, the GetFactory is throwing an exception. ...
Ullan's user avatar
  • 1,027
-1 votes
1 answer
3k views

I have a problem with GraphQL.Net library. I've used "GraphQL" Version="3.2.0", "GraphQL.Server.Ui.Playground" Version="4.4.0" and TargetFramework = netcoreapp3....
Galina Melnik's user avatar

15 30 50 per page
1
2 3 4 5
43