Sukhpinder Singhdotnet.hashnode.dev·Apr 20, 2024Day 30 of 30-Day .NET Challenge: XML v/s JSON SerializationIntroduction Serialization involves a process of converting an object into an easily stored format. The article demonstrates the problem with old XML Serialization and how JSON serialization improves both efficiency and effectiveness. Learning Objec...Discuss30 Day C# Challengedotnet
Milan Jovanovićmilanjovanovic.hashnode.dev·Apr 20, 2024Introduction to Distributed Tracing With OpenTelemetry in .NETIf you're building or maintaining distributed .NET applications, understanding how they behave is key to ensuring reliability and performance. Distributed systems offer flexibility but introduce complexity, making troubleshooting a headache. Understa...Discuss·40 readsOpenTelemetry
Sukhpinder Singhdotnet.hashnode.dev·Apr 19, 2024Day 29 of 30-Day .NET Challenge: Generics & Custom InterfacesIntroduction Developers often tend to add unnecessary boxing in the code which can hamper application performance. The article demonstrates both inefficient and efficient approaches to avoid the issue. Learning Objectives What is Boxing Why non-gen...Discuss·10 likes30 Day C# Challengedotnet
Deepak Kumar Jainthoughtcopy.com·Apr 19, 2024Options pattern in ASP.NET Core: IntroductionIn this article we will learn about Options pattern in ASP.NET Core for dealing with application configurations. The Options pattern uses the C# classes to access and manage the configurations thus providing more flexibility and type safe approach to...Discuss·11 likes·146 readsasp.net core
Sukhpinder Singhdotnet.hashnode.dev·Apr 18, 2024Day 28 of 30-Day .NET Challenge: Use StackallocIntroduction .Net applications rely on a Garbage collector for memory allocation and deallocation, which simplifies memory management but leads to performance degradation if not managed efficiently. The article demonstrates how to use stackalloc to e...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 16, 2024Day 26 of 30-Day .NET Challenge: Loop UnrollingIntroduction The article demonstrates the advantages of loop unrolling by iterating over multiple items per cycle while adjusting the loop counter accordingly. Learning Objectives The problem with iterating using traditional loops Advantages with l...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Apr 15, 2024Essential C# Developer’s Guide to Troubleshooting Frequent Compile-Time ErrorsIntroduction The article demonstrates common compile-time errors from missing semicolons to type mismatches and solutions to fix those compile-time errors. 1. Missing Semicolon Error Description CS1002: ; expected happens when a developer misses semi...Discusssoftware development
Sudip Bhandariicpcs.hashnode.dev·Apr 15, 2024Role-Based Authentication in ASP.NETUseAddRoles<IdentityRole>to add role management capabilities. builder.Services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true) .AddRoles<IdentityRole>() .AddEntityFrameworkStores<AuthenticationCon...Discuss·76 readsauthentication
Sukhpinder Singhdotnet.hashnode.dev·Apr 14, 2024Day 24 of 30-Day .NET Challenge: Avoid Exceptions in Flow ControlIntroduction Exceptions are designed to handle unexpected situations rather than controlling the application flow. Using exceptions during input validation can affect your application's readability and performance. Learning Objectives The inefficien...Discuss30 Day C# Challengedotnet
Osman M Elsayedosmanmelsayed.com·Apr 13, 2024Tracking Duende Identity Server's license validityThe problem Do you want to check the validity of identity at runtime, but couldn't find the proper API exposed by Duende Identity Server that you can consume to achieve this? Have you just updated the license with a new one but you aren't sure if y...Discuss·26 readsduende identity server