Blogs and Tutorials for .NET Core

Angular Components tutorial
Angular components are classes that serve as a controller for the user interfaces using a template. @@Component decorator used to define components.

Angular directives overview with example
This blog explains what is Angular Directives, types of directives like Component, Structural, Attribute and how to use them in your Angular project.

Getting Started with Angular and Visual Studio Code
This blog post will help you to kick off your angular development by setting up Angular application and running it using Visual Studio Code. This will also explain some Angular basics.

Setting up Development Environment for Angular Applications
This blog post explains how to set up your environment for Angular development. It walks you through the installation of all required dependencies and tools like Node.JS, NPM, Angular CLI, and Visual Studio Code to edit angular files.

ASP.NET Core Application and Kestrel Web Server Settings
This blog post will help you to understand what is Kestrel web Server, how it is related to ASP.NET Core applications, Why Kestrel, Comparison of Kestrel Web Server Vs IIS and https requests with kestrel server.

Access SQL server database from .NET Core Console Application
This blogpost explains how to connect .NET Core Console application to SQL server database and read table data. You will not be using the Entity framework for this. You will inject the dependency of IConfiguration to read appsettings

Convert Datatable to CSV OR List OR JSON string using .NET Core
Using this tutorial you will create a DataTable and convert it's data to CSV file or List object or JSON string.

Reading appsettings.json in .Net Core Class Library Using Dependency Injection
This blog post explains in .net core class library application how to read configuration settings from the web application appsettings.json file by injecting dependency of IConfiguration interface

DataTable Comparison Using LINQ Except, Intersect and Union
This article describes you how to compare DataTables to get matched, unmatched, combine list of all rows in both tables.

Implementing Finalize and Dispose(.NET Framework) in C#
This article describes about implementing between dispose and finalize methods for cleaning up resources. It also tells you the difference between dispose and finalize methods.

Getting Started with ASP.NET Core Web API and Entity Framework
Get started with ASP.NET Core Web API and Entity Framework by building a basic API to get data from SQL Server. And features like CORS Policy, and Logging.

jQuery AJAX AutoComplete in ASP.NET MVC Core
This tutorial explains how to use the jQuery AJAX AutoComplete feature in your ASP.NET MVC Core application. For this, you will use Visual Studio 2019, NET5, EF Core, Web API controller, and AdventureWorks database of SQL Server.

ASP.NET Core MVC Model Binding
This article explains what is model binding in ASP.NET Core MVC and how to use its different attributes while binding the model.

ASP.NET MVC Core Controller Action Method and Types of Action Result
This blog explains what is MVC Controller, Action Method, and different types of ActionResult like HTML returning, Content, Redirect, File, Status Code, Security related.

How To Redirect ASP.NET MVC Core Request
In ASP.NET MVC Core request redirection RedirectResult, RedirectToActionResult, RedirectToRouteResult, LocalRedirectResult can be used for redirection.

ASP.NET Core MVC returning file using Fileresult
This blog explains how you can return files to client from ASP.NET Core application using fileresult actionresults like FileContentResult, FileStreamResult, VirtualFileResult, PhysicalFileResult.

Return different types of content from ASP.NET Core MVC Action Result
ASP.NET Core MVC action result returns different types of content it can be HTML, JSON, string, or empty content. We will explore ViewResult, PartialViewResult, JsonResult, ContentResult, EmptyResult.

Create MongoDB Docker Image and Connect from .NET Core app
This blog creates a Docker MongoDB Image container, database, collection and connnect this container through .NET Core Console app to read table data.

How to use Areas in ASP.NET Core MVC
This blog explains how to create Area in ASP.NET Core MVC application, configure the default area route, link controller action methods from different areas.

How to use ASP.NET Core MVC built-in Filters
ASP.NET Core MVC uses number of built-in filters like Authorization, Resource, Action, Exception, and Result filters.

How to Implement Dependency Injection in .NET Core
.NET Core provides built-in support of dependency injection. This blog will help you to understand how and why to implement dependency injection in .Net Core.

.NET Core Dependency Injection Object Lifetime
In .NET Core, you can register dependencies using three different methods AddSingleton, AddTransient, and AddScoped. This blog explains each of these methods.

How to Setup CORS Policies in ASP.NET Core Web API
This blog explains how to set up CORS policies using default policy, add policy, middleware, endpoint routing, and EnableCors attribute.

Generate Log using Serilog And Seq In ASP.NET Core MVC 6
This blog explains how to generate log using Serilog, its feature like Sink, log level, JSONFormatter, Serilog Enricher, Output Templates and analyze using Seq.

How To Use AutoMapper in ASP.NET Core Web API
This blog explains how to use AutoMapper in ASP.NET Core Web API project, the configuration of AutoMapper, mapping domain, and DTOs, and custom property mapping.