Best of C#March 2024

  1. 1
    Article
    Avatar of mwaseemzakirWaseem .NET Newsletter·2y

    EP 52 : Best Practices for .NET Projects

    This post discusses best practices for .NET projects, including optimal folder structure, utilizing shared class libraries, organizing constants, installing necessary class libraries, cleaning up Program.cs, setting up a global exception handler, and leveraging tools and strategies for .NET development enhancement.

  2. 2
    Article
    Avatar of watercoolerWatercooler·2y

    -

    The post covers a variety of topics related to dotnet, dotnet core, C#, and web development. It provides recommendations and information on current tech news.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Learn C# Programming

    Learn C# programming from basics to advanced concepts with engaging mini-projects. Set up your C# development environment, understand data types and operators, and explore advanced topics like object-oriented programming. Watch the full course on freeCodeCamp.org YouTube channel.

  4. 4
    Article
    Avatar of dotnet.NET Blog·2y

    Unity extension for Visual Studio Code

    The Unity extension for Visual Studio Code is now generally available, offering comprehensive toolkit for Unity development on Windows, macOS, and Linux. It includes features like code editing powered by Roslyn and debugging Unity games.

  5. 5
    Article
    Avatar of mwaseemzakirWaseem .NET Newsletter·2y

    EP 51 : Null Object Pattern in C#

    The Null Object Pattern in C# provides a way to handle null values by returning a default object representing null instead of throwing a null exception. It can be used in situations where you want to provide default implementations for methods, simplify code with frequent null checks, or reduce the complexity of handling null references. However, it's important to carefully consider the design and requirements of your application before applying this pattern.

  6. 6
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Fast SQL Bulk Inserts With C# and EF Core

    Explore various options for performing fast SQL bulk inserts in C#, including Dapper, EF Core, EF Core Bulk Extensions, and SQL Bulk Copy.

  7. 7
    Article
    Avatar of syncfusionSyncfusion·2y

    Working with yield in C#

    Explore C#’s yield keyword for efficient code. Understand its history, usage, and memory benefits, making code cleaner and reducing memory usage.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Using Inertia with Laravel in 2024

    Learn about Inertia and why you might choose to use it with Laravel in 2024. Discover the benefits of using Inertia, such as avoiding the need to create a separate API, improving performance, and writing all frontend code in JavaScript. Find out how to leverage features like server-side rendering and Inertia forms. Get tips for maximizing the benefits of Inertia, including using Ziggy for routing, using Laravel form requests, and using Inertia middleware to share common data across pages.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    betwixt-labs/bebop: 🎷No ceremony, just code. Blazing fast, typesafe binary serialization.

    Bebop is a blazing fast, typesafe binary serialization format that outperforms Protocol Buffers and JSON.

  10. 10
    Article
    Avatar of hanselmanScott Hanselman·2y

    Updating to .NET 8, updating to IHostBuilder, and running Playwright Tests within NUnit headless or headed on any OS

    Learn how to update to .NET 8, switch to using IHostBuilder, and run Playwright tests in NUnit in both headless and headed modes on any operating system.

  11. 11
    Article
    Avatar of logrocketLogRocket·2y

    Integrating Next.js and SignalR to build real-time web apps

    Learn how to integrate Next.js and SignalR to build real-time web applications. SignalR is an open source ASP.NET library that simplifies the process of building real-time web apps. Integrating Next.js and SignalR allows for performant, scalable, and SEO-rich real-time applications. The tutorial covers the setup process, creating a SignalR hub, building a Next.js frontend, and addressing challenges and solutions of integrating .NET real-time capabilities within a JavaScript environment.

  12. 12
    Article
    Avatar of codemazeCode Maze·2y

    Using Memory For Efficient Memory Management in C#

    Explore Memory<T> in C#, its features, advantages, ownership models, and practical usage scenarios. Learn how to allocate Memory<T> on both stack and heap, and discover practical scenarios for using Memory<T> in C#.

  13. 13
    Article
    Avatar of codemazeCode Maze·2y

    Comparing Performance of the switch and if-else Statements in C#

    This post compares the performance of if-else and switch statements in C#, highlighting the benefits of using switch statements for multiple comparisons. It also explores the impact of switch expressions and pattern matching on performance. The post discusses common mistakes and best practices for using if-else and switch statements in C#.

  14. 14
    Article
    Avatar of csharpcornerC# Corner·2y

    Class vs. Record vs. Struct in C#

    Understanding the differences between classes, records, and structs in C#. Classes are used for encapsulating data and behavior, records are primarily used for immutable data modeling, and structs are ideal for small lightweight objects.