tagged [.net-5]
Why does an interface's default implementation get called when two classes are in the inheritance chain, and the class in the middle is empty
Why does an interface's default implementation get called when two classes are in the inheritance chain, and the class in the middle is empty ## Summary I have found that inserting a class between an ...
How to solve the Error MSB3644 in Visual Studio 2019 com. edition?
How to solve the Error MSB3644 in Visual Studio 2019 com. edition? I have a dev machine with - - - I install net plataform sdk 5.0 to run Fluid UI Desktop apps (using C#). When i create and run a blan...
- Modified
- 13 Nov at 18:39
How do I define the SignedOut page in Microsoft.Identity.Web?
How do I define the SignedOut page in Microsoft.Identity.Web? I'm successfully signing in and out using Azure AD B2C in a Blazor Server app, but it's not clear to me the proper way to define the Signe...
- Modified
- 4 Dec at 16:24
Why do Entity Framework Core migrations require .NET Core 2.x?
Why do Entity Framework Core migrations require .NET Core 2.x? In my .NET5.0 project the PostgreSQL Nuget package is installed (`Npgsql.EntityFrameworkCore.PostgrSQL (5.0.2)`) and its dependency of EF...
- Modified
- 13 Mar at 19:24
Equivalent to UserSettings / ApplicationSettings in WPF for newer .NET versions
Equivalent to UserSettings / ApplicationSettings in WPF for newer .NET versions What is the prefered way for for WPF applications with [.net-5](/questions/tagged/.net-5) , [.net-6.0](/questions/tagged...
SetBasePath not present in ConfigurationBuilder under .NET Core 5
SetBasePath not present in ConfigurationBuilder under .NET Core 5 According to the docs for .NET Core 5, there's a method [SetBasePath](https://learn.microsoft.com/en-gb/dotnet/api/microsoft.extension...
- Modified
- 24 Jan at 16:26
Azure Function Middleware: How to return a custom HTTP response?
Azure Function Middleware: How to return a custom HTTP response? I am exploring Azure Function running on `.net 5` and I found out about the new [middleware capabilities](https://learn.microsoft.com/e...
- Modified
- 14 Jul at 00:47
System.Text.Json Field Serialization in .NET 5 not shown in Swashbuckle API Definition
System.Text.Json Field Serialization in .NET 5 not shown in Swashbuckle API Definition # Problem I'm using ASP.NET Core with .NET 5 and am using the `System.Text.Json` serializer to serialize types co...
- Modified
- 24 Mar at 09:1
.NET Core equivalent to Thread.Abort
.NET Core equivalent to Thread.Abort ## Background I have a `Service` abstraction. Each service has it own `WorkItem`. WorkItem able to start with some data. The service is limiting the excution time ...
- Modified
- 18 Feb at 10:30
C# "anyString".Contains('\0', StringComparison.InvariantCulture) returns true in .NET5 but false in older versions
C# "anyString".Contains('\0', StringComparison.InvariantCulture) returns true in .NET5 but false in older versions I encountered an incompatible problem while I was trying to upgrade my projects from ...
Failing to perform Cookie Authentication: SignInAsync and AuthenticateAsync not successful
Failing to perform Cookie Authentication: SignInAsync and AuthenticateAsync not successful I am trying to build a very simple playground server for me to study some ASP.NET Core authentication/authori...
- Modified
- 12 Jan at 18:54
Cannot find .NET 5.0 Console App project template in Visual Studio 2019
Cannot find .NET 5.0 Console App project template in Visual Studio 2019 I'm currently trying to create a C# .NET 5.0 Console Application in Visual Studio 2019, and the option does not appear under pro...
- Modified
- 5 May at 20:29
How to use default serialization in a custom System.Text.Json JsonConverter?
How to use default serialization in a custom System.Text.Json JsonConverter? I am writing a [custom System.Text.Json.JsonConverter](https://learn.microsoft.com/en-us/dotnet/standard/serialization/syst...
- Modified
- 24 Dec at 01:42
Building .NET 5.0 project Azure DevOps pipeline
Building .NET 5.0 project Azure DevOps pipeline I'm trying to build a project in .NET 5.0 using Azure DevOps pipeline Build and I'm received this error [](https://i.stack.imgur.com/4i8ux.png) ``` 2020...
- Modified
- 7 Aug at 18:28
Ping Tasks will not complete
Ping Tasks will not complete I am working on a "heartbeat" application that pings hundreds of IP addresses every minute via a loop. The IP addresses are stored in a list of a class `Machines`. I have ...
- Modified
- 30 Nov at 13:11