Skip to main content
Filter by
Sorted by
Tagged with
9 votes
2 answers
234 views

I have two versions of helper methods for logging on ILogger. The first (classic extension methods) compiles fine; the second using extension members results in a compiler warning/error code. CS8620: ...
0 votes
0 answers
58 views

In a .NET Core C# project, I get many errors like this: Predefined type 'System.Object' is not defined or imported Primary variables such as int and string are not recognized. I have tried the ...
1 vote
0 answers
33 views

Previously, in .NET 9 and lower, we could use RazorRuntimeCompiliation to implement embedded views in assemblies. services.Configure<MvcRazorRuntimeCompilationOptions>( options => { var ...
5 votes
2 answers
180 views

In the released .NET 10 there is a new method added to the Volatile class with the name ReadBarrier(). And I don't know whether from the compilers perspective there is a difference if I do a read with ...
3 votes
0 answers
148 views

I'm currently in the process of upgrading to .NET 10 from .NET 9, but unfortunately as usual the documentation of breaking changes seems to be lacking when it comes to certain functionality and ...
1 vote
0 answers
72 views

After upgrading from .NET 9 to .NET 10 (.NET vesion and packages like OpenApi), I started getting this exception: Application startup exception System.TypeLoadException: Could not load type '...
2 votes
1 answer
465 views

I'm working on building up my extensions utilizing the new extension member syntax so I can add static class methods and extension properties for my commonly used operations. I have defined a few ...
1 vote
1 answer
80 views

Microsoft have changed ExecuteUpdateAsync to accept non-expression setters parameter in NET 10. Now it works this way: await context.Blogs.ExecuteUpdateAsync(s => { s.SetProperty(b => b....
1 vote
1 answer
92 views

I have a big project that uses Blazor, suddenly when I run it, the Blazor pages do not work anymore, because the blazor.server.js returns 404. This happened after I installed latest version of VS 2026 ...
1 vote
0 answers
64 views

I have a .NET 10 MAUI app configured with Aspire 13. When I start the Aspire project and the dashboard launches, I ensure that the emulator is running. Steps to reproduce Start Visual Studio Create a ...
1 vote
1 answer
154 views

I am attempting to create a new EF Core migration using the add-migration command in the Visual Studio Package Manager, but the command is failing with the following error: The running command ...
0 votes
0 answers
72 views

Blazor (render server global) in IdentityRedirectManager.cs Line 31: navigationManager.NavigateTo(uri); I get this error when redirect page: Microsoft.AspNetCore.Components.NavigationException ...