Do NOT use for questions about .NET Core - use [.net-core] instead.
I'm building a class library that will have some public & private methods. I want to be able to unit …
.net unit-testing tdd privateI am currently developing a .NET application, which consists of 20 projects. Some of those projects are compiled using .NET 3.5, some …
.net warningsIn SQL Server you can use the IsNull() function to check if a value is null, and if it is, …
c# .net sql-server isnullWhat are the best practices to consider when catching exceptions and re-throwing them? I want to make sure that the …
c# .net exception-handling rethrowWhat do sender and eventArgs mean/refer to? How can I make use of them (for the scenario below)? Scenario: …
.net events event-handlingWhat are the best practices to do transactions in C# .Net 2.0. What are the classes that should be used? What …
c# .net transactionsWhen using WebHostBuilder in a Main entry-point, how can I specify the port it binds to? By default it uses 5000. …
.net asp.net-core