Blogs and Tutorials for ASP.NET Core

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.

CRUD Operations using ASP.NET Web API Core
This tutorial gives you step by step implementation of creating CRUD operations using ASP.NET Web API Core.

Testing ASP.NET Web API using Postman
This tutorial describes how to test GET, POST, PUT, Delete http methods created by ASP.NET Web API. You can test the API using Fiddler or SOAP UI or Postman. For this tutorial we will use Postman.

EF Core Code First Migrations With DataAnnotations Attributes
In this blog post you will use DataAnnotations to configure pre-defined rules and constraints for tables which will be created through EF Core Code First.

Entity Framework Core Code First Migration Using Separate Assembly
This blogpost explains how to achieve Entity Framework code first migrations having Models, DBContext, and Model Snapshot files in assembly different than web or startup projects

Entity Framework Core Database First Tutorial
This tutorial helps to create and update models from an existing database using Entity Framework Core. It explains about Scaffold-DbContext with its parameters like Connection, Provider, OutputDir, Force, Schemas, Tables, DataAnnotations.

How to Configure Entity Relationships using Fluent Api in Entity Framework Core
This blogpost explains how you can configure One-To-One, One-to-Many, Many-To-Many entity relationships using Fluent API in Entity Framework Core.

Using Fluent API in Entity Framework Core Code First
In this blogpost explains how to configure entities using Fluent API of Entity Framework Core or EF6 above versions for the Code First approach.

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

How To Enable HTTP Compression in ASP.NET Website
This article shows how you can use HTTP compression in ASP.NET

Getting Started with ASP.NET MVC Core and .NET 5
In this article, we are going to create a simple ASP.NET MVC Core Web Application using Visual Studio 2019 and .Net 5. We will also add controller, action method, MVC view with Model binding.

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 like BindNever, BindRequired, FromHeader, FromQuery, FromRoute, FromForm, FromServices, FromBody, ModelBinder, and model binding to a list of complex objects.

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
There are often requests that need to be redirected temporarily or permanently from the current request to another request. ASP.NET MVC Core 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.

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