Skip to main content
The 2024 Developer Survey results are live! See the results
Guru Stron's user avatar
Guru Stron's user avatar
Guru Stron's user avatar
Guru Stron
  • Member for 11 years, 1 month
  • Last seen this week
381 votes
Accepted

ASP.NET Core 6+ how to access Configuration during startup

135 votes
Accepted

VS 2022 - Convert to file-scoped namespace in all files

78 votes

.NET 6.0 C# "new console template" - how to read CLI arguments?

77 votes
Accepted

Entity Framework | Sequence contains more than one matching element

59 votes
Accepted

What Nuget packages must be referenced by an ASP.NET Core 6 application parts project

51 votes

.NET Core MVC Page Not Refreshing After Changes

44 votes

Cannot resolve scoped service from root provider in ASP.NET Core 6

42 votes

Visual Studio 2019 Not Showing .NET 6 Framework

40 votes
Accepted

Using Parallel.ForEachAsync

38 votes
Accepted

Minimal API in .NET 6 using multiple files

37 votes
Accepted

Comparing two objects with == operator

36 votes
Accepted

ASP.NET Core 8 Web API : how to add versioning?

35 votes
Accepted

EF Core error Incorrect syntax near '$' but EF Core generated the query?

33 votes
Accepted

.NET 7 and UseEndPoints()

33 votes

Add Swagger description to minimal .NET 6 APIs

32 votes
Accepted

ASP.NET Minimal API How to Return/Download Files from URL

31 votes
Accepted

Using Global Query Filters for all entities

30 votes
Accepted

How to say Datetime - timestamp without time zone in EF Core 6.0

30 votes

How to access DbContext in .NET 6 minimal API Program.cs

30 votes
Accepted

.NET 6 (stable) IConfiguration setup in Program.cs

30 votes
Accepted

How to use AddHttpClient in .NET 6 Worker Service

28 votes
Accepted

Where are the using statements/directives in .NET 6 and above

28 votes
Accepted

C# record - using with keyword to modify properties

28 votes
Accepted

Integration test and hosting ASP.NET Core 6.0 without Startup class

26 votes
Accepted

Meaning of curly braces after the "is" operator

24 votes
Accepted

Null checking with primary constructor in C# 12

23 votes
Accepted

Is there a way to unit test top-level statements in C#?

23 votes
Accepted

Serialize JSON from object to string / DateOnly

23 votes
Accepted

C# 9/10 top-level statements and ExcludeFromCodeCoverage-Attribute?

22 votes
Accepted

.NET 6 XmlSerializer Pretty print

1
2 3 4 5
136