Sukhpinder Singhdotnet.hashnode.dev·4 hours agoDay 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
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
Hirusha Fernandohirushafernando.hashnode.dev·Apr 13, 2024Ant Blazor Modal Using Modal ComponentIn my previous article, I talked about how to create Ant Blazor modal dialog using the services. Today, let’s how to create a modal dialog using Ant Design Blazor’s Modal Component. Let’s start with a basic example. <Button Type="@ButtonType.Primary"...DiscussAnt BlazorBlazor
behrooz bozorgchamyblog.behroozbc.ir·Apr 12, 2024NumPy replacement in the .NET world( C# and F#)NumPy is a popular Python library that provides powerful tools for working with arrays, matrices, and numerical computations. In this blog post, I will introduce some of packages to use it in the .NET application and systems and write your program in...Discuss·139 readsnumpy
Rahul Nathrahulpnath.hashnode.dev·Apr 3, 20245 Recommended Patterns When Using Cancellation Token in .NETAre you passing around the CancellationToken to all your functions blindly? Stop using Cancellation Tokens the wrong way in .NET! CancellationTokens in .NET allows the caller to express lost interest in the result of an operation. This can be at a Fu...Discussdotnet
Sukhpinder Singhdotnet.hashnode.dev·Mar 30, 2024Day 12 of 30-Day .NET Challenge: Azure FunctionsIntroduction Azure Functions are serverless applications on Microsoft Azure Cloud Platform without worrying about the infrastructure to run it. It’s very similar to the lambda function in the AWS Cloud. Learning Objectives Create a function using Vi...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Mar 28, 2024Day 9 of 30-Day .NET Challenge: Null SafetyIntroduction The article demonstrates the use of null-state analysis to remove compiler warnings of “check code for null safety”. Learning Objectives Discover how to set up the nullable context in your C# project or codebase. Prerequisites for Develo...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Mar 26, 2024Day 7 of 30-Day .NET Challenge: String built-in Methods Part 2Introduction The article demonstrates the IndexOfAny() method to locate the initial occurrence of any string from a chosen array. Additionally, you utilize LastIndexOf() to pinpoint the last occurrence of a string within another string. Learning Obje...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Mar 25, 2024Day 6 of 30-Day .NET Challenge: String built-in MethodsIntroduction The module demonstrates string helper methods to pinpoint and extract the desired information. Learning Objectives Locate the position of a character or substring within another string Retrieve segments of strings Prerequisites for D...Discuss30 Day C# Challengedotnet
Sukhpinder Singhdotnet.hashnode.dev·Mar 22, 2024Primary Constructors in C# 12Introduction In C# 12, primary constructors play a crucial role in defining the behaviour of classes and structs. By adding parameters to a struct or class declaration, you can create a primary constructor. Use Cases Base Constructor Invocation: Pas...Discuss2Articles1Week