TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About ASP.NET Core 2
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Guest User (46)
Shweta Lodha (10)
Ankit Sharma (8)
Jignesh Trivedi (4)
Chittaranjan Swain (4)
Syed Shanu (4)
Mukesh Kumar (3)
John Kocer (2)
Debasis Saha (2)
Joao Sousa (2)
Mahesh Chand (2)
Sanjay Debnath (2)
Habibur Rony (1)
Navaneeth Krishnan (1)
Ecco Suprastyo (1)
Jigar Patel (1)
Jayesh Agrawal (1)
Ravi Raghav (1)
Khuram Shahzad (1)
Rebai Hamida (1)
Gaurav Jain (1)
Neel Bhatt (1)
Daniel Donbavand (1)
Related resources for ASP.NET Core 2
No resource found
Role Base Authorization In ASP.NET Core 2.1
9/23/2024 9:34:36 AM.
In this article, we explore Role-Based Authorization in ASP.NET Core 2.1, explaining how to secure applications by assigning user roles and managing access control.
Overview Of Identity In ASP.NET Core 2.0
8/2/2024 4:55:35 AM.
It is a membership system that allows us to add login functionality to our application. User may create account and login using credential or can use external login provider such as Google, Microsoft
Publish ASP.NET Core 2.0 Application on IIS
7/31/2024 4:31:52 AM.
It covers preparing your application for deployment, configuring IIS, setting up the hosting environment, and troubleshooting common issues to ensure a smooth and successful deployment.
How To Write Simple Todo CRUD ASP.NET MVC Application
2/21/2024 10:53:51 AM.
This article includes a lab exercise for you to demonstrate what have you learned from this training material to create your own Employee CRUD operation using EmployeeRepository
ASP.NET Core - Expense Manager Using EF Core And Highcharts
2/20/2024 7:31:47 AM.
We will create a personal expense manager using Asp.NET Core 2.1 and Entity Framework core Code first approach with the help of Highcharts to show the expense summary chart and a modal dialog to handl
Authentication And Authorization In ASP.NET Core 2.0 Using Azure Active Directory And OpenID Connect
10/13/2021 12:24:57 AM.
This article mainly covers how to setup and configure Azure AD tenant and integrating Azure AD into asp.net core 2.0 web app for authentication and role base authorization.
ASP.NET Core 2.0 Middleware
11/23/2020 4:58:17 AM.
Create a Hello World app using ASP.NET Core Middleware. Middleware components are called in the order they appear in Configure() method; i.e., the order in which they're added to the pipeline. The
ASP.NET Core 2.0 Empty Project
11/23/2020 4:56:42 AM.
In this article, we will create an empty ASP.NET Core project that doesn’t include default features, i.e., an empty shell.
ASP.NET Core 2.0 Dependency Injection
11/23/2020 4:52:49 AM.
Here e will learn how to use ASP.NET Core service container for dependency injection.
ASP.NET Core 2.0 Configuration
11/23/2020 4:46:12 AM.
ASP.NET Core has a simple mechanism to read application settings from various sources like JSON files, Environment variables or even custom data sources. It is also simple to use the settings, thanks
ASP.NET Core 2.0 Environments
11/23/2020 4:40:18 AM.
Starting from an empty project, discussed in a previous post, modify the Configure() method to use the IHostingEnvironment to call different middleware based on current environment.
Azure NoSQL In ASP.NET Core 2.0
11/23/2020 4:36:51 AM.
The sample code will require you to set up an Azure account, NoSQL database and collection.
ASP.NET Core 2.0 Error Pages
11/23/2020 4:27:39 AM.
Starting from an empty project, created in a previous post, amend the Configure() method of Startup class to use middleware needed for error handling. Below I’ve used a custom middleware (defined as l
ASP.NET Core 2.0 Structured Logging
11/23/2020 4:22:56 AM.
This article is about how to work with structured logging in ASP.NET Core and Serilog
Azure Blob Storage In ASP.NET Core 2.0
11/23/2020 4:20:07 AM.
In this article you will learn how to use Azure Blob storage in ASP.NET Core.
ASP.NET Core 2.0 Session State
11/23/2020 4:17:49 AM.
Using an empty project from a previous post, amend Startup class ConfigureServicee() method, and add services for session and its backing store.
ASP.NET Core 2.0 File Providers
11/23/2020 4:15:55 AM.
ASP.NET Core provides an encapsulation of System.IO.File type in order to limit the access to file systems via PhysicalFileProvider type, which is an implementation of IFileProvider.
ASP.NET Core 2.0 Response Compression
11/23/2020 4:08:51 AM.
When you’re unable to use the compression features of web servers (IIS, Apache, Nginx), ASP.NET Core provides an alternate option, Response Compression middleware. It’s performance won’t match server
ASP.NET Core 2.0 MVC Routing
11/23/2020 4:05:21 AM.
Routing in ASP.NET Core MVC is the mechanism through which incoming requests are mapped to controllers and their actions. This is achieved by adding Routing middleware to the pipeline and using IRoute
ASP.NET Core 2.0 MVC Model Binding
11/23/2020 3:58:38 AM.
In a previous post on Routing, I showed how MVC maps URLs to Controller and actions to execute. We touched on the topic of the model binding mechanism through which MVC binds routing template tokens t
ASP.NET Core 2.0 MVC Razor
11/23/2020 3:25:47 AM.
ASP.NET Core MVC middleware will find and execute the Razor template (.cshtml file) when the Controller returns ViewResult. Razor templates use syntax that combine C# and HTML to produce the final HTM
ASP.NET Core 2.0 MVC Layout Pages
11/23/2020 3:10:53 AM.
Layout page is added to the Views/Shared folder and is named (as a convention) _Layout.cshtml. There can be more than one layout pages in your application too.
ASP.NET Core 2.0 MVC Partial Views
11/23/2020 3:08:35 AM.
Partial views are special type of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
ASP.NET Core 2.0 MVC View Components
11/23/2020 3:03:34 AM.
View Components are special types of views that are rendered inside other views. They are useful for reusing parts of a view or splitting a large view into smaller components.
ASP.NET Core 2.0 MVC Areas
11/23/2020 2:59:29 AM.
Razor pages inside Areas folder can use the Layout page located outside it (e.g. in /Views/Shared folder). You can define a separate Layout page for each Area too. Yet another approach is to define a
ASP.NET Core 2.0 MVC Tag Helpers
11/23/2020 2:51:51 AM.
Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. Although they look like HTML elements and attributes, Tag Helpers are processed by Razor (
ASP.NET Core 2.0 MVC Custom Tag Helpers
11/23/2020 2:49:23 AM.
As discussed in the previous post, Tag Helpers help generate HTML by attaching attributes to existing HTML elements or by creating new elements. In this post we’ve created a new tag to display employe
ASP.NET Core 2.0 MVC Distributed Cache Tag Helper
11/23/2020 2:45:12 AM.
Cache and Distributed Cache Tag Helper help improve performance of your application by caching view’s content, either in-memory or in a distributed cache (e.g. Redis). Distributed Cache Tag Helper use
ASP.NET Core 2.0 MVC Filters
11/20/2020 3:54:39 AM.
Filter runs after an action method has been selected to execute. MVC provides built-in filters for things like authorization and caching. Custom filters are very useful to encapsulate reusable code th
Passing Parameters To Middleware In ASP.NET Core 2.0
11/20/2020 3:49:33 AM.
I discussed in an earlier post that it is good practice to define middleware in a separate class and add to the pipeline using extension methods. We may also need to pass information to our middleware
Creating CRUD API In ASP.NET Core 2.0
11/20/2020 3:38:49 AM.
ASP.NET Core gives a unified mechanism for creating MVC and Web API application. The key difference is that Web API will return JSON (or XML) and HTTP status codes instead of views, in order to commun
ASP.NET Core 2.0 Secret Manager
11/20/2020 3:28:43 AM.
I discussed in the previous post how configuration settings can be stored in configuration files. However, these files are checked in the source control and not suitable to store confidential settings
Filtering In ASP.NET Core 2.0 Web API
11/20/2020 3:23:48 AM.
Filtering information is usually received via query parameters. The POCO FilteringParamssimply hold this information and passes to service (or repository).
Paging In ASP.NET Core 2.0 Web API
11/20/2020 3:18:54 AM.
Paging information; i.e., page number and page size, is usually received via query parameters. The POCO PagingParams simply holds this information and passes it to service (or repository).
Sorting In ASP.NET Core 2.0 Web API
11/20/2020 3:10:52 AM.
Sorting information is usually received via query parameters. The POCO SortingParams simply hold this information and passes to service (or repository).
Versioning ASP.NET Core 2.0 Web API
11/20/2020 12:21:27 AM.
As your Web API changes, you would need to add versioning support in order for clients to continue working correctly. Adding versioning support in ASP.NET Core involves first configuring services in S
ASP.NET Core 2.0 Web API AND HATEOAS
11/20/2020 12:16:32 AM.
The idea behind HATEOAS (Hypermedia As The Engine Of Application State) is to transfer links in the resource representations. The sample demonstrates how links can be provided for a collection and ind
Handling Concurrency In ASP.NET Core 2.0 Web API
11/19/2020 11:50:09 PM.
We add a magic value to the response based on data we hold at the time. Usually ETag header is added for this purpose containing hashed value based on data/body of response.
ASP.NET Core 2.0 Tag Helper Component
11/19/2020 11:45:29 PM.
In case you’re wondering if the solution above is missing a Tag Helper for head HTML element, it’s not. ASP.NET Core team has provided us with two built-in Tag Helpers, one targets head and the other
Formatters In ASP.NET Core 2.0 Web API
11/19/2020 11:33:04 PM.
Let us learn about formatters used in ASP.NET Core 2.0 Web API.
Documenting ASP.NET Core 2.0 Web API
11/19/2020 11:26:12 PM.
Documents generated by Swagger can include XML documentation.
Consuming ASP.NET Core 2.0 Web API Using HttpClient
11/19/2020 11:21:57 PM.
We’ll create a library to wrap the functionality of HttpClient. I’ll use builder pattern for this purpose. Add a class with methods for storing parts of HttpClient.
Asynchronous Messaging Using ASP.NET Core 2.0 Web API
11/19/2020 11:15:45 PM.
How to implement asynchronous messaging using ASP.NET Core Web API. Create an empty project and update the Startup class to add services and middleware for MVC.
ASP.NET Core 2.0 Identity
11/11/2020 12:21:33 AM.
In a previous post, I showed how to use cookie authentication middleware to protect your web application. ASP.NET Core also provides a richer set of services, called Identity, to work with user authen
ASP.NET Core 2.0 Bearer Authentication
11/5/2020 4:54:17 AM.
Bearer Tokens (or just Tokens) are commonly used to authenticate Web APIs because they are framework independent, unlike something like Cookie Authentication that is tightly coupled with ASP.NET Core
OpenAPI/ Swagger Using NSwag And ASP.NET Core 2.1
8/26/2020 8:47:46 AM.
In this article, you will learn about OpenAPI/ Swagger Using NSwag and ASP.NET Core 2.1.
Upload/ Download Files In ASP.NET Core 2.0
5/6/2020 5:38:26 AM.
ASP.NET Core MVC model binding provides IFormFile interface to upload one or more files. upload file in ASP.NET Core MVC, upload file in ASP.NET Core, upload file in ASP.NET Core 2.0, upload file in M
ASP.NET Core 2.0 JWT Authentication Example
1/29/2020 6:18:33 PM.
In this article, you will learn about ASP.Net Core 2.0 JWT Authentication with an example.
How To Improve ASP.NET Core 2.2 Web Application Performance Using Compression Middleware
9/28/2019 4:06:30 AM.
In this video, we will learn how to use Response Compression middleware to improve the performance of a web application built in ASP.NET Core 2.2.
Getting Started With ASP.NET Core 2.1 - Part One
9/27/2019 10:30:59 AM.
In this article, you will learn about ASP.NET Core 2.1.
CRUD Operation With ASP.NET Core 2.1 MVC Using .Net Core Class Library Project
8/13/2019 10:29:03 AM.
In this article, you will learn about CRUD Operations with ASP.NET Core 2.1 MVC using .NET Core Class Library Project.
CRUD Operation With ASP.NET Core 2.1 MVC Using ADO.NET
8/7/2019 2:17:24 AM.
In this article you will learn about CRUD Operation with ASP.NET Core 2.1 MVC using ADO.NET.
How To Insert Data To Database Using Model In ASP.NET Core 2.1 MVC Using ADO.NET - Part One
7/26/2019 2:09:57 AM.
In this article, you will learn how to insert data into database using a model in ASP.NET Core 2.1 MVC using ADO.NET.
Creating ASP.NET Core 2.2 Application Step-by-Step
6/11/2019 11:35:12 PM.
This article will walk you through the creation of ASP.NET Core application using ASP.NET Core 2.2 from scratch, by utilizing the capabilities of package manager, EF Core, Identity API, Razor Class Li
Implement Microsoft And Twitter Based Authentication In ASP.NET Core 2.2
5/6/2019 9:10:33 AM.
In this article, we will discuss the steps related to the implementation of Microsoft and Twitter-based authentication using ASP.NET Core 2.2
Create an Angular 7 App with ASP.NET Core 2.1
1/31/2019 10:33:26 PM.
This step by step getting started tutorial explains how to build an Angular 7 Web application by using Angular 7 Web Application (.NET Core) Template and ASP.NET Core MVC Application in Visual Studio
Contact Application - Upgrade ASP.NET Core 2.0 To 2.1
11/26/2018 9:33:08 AM.
In this article, we will look into steps for contact application - upgrade Asp.net Core 2.0 to 2.1. Previously we have used Asp.net Core 2.0.3 for contact application, now upgrade to Asp.net Core 2.1.
ASP.NET Core 2.1 - Implement Entity Framework Core In A Code First Approach
10/17/2018 8:57:06 AM.
In this article, we will discuss the Code-First Approach in Entity Framework Core using ASP.NET Core2.1.
ASP.NET Core 2.1 - Custom TagHelpers
9/18/2018 12:20:57 AM.
TagHelpers are classes written in C#, but are attached to HTML elements to execute server-side code from View Razor. The tag helper enables us to run the server-side code to generate HTML, CSS, Javasc
What Is New In ASP.NET Core 2.2
9/13/2018 11:59:14 AM.
ASP.NET Core 2.2 is here with several new fixes and improvements. This video lists these features and how to use them.
Generating Documentation For Web API 2.0
9/4/2018 8:42:12 AM.
This article focuses on how to generate the documentation to the user of a Web API that gives the feel similar to WSDL.
CRUD Operations Using ASP.NET Core 2.0 And In-Memory Database With Entity Framework
8/16/2018 9:42:27 AM.
In this article, we will create a Web API with the in-memory database using Entity Framework and ASP.NET Core 2.0 without any theoretical explanation.
Configuring HTTPS In ASP.NET Core 2.1
8/9/2018 9:11:10 AM.
HTTPS can be configured with ASP.net core before the .net core framework 1.1 but it was tricky to configure. It was make easier to configure in 2.0 but this configuration is not by default. In this ar
Using DotNet Watcher
8/3/2018 2:09:10 PM.
This is a feature which can be used on the command line to watch our web application. Whenever a C# class is modified and saved, it automatically re-compiles and re-runs whatever command we pass into
Authentication Using External Providers (Hotmail)
7/18/2018 2:12:27 PM.
This article will guide the reader to set up authentication using a Hotmail account in ASP.Net Core 2.0.
Hosting ASP.NET Core 2.0 Application In Docker
7/12/2018 12:28:58 PM.
In today's article, we will create an ASP.NET Core 2.0 MVC web application with docker support and then we will deploy our application in a docker container(Windows 10).
Azure AD B2C With ASP.NET Core 2.0
5/29/2018 12:48:05 PM.
In this writeup, I’ll demonstrate how to use Azure AD B2C to delegate identity and access management to Azure. One of the key difference is that we will not pre-register users in Azure AD using Azure
Azure AD With ASP.NET Core 2.0
5/25/2018 10:05:32 AM.
In this and the next post I’ll demonstrate how to use Azure AD to delegate identity and access management to Azure, simplifying our application.
React In ASP.NET Core 2 By Using Visual Studio 2017 Template
5/25/2018 9:42:56 AM.
Basics of React framework, Properties and State in components, How to use them and basic about the architecture, how components use properties, state and render()
What Is New In ASP.NET Core 2.1
5/21/2018 9:49:56 AM.
Learn what is new in ASP.NET Core 2.1 announced at Build 2018.
ASP.NET Core - CRUD Using Angular 5 And Entity Framework Core
5/18/2018 1:34:54 AM.
CRUD Operations in ASP.NET Core application using Angular 5 , Web API and Entity Framework Core DB first approach with the help of VS 2017.
Setting Up Two-Factor Authentication In ASP.NET Core 2.0
5/17/2018 1:38:23 AM.
This article guides you on how to set up two-factor authentication using ASP.NET Core 2.0.
Build Persisting Layer With ASP.NET Core 2.0 And EF Core 2.0 Using Code First Approach
5/15/2018 3:27:11 PM.
I wrote this article when framework Core 1.0 was introduced as a stable version. But now, we have a lot of changes in the current version Core 2.1.
ASP.NET Core - Using Highcharts With Angular 5
5/3/2018 10:45:41 AM.
We will create an online poll application using ASP.NET Core, Angular 5 and Entity Framework Core. The Poll results will be displayed as a column chart, created using Highcharts.
All About Tag Helpers In ASP.NET Core 2.0
4/11/2018 1:44:00 PM.
This article will provide insight about the tag helpers in the terms of what, where and how.
ASP.NET Core 2.0 User Role Base Menu Management Using Dependency Injection
4/3/2018 12:20:14 AM.
In this article we will see in detail how to display role based dynamic menu after user logs in. For this we will create a Menu Master table and insert few records to display the menu and URL to menu
File Logging And MS SQL Logging Using Serilog With ASP.NET Core 2.0
3/22/2018 9:35:21 AM.
In this article, you will learn File Logging and MS SQL Logging using Serilog with ASP.NET Core 2.0.
All About Pages In ASP.NET Core 2.0
3/17/2018 11:19:21 AM.
This article is about @Page and all the different kinds of pages which come by default with ASP.NET Core 2.0 template.
Getting Started With ASP.NET Core 2.0 Identity And Role Management
3/17/2018 3:10:48 AM.
In this article, we will see in detail how to use ASP.NET Core Identity in MVC Application for creating user roles and displaying the menu depending on user roles.
Mapping Similar Objects In ASP.NET Core 2.0
3/13/2018 10:17:53 AM.
This article is about mapping similar objects of two different classes with reduced lines of code using ASP.NET Core Automapper.
Authentication Using Twitter In ASP.NET Core 2.0
3/12/2018 6:17:56 AM.
In this article, we are going to look into authentication of ASP.NET Core app using Twitter.
Authentication Using Google In ASP.NET Core 2.0
3/12/2018 6:17:50 AM.
In this article, we are going to look into authentication of ASP.NET Core app using a Google account.
Dependency Injection In ASP.NET Core 2.0
3/6/2018 10:18:18 PM.
In this article, we will see in detail how to use Dependency Injection in ASP.NET Core 2.0.
Authentication Using Facebook In ASP.NET Core 2.0
3/6/2018 9:25:48 AM.
In this article we are going to look into authentication of ASP.NET Core app using a Facebook account.
Authentication Using LinkedIn In ASP.NET Core 2.0
3/4/2018 5:12:35 AM.
In this article, we are going to look into authentication of ASP.NET Core app using a LinkedIn account.
ASP.NET Core 2.0 Project Structure And A Few Important Folders/ Files
2/26/2018 10:14:28 AM.
Despite having been widely accepted as a development platform, ASP.Net was facing a big challenge in that it is only made for Windows servers and can only be executed on IIS.
All About Appsettings.json In ASP.NET Core 2.0
2/19/2018 4:31:39 PM.
This article talks about the use of maintaining multiple configuration files for a single solution file and how to do this.
Publish ASP.NET Core 2.0 Application On Azure With SQL Services
2/15/2018 2:54:26 PM.
In this article, we will learn how to deploy or publish an Asp.Net Core 2.0 application on Azure.
ASP.NET Core 2.1 Features - Part One
2/9/2018 12:44:18 PM.
In this post, we will see some of the top features of ASP.NET Core 2.1.
Cookie Authentication With ASP.NET Core 2.0
2/7/2018 4:31:12 PM.
Authentication is an integral part of web security. ASP.NET Core provides multiple ways to implement authentication in a web application. We will be looking into on such technique - Cookie authenticat
CRUD Operations In ASP.NET Core 2 Razor Page With Dapper And Repository Pattern
2/4/2018 12:15:39 PM.
This article will demonstrate how to perform CRUD operations in Razor Page which were introduced with Asp.Net Core 2 using Dapper and Repository Pattern.
Versioning ASP.NET Core 2.0 Web API - Part One
1/25/2018 12:07:40 PM.
In this article series, we are going to explore REST API versioning best practices. At the end of the article series you will be able to pick the best solution for your project needs.
ASP.NET Core 2.0 - Implementing A Third Party Web API
1/22/2018 2:42:06 PM.
A common task for a developer when working with or building an application is implementing and interacting with APIs. In this post we will look at what an API is. We will then move onto creating our o
ASP.NET Core 2.0 - Applying Bootstrap Template
1/18/2018 12:09:41 PM.
This article walks you through the steps for creating an ASP.NET Core 2.0 Web Application using Bootstrap as the template for layout.
Deploying ASP.NET Core 2.0 App To Azure Using Docker
1/18/2018 12:08:04 PM.
Azure provides a highly scalable, configurable and easy to use Platform-as-a-Service (PaaS) environment for our ASP.NET Core web applications. Azure Web App is one of the simplest ways to host web app
Deploy Your First ASP.NET Core 2.0 App In Azure Managed Kubernetes
1/17/2018 5:01:43 PM.
This guide will help you to get started with AKS. We are going to deploy our first ASP.NET Core 2.0 App in AKS and then do some cool stuff like scaling up and down.
Custom Model Binding In ASP.NET Core 2.0
1/17/2018 3:53:30 PM.
In an earlier post I discussed how to prevent insecure object references by encrypting the internal references (e.g. table primary keys) using Data Protection API. To avoid duplication of code that en
Identity Server 4 With ASP.NET Core 2.0
1/17/2018 1:09:01 PM.
OAuth 2 provides several flows or grant types for various use cases. I personally group them into two categories; flows that require user interaction with authorization server and flows that don’t.
Create Your First ASP.NET Core 2.0 Service Fabric Container Application In Windows
1/16/2018 6:19:01 PM.
Learn how to create your first ASP.NET Core 2.0 Service Fabric Container application in Windows.
Using CSP Header In ASP.NET Core 2.0
1/15/2018 5:57:45 PM.
Content Security Policy (CSP) is an additional level of security that could help prevent Cross Site Scripting (XSS) attacks. In these attacks malicious scripts are executed on user’s browser since bro