Skip to content

.NET Blog

440+ posts on Azure, C#, Entity Framework, .NET, Software Engineering and Visual Studio

Dave Callan

Full stack .NET Developer and Solutions Architect contractor with over 17 years experience obtained across multiple domains and organisations such as Citibank, Central Bank, AIB, ESB, United Drug and RTE.

 

  • BACK TO BLOG HOMEPAGE !!!

Recent Posts

  • Setting default global configuration for .NET types in Entity Framework August 22, 2023
  • How to make strings non-Unicode in Entity Framework Code First August 22, 2023
  • Difference between const and readonly in C# August 22, 2023
  • How to auto include navigations in Entity Framework August 22, 2023
  • Entity Framework DB First quick start using EF Core Power Tools August 17, 2023
  • Include sensitive data in Entity Framework logging by setting EnableSensitiveDataLogging August 15, 2023
  • Entity Framework FromSqlInterpolated examples August 15, 2023
  • GitHub examples of .NET method usages visible in Visual Studio from 17.6+ August 14, 2023
  • Simple string concatenation using String.Create and other performance sensitive approaches in .NET 8 August 14, 2023
  • NuGet 6.7 shows which packages are vulnerable in Visual Studio August 14, 2023
  • New summary diff view to only see changes now available in Visual Studio August 14, 2023
  • Please follow me on Twitter and LinkedIn for more .NET content August 13, 2023
  • Do .NET developers rely too much on third party libraries from NuGet? August 13, 2023
  • Poll Results : Are many .NET devs moving away from Moq after #moqgate? August 13, 2023
  • 7 Cognitive biases influencing our software development decisions August 13, 2023
  • Do you use a mocking framework or manually create your mocks? August 13, 2023
  • How to treat all warnings as compile errors in .NET August 13, 2023
  • Share settings across multiple projects using a Directory.Build.props file August 13, 2023
  • Use Target Typed New Expressions to infer type on the right in C# 9 + August 13, 2023
  • Poll Results : What .NET mocking library do you use? August 12, 2023
  • BACK TO BLOG HOMEPAGE !!!

Categories

  • .NET Core Blog (108)
  • ASP.Net MVC (11)
  • Automapper (6)
  • Azure Blog (28)
  • BenchmarkDotNet (14)
  • C# Blog (56)
  • Databases (43)
    • SQL Server Blog (38)
  • Deployment (9)
  • Design Patterns (25)
  • Entity Framework Blog (83)
  • eShopOnWeb (17)
  • Frontend (13)
  • Performance Improvement (25)
  • Software Architecture (31)
  • Software Development (47)
  • SSIS (5)
  • Testing (12)
  • Visual Studio Blog (95)
  • VS Code (4)
  • Web Application Security (3)
  • WordPress (3)
  • BACK TO BLOG HOMEPAGE !!!

Category: C# Blog

C# logo
C# blog
posts covering topics such as usage tips, little known features, new features in upcoming versions of the language, performance tips including BenchmarkDotNet benchmarks and more…

Don’t use the C# var keyword everywhere in your code just to be consistent

Don’t use the var keyword everywhere in your code base just to be consistent. If using var removes clarity for … Continue reading Don’t use the C# var keyword everywhere in your code just to be consistent

Posted on March 11, 2021March 11, 2021Categories C# Blog1 Comment on Don’t use the C# var keyword everywhere in your code just to be consistent

Easier immutability with Init only properties in C# 9

C# 9 shipped with .NET 5 in November. One change included is init only properties which allow us to have … Continue reading Easier immutability with Init only properties in C# 9

Posted on January 13, 2021July 15, 2022Categories .NET Core Blog, C# BlogLeave a comment on Easier immutability with Init only properties in C# 9

Parsing a nested value from a JSON string in .NET Core 3 without needing a DTO

.NET doesn’t use Newtonsoft by default anymore (since .NET Core 3.0). A lot of the examples online show how to use … Continue reading Parsing a nested value from a JSON string in .NET Core 3 without needing a DTO

Posted on August 11, 2020August 11, 2020Categories .NET Core Blog, C# BlogLeave a comment on Parsing a nested value from a JSON string in .NET Core 3 without needing a DTO

Generating sequential GUIDs which sort correctly in SQL Server in .net

Using a non sequential GUID in either a clustered or non clustered index is not ideal from a performance point … Continue reading Generating sequential GUIDs which sort correctly in SQL Server in .net

Posted on April 26, 2020July 4, 2022Categories C# Blog, Databases, Entity Framework Blog, SQL Server BlogLeave a comment on Generating sequential GUIDs which sort correctly in SQL Server in .net

Converting numbers to strings without scientific notation in C#

C# will automatically convert numbers which are of type float, double or decimal and have a lot of precision (lots … Continue reading Converting numbers to strings without scientific notation in C#

Posted on March 12, 2016July 15, 2022Categories C# Blog2 Comments on Converting numbers to strings without scientific notation in C#

Discouraging use of the var keyword and ternary if operator

I would always favour typing more code to make it more explicit, more readable and to ensure consistency in style … Continue reading Discouraging use of the var keyword and ternary if operator

Posted on May 29, 2015June 13, 2015Categories C# Blog, Software Development, Visual Studio BlogLeave a comment on Discouraging use of the var keyword and ternary if operator

Posts navigation

Previous page Page 1 Page 2 Page 3
Proudly powered by WordPress | .NET | .NET Blog | Visual Studio Blog