”Static code analyzer” sounds a bit complicated, doesn’t it? What if after reading this small note, you will have enough knowledge to create your own static analyzer? Interested? Let’s get started! Overview and Preparation All further static analyzer development will be based on .NET Compiler Platform aka Roslyn. This platform […]
Create REST API with ASP.NET Core 5.0 And Entity Framework Core
In this article, we will learn how to create a web API project with ASP.NET Core 5.0 and entity framework core. Here I’ll show you how to CRUD (Create, Read, Update and Delete) operations on SQL server database table using the ASP.NET Core 5.0 REST API and Entity Framework Core. […]
First() vs FirstOrDefault() in C# | How to Use Methods that Return Default Values
Which method should you use to get the first collection’s element that meets a certain condition – ‘First‘ or ‘FirstOrDefault‘? What should you choose to get the last element – ‘Last‘ or ‘LastOrDefault‘? At first glance, the choice may not be obvious. Hopefully, this article will answer these questions and […]
The object doesn’t support property or method ‘includes’ in IE 8
Introduction In this article, I am going to explain how to fix the error Object doesn’t support property or method ‘includes’ as well as Object doesn’t support property or method ‘indexOf’ in internet explorer (IE) browser. Here, I will also explain about prototype and Polyfill in the javaScript. This is […]
C# Code Analysis With Roslyn’s Syntax Trees
Introduction In the previous article, we compared Visual Studio’s templates that one can use to build their own static analyzer. There we detailed how to write your first simple analyzer and talked about how Roslyn maps source code as syntax trees. Now we will talk about syntax tree structure in […]
C# Code Analysis Using Roslyn Semantic Model
Introduction In the previous notes, we analyzed the source files, relying entirely on the syntax tree and traversing its nodes. In many cases, traversing a single syntax tree is not enough to perform deep analysis. Here the concept ”semantic model’‘ comes in handy. A semantic model opens up new possibilities […]
Reading Request Body in ASP.NET MVC
In this article, I will explain how to read the JSON POST request body in ASP.NET MVC. Here I’ll also explain different kinds of ways to read the request body in the action method of the MVC controller. Here I’ll also show how you can pass data into the request […]
C# | Read Delimited Text File
In this article, I’ll show you how to read a delimited text file in c#. To read the text file I’ll use TextReader class to read a sequential series of characters as well as texts from a text file, this class is found in the System.IO namespace or library. Here, […]
Pass DataTable to Stored Procedure as Parameter in C#
In this article, I am going to explain how to pass DataTable to the stored procedure as a parameter. Here I will also explain how to create user-defined table types, stored procedures as well as reading data from notepads. I have seen, many developers get requirements for getting records from […]
Google Cloud Platform For Student
in this article, I will explain how to get free google cloud education credits as a student developer. as per the google cloud education programs, google cloud is offering free cloud credit for students to help them and build their future careers in the sector. Here, I’ll also explain what […]








