If you need a GUI(Graphical User Interface) this tutorial will show you, How to install an Ubuntu desktop on Google Cloud. UI will look similar to default desktop environment you get on your local ubuntu desktop. For a VM on a cloud platform like GCP, display drivers are usually handled […]
Rename Column Only If Exists in PostgreSQL
In this article, I am going to explain how to rename the column only if a column exists within the table in PostgreSQL. Here, I’ll also explain how to create a table as well as a way to check whether the specified column exists or not in the information_schema, and […]
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 […]
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 […]
C# Code Analysis Using Roslyn Syntax Trivia
Where to start if we want to analyze all the comments in the code? Which syntax tree nodes do we need to traverse to do this? How can we figure out that the analyzed method contains preprocessor directives for conditional compilation? Such elements of the syntax tree as syntax trivia […]
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 […]
Read large text file batch wise using c#
In this article, I’ll show you how to read a large text file in c#. I will also explain how to create batches for reading a large text file using c#. To read the text file I’ll use CustomFileReader class, where i will implement IEnumerable interface to read batch wise sequential […]
Angular 13 CRUD Example with Web API
In this article, we will learn angular crud example with web api as well as way to implement cascading dropdown, searching, sorting, and pagination using angular 13. In this tutorial, we will use the SQL Server database and for the attractive and responsive user interface for our Web app, we will […]
ASP.NET | Multiselect Dropdown List With Checkboxes
In this article, I am going to explain how to implement multi-select drop-down list along with a checkbox in asp.net using jQuery. I will also explain about way to display the selected item/checked values of drop-down list. In this tutorial, I will use jQuery plugin for the multi-select dropdown list. […]
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 […]










