Category: C#

JSON Serialization and Deserialization in ASP.NET Core

JSON Serialization and Deserialization in ASP.NET Core

This blog is going to explain how to serialize and deserialize the JSON(JavaScript Object Notation) in ASP.NET Core. Here I used System.Text.Json namespace to serialize and deserialize the JSON. Let...

Readmore

Is and As operators in C#

Both 'is' and 'as' operators are used for type casting. But there are significant differences in these keywords Is Operator The Is operator is used to check the type during...

Readmore

Dynamic Vs Var in C#

Using the dynamic keyword vs the var keyword can be confusing. In this post I am going to explain the differences between dynamic and var keywords. dynamic - is just...

Readmore

What’s New in C# 8.0

Microsoft has a couple of exciting features in C#. This blog will brief about the new features for C# language. Default Interface Methods Default interface methods allow developers to use...

Readmore

Dot Net Application to check for a password that is not part of a dictionary attack

This is a blog about how to create a .NET application to identify that your password is safe from hackers. How hackers try to hack your email or social media...

Readmore

Tips for writing clean code in C#

This post will help you speed up your C# code and provides many tricks that every professional developer must know. 1. Validating input "first" Look at the code snippet below...

Readmore

Extract the value from the Frame Element [C#]

In this blog, we are going to learn how to extract the value of the element which is present inside a FRAME. A FRAMESET is a collection of FRAMES. The FRAME helps...

Readmore