EF Core updates and .NET tips
A varied mix of EF Core, ASP.NET Core, Blazor, MAUI, GraphQL, security, Git, and database testing articles for working .NET developers.
Jasen's top three picks
- 1 Injecting Service Dependencies to Entities with Entity Framework Core 7.0
medium.com
Interesting angle on mixing entity behavior with EF Core, though I’d treat it carefully in real-world designs.
- 2 Basic SQL Queries for Database Testing
c-sharpcorner.com
Simple database-testing SQL reminders are always handy when you need fast validation, not a full test harness.
- 3 🎉 Now in Public Preview: Create Dev Boxes on Behalf of Your Developers
devblogs.microsoft.com
Dev Box provisioning on behalf of developers is a useful ops win for teams standardizing onboarding.
Editor's note
I kept this issue intentionally mixed rather than forcing a theme. The EF Core performance pieces are especially practical, and the Blazor switch-expression gotcha is the kind of small detail that saves time in real projects. I also liked the 2FA and options-pattern posts for the same reason: useful, concrete guidance.
Today's articles
Injecting Service Dependencies to Entities with Entity Framework Core 7.0
medium.com
https://medium.com/volosoft/injecting-service-dependencies-to-entities-with-entity-framework-core-7-0-4fc01b9295b1
Topics: Design Patterns .NET Core EF Core
Read articleBasic SQL Queries for Database Testing
c-sharpcorner.com
https://www.c-sharpcorner.com/article/basic-sql-queries-for-database-testing/
Topics: SQL Server Unit Testing
Read article🎉 Now in Public Preview: Create Dev Boxes on Behalf of Your Developers
devblogs.microsoft.com
https://devblogs.microsoft.com/develop-from-the-cloud/public-preview-create-dev-boxes-on-behalf-of-developers/
Topics: Azure Visual Studio Code
Read articleHow to Implement AutoComplete in C# with AjaxControlToolkit
c-sharpcorner.com
https://www.c-sharpcorner.com/blogs/how-to-implement-autocomplete-in-c-sharp-with-ajaxcontroltoolkit2
Topics: ASP.NET Core C#
Read articleBoost Performance in EF Core: How to Use ExecuteUpdate and ExecuteDelete Efficiently
medium.com
https://medium.com/@kittikawin_ball/boost-performance-in-ef-core-how-to-use-executeupdate-and-executedelete-efficiently-b9be8a24af51
Topics: EF Core Performance
Read articleReal-Time SFTP Upload System in .NET Using FileSystemWatcher + BackgroundService
medium.com
https://medium.com/@rajput.shubh2510/real-time-sftp-upload-system-in-net-using-filesystemwatcher-backgroundservice-40d426e79daf
Topics: Azure .NET Core Performance
Read articleHow to use lifetimes in ASP.NET Core dependency injection?
roundthecode.com
https://www.roundthecode.com/dotnet-tutorials/how-to-use-lifetimes-asp-net-core-dependency-injection
Topics: ASP.NET Core Design Patterns .NET Core
Read articleBorder in .NET MAUI
freakyali.medium.com
https://freakyali.medium.com/border-in-net-maui-655cb9eff5d7
Read articleYou can't use switch expressions in Blazor (sometimes)
steven-giesel.com
https://steven-giesel.com/blogPost/b839cab5-55ad-4fd8-90ca-7799cde8ace0
Read articleYour Database Has Customers. Your Business Has People. Let’s Model That — Live, in Pure C#
medium.com
https://medium.com/@michaelmaurice410/your-database-has-customers-your-business-has-people-lets-model-that-live-in-pure-c-a5e74b07d458
Topics: C# Domain-Driven Design Design Patterns
Read articleBuilding a Complete 2FA System: From Theory to Implementation
medium.com
https://medium.com/@lowva96/building-a-complete-2fa-system-from-theory-to-implementation-0be626ea391c
Topics: Authentication OAuth Security
Read articleUse Pagination, Filtering, and Sorting in GraphQL with Hot Chocolate (.NET)
tomas-svojanovsky.medium.com
https://tomas-svojanovsky.medium.com/use-pagination-filtering-and-sorting-in-graphql-with-hot-chocolate-net-5bd64c310fe2
Topics: ASP.NET Core .NET Core gRPC
Read articleVersion Control, Git and GitHub: The Complete Enterprise Guide
medium.com
https://medium.com/@bhargavkoya56/version-control-git-and-github-the-complete-enterprise-guide-5aec29d3b6b8
Topics: Azure DevOps GitHub GitHub Actions
Read article.NET Options Pattern
victorfrye.com
https://victorfrye.com/blog/posts/dotnet-options-pattern
Topics: ASP.NET Core .NET Core
Read articleI Tried .NET (C#) for a Month — It Felt Boring
blog.probirsarkar.com
https://blog.probirsarkar.com/i-tried-net-c-for-a-month-it-felt-boring-8826bcb51657
Read article