Steve Talks Code
Coding thoughts about .NET
About
Blog
Tags
Categories
Archives
Talks
Guest Appearances
Search
RSS
.NET Core
Blog posts relating to .NET Core
Could .NET Source Generator Attacks Be A Danger To Your Code?
2 Dec 2021
C# 9
Code Generation
.NET Core
Visual Studio
This post highlights the dangers of trusting third party .NET Source Generators & shows ways to spot supply chain attacks.
Debugging C# Source Generators with Visual Studio 2019 16.10
4 Jun 2021
C# 9
Code Generation
.NET Core
Visual Studio
In this post, I provide a step by step guide to debugging C#9 source generators using the new features in Visual Studio 2019 16.10
Using OpenApiReference To Generate Open API Client Code
15 Mar 2021
C# 9
Code Generation
.NET Core
OpenAPI
Swagger
I this post I show how you can customise the code generated by the OpenApiReference tooling from Visual Studio's Connected Services using NSwag commands.
Styles of Writing ASP.NET Core Middleware
6 Feb 2021
ASP.NET Core
Dependency Injection
.NET Core
Middleware
In this post, I discuss the differences between convention and factory styles of writing middleware in ASP.NET Core along with the differences in how the instances are created and interact with dependency injection.
Should I be Checking Injected Dependencies for Null?
20 Dec 2020
.NET Core
ASP.NET Core
Configuration
Dependency Injection
In this post, I present my Top 5 scenarios of null injections from the .NET Dependency Injection container and use these to justify adding guard clauses to your C# constructors in consuming classes.
Understanding Disposables In .NET Dependency Injection - Part 3
17 Nov 2020
ASP.NET Core
Clean Code
Dependency Injection
Design Patterns
.NET Core
IDisposable
Following on from Parts 1 and 2, in this final part of the series, I move on to dealing with types that you do not have source control for and therefore cannot change directly to hide the Dispose method using the techniques I have described in the previous posts.
< Older
Share this post
Twitter
Linked In
Facebook
Recent Blog Posts
Source Generated RegEx in .NET 7
Creating a ZX Spectrum Image Load Video
Could .NET Source Generator Attacks Be A Danger To Your Code?
Debugging C# Source Generators with Visual Studio 2019 16.10
Latest on Twitter
Search Text
Close Search
No results found
Tags
.NET 7 (1)
.NET Core (16)
ASP.NET Core (17)
C# 9 (5)
Clean Code (10)
Code Generation (3)
Configuration (6)
Continuous Integration and Deployments (1)
Dependency Injection (8)
Design Patterns (13)
Dev Ops (2)
Git (2)
IDisposable (3)
Middleware (2)
Monorepo (2)
Octopus Deploy (1)
OpenAPI (1)
Retro Computing (1)
Swagger (1)
Visual Studio (2)
Webinars (1)