Top ".net-core-3.0" questions

Use this tag for questions specifically related to .NET Core 3.0, in addition to using the '.NET Core' tag.

Using System.Windows.Forms classes in a .net core 3.0 preview9 project

How can we use classes like Screen in a .NET Core 3.0 WPF project? There are documentation pages for .NET Core 3.0 …

c# winforms .net-core .net-core-3.0
Dependency Injection in .NET Core 3.0 for WPF

I’m quite familiar with ASP.NET Core and the support for dependency injection out of the box. Controllers can …

wpf .net-core .net-core-3.0
Blazor: IServiceCollection does not contain a definition for AddDefaultIdentity

following this tutorialI've encountered a problem in the Startup.cs file: (need to scroll down a bit, sorry) the issue …

c# jwt blazor .net-core-3.0
Issues with swagger after migrating to .NET Core 3.0

After migrating to .NET Core 3.0. I'm having issues configuring swagger. Following is my configuration. public void ConfigureServices(IServiceCollection services) { services.…

c# asp.net-core swagger .net-core-3.0 asp.net-core-3.0
Entity Framework 3.0 Contains cannot be translated in SQL as it was in EF Core 2.2

I am trying to migrate a Web API from .NET Core 2.2 to .NET Core 3.0 and I have stumbled across the …

entity-framework-core .net-core-3.0 entity-framework-core-3.0
Exception parsing json with System.Text.Json.Serialization

My sample code is very simple: using System.Text.Json.Serialization; using Newtonsoft.Json; public class C { public C(string …

c# .net-core json.net .net-core-3.0 system.text.json
Replacing UseMvc in .Net Core 3.0

I'm trying to figure out how to properly replace app.UseMvc() code that use to be part .net core 2.2. The …

c# routing .net-core-3.0 asp.net-core-3.0
Cannot add appsettings.json inside WPF project .net core 3.0

I am creating a WPF project using .net Core 3.00, and I am having trouble adding the item appsettings.json file …

c# .net wpf .net-core-3.0
SwaggerUI with .NetCore 3.0 bearer token authorization

I'm trying to add authorization header into SwaggerUI api test. below is my Startup.cs public void ConfigureServices(IServiceCollection services) { …

asp.net-core swagger asp.net-core-webapi swagger-ui .net-core-3.0
Accessing the SerialPort class using .Net Core 3.0

I'm starting a new .NET Core 3.0 project in which I need to access the System.IO.Ports.SerialPort class. The …

c# .net-core serial-port serial-communication .net-core-3.0