• C# Insights
  • Posts
  • πŸ”¨ How to Use Entity Framework Core Migrations in Production

πŸ”¨ How to Use Entity Framework Core Migrations in Production

Efficiently manage EF Core migrations, boost C# collection initializer performance by 87%, enhance AI apps with Redis, enable tab completion for .NET CLI, manage NuGets in VS Code, and learn about the cost of not logging. Also, optimize ASP.NET Core image delivery, generate random numbers smarter, improve SQL bulk inserts, and explore surprises in C# pattern matching.

Hi! ✌️

Learn how to efficiently manage Entity Framework Core migrations in production environments, from manual SQL scripting to automated runtime migrations.

Dive into benchmarks comparing different initialization methods, uncovering surprising results that could influence your coding practices. Explore the performance benefits and readability enhancements of collection expressions in this insightful article.

Discover how Redis enhances .NET apps with Azure Cache for Redis, optimizing performance and consistency for intelligent applications, while seamlessly integrating with Azure OpenAI.

Discover how to enable tab completion for the .NET CLI in PowerShell, Bash, and Zsh, enhancing command execution speed.

Learn how to efficiently manage NuGets in Visual Studio Code using dotnet-outdated-tool, a .NET CLI tool that evaluates your project/solution, lists available versions, and allows for easy package updates or manual csproj editing.

In this blog post, we delve into the overlooked expense of not logging data in your system. By examining the costs versus benefits, especially in scenarios like e-commerce, where downtime directly impacts revenue, we reveal how investing in logging can save substantial losses during outages.

Learn how to optimize image delivery for ASP.NET Core projects by embracing newer HTML features like srcset and sizes, enhancing performance and user experience.

Boost your .NET application's performance with smarter random number generation techniques! Learn how to enhance speed by up to 6 times using the RandomNumberGenerator over the conventional Random type.

Learn how to significantly improve database insertion performance in C# using EF Core, Dapper, and SQL Bulk Copy techniques.

Delve into the intricate world of pattern matching in C# and its unexpected interactions with compiler warnings. Uncover surprises in code compilation, shedding light on null reference detection nuances and rare edge cases.

P.S If you liked this edition, consider forwarding it to a friend!

If you’re that friend, subscribe here.

What did you think of this week's issue?

We take your feedback seriously.

Login or Subscribe to participate in polls.

Subscribe to keep reading

This content is free, but you must be subscribed to C# Insights to continue reading.

Already a subscriber?Sign In.Not now

Join the conversation

or to participate.