Click here to Skip to main content
15,867,686 members
Everything / Web Development / ASP.NET / ASP.NET Core

ASP.NET Core

ASP.NET-Core

Great Reads

by Ivan Yakimov
What are certificates in ASP.NET, why we need them, how to create self-signed certificate for testing and use certificates with ASP.NET Core
by Robert_Dyball
Add JSON Web Token Authentication (JWT) using OpenIDDict to our ASP.NET Core + Angular 2 SPA. Source includes VS2015 and VS2017 versions.
by kusnaditjung
Web specification and framework
by thangchung
Learn to organize clean architecture to modular patterns

Latest Articles

by Mohammad Elsheimy
Porting Windows Fonts to Linux
by Zijian
Overcome the 53-bit limitation of number of JavaScript while keeping strongly typed integral types of .NET. Part 2.
by Dev Leader
Learn to create tests, use advanced techniques, and improve your code quality!
by Dev Leader
How to leverage WebApplicationFactory in ASP.NET Core for testing

All Articles

Sort by Score

ASP.NET Core 

14 Oct 2021 by Ivan Yakimov
What are certificates in ASP.NET, why we need them, how to create self-signed certificate for testing and use certificates with ASP.NET Core
9 Mar 2017 by Robert_Dyball
Add JSON Web Token Authentication (JWT) using OpenIDDict to our ASP.NET Core + Angular 2 SPA. Source includes VS2015 and VS2017 versions.
17 Sep 2020 by kusnaditjung
Web specification and framework
22 Oct 2017 by thangchung
Learn to organize clean architecture to modular patterns
13 Oct 2016 by Vincent Maverick Durano
This article will walk you through on building a data-driven web app from scratch within the context of ASP.NET Core 1.0 using Angular 2 and Web API 2.
16 Jun 2021 by Shaun C Curtis
A detailed look at the anatomy and workings of a Blazor Server Component
20 Jan 2020 by Marc Clifton
The Secret Sauce
14 Jan 2018 by Darko Jurić
WebSocket RPC library for .NET with auto JavaScript client code generation, supporting ASP.NET Core.
28 Dec 2016 by Fiyaz Hasan
Learn how dependency injection mechanism has evolved from ASP.NET to ASP.NET Core
1 May 2018 by Shashangka Shekhar
In this post, we will get an overview and generate a basic level code using our database table column that will help in development.
4 Jun 2020 by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
8 Jan 2018 by thangchung
This article will show you how to expose the database schema to the APIs, then query from it. No boilerplate code for simple query actions. Go and read it.
25 Dec 2016 by syed shanu
In this article, let’s see how to create our first ASP.NET Core Angular 2 Starter Application (.NET Core) using Template pack using Entity Framework 1.0.1 and Web API to display data from the database to our Angular2 and ASP.NET Core web application.
16 Mar 2017 by Robert_Dyball
Create a simple data grid that provides list, add, edit and delete and uses a simple 'parent/child' template to provide view, edit or add functionality
29 Nov 2017 by Danny Chu
Learn how to detect if client has JavaScript enabled or disabled at your backend webserver
27 Jan 2019 by syed shanu
Getting started with Angular 7 and ASP.NET Core 2.0 using Angular 7 Web Application (.NET Core) Template and ASP.NET Core MVC Application
1 Dec 2019 by Vincent Maverick Durano
The new version of ApiBoilerPlate has recently been released. In this post, we will take a look at the new features added to the template.
19 Jul 2020 by amitp_naik
WhiteApp or QuickApp API solution template built on Onion Architecture
6 Oct 2020 by Ansel Castro
Leveraging Protobuf and code generation tools to drive the development of microservices and REST APIs
7 Jun 2018 by Habibur Rony
This article mainly covers how to create new build and release definition using VSTS. There are short descriptions of DevOps, continuous integration, continuous delivery and continuous deployment.
26 Nov 2020 by Aram Tchekrekjian
JWT is a very common and easy way to protect APIs in a standard, URL safe and cross-platform methodology.
12 Sep 2023 by Zijian
Code First approach for generating client APIs for ASP.NET Core Web API, in C# and in TypeScript for jQuery, Aurelia, Axios and Angular 2+.
21 Mar 2017 by dsuryd
Simple, lightweight, yet powerful way to build real-time React + C# .NET web apps with dotNetify-React.
21 Feb 2018 by Yunus Emre Kalkan
How to create custom repostories in ASP.NET Boilerplate and use stored procedure, view, user defined functions inside your repository
7 Sep 2018 by Robert Vandenberg Huang
Experiment, run and compare different pathfinding algorithms and heuristic functions
21 Mar 2017 by Robert_Dyball
How to use NSwag to create Typescript data models and data services for Angular 2 and to generate Swagger Web API documentation.
19 Aug 2017 by Afzaal Ahmad Zeeshan
.NET Core 2.0 brings a lot of improvements to the system, and it brings a lot of pain to the developers as well. I had a lot of problems upgrading .NET Core 1.x apps to .NET Core 2.0; I yet have to feel the promise it makes about performance and so, but let us see how to upgrade our existing applica
6 Sep 2017 by User 1043264
How to use SignalR Core in ASP.NET Core 2.0 web applications to provide real-time communication. Continue reading...
1 Aug 2018 by Habibur Rony
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 based authorization.
1 Aug 2018 by Ajcek84
Client-side music notation rendering in Blazor
22 Dec 2018 by Ken Haggerty
Scaffold and modify Identity in the new ASP.NET Core 2.2 Razor pages template
5 Nov 2020 by Ev Uklad
This article describes a technique to serialize models containing dynamic types with System.Text.Json JsonSerializer, that doesn’t support $type.
9 Mar 2022 by Coding Notes
An introduction to ASP.NET Core MVC
2 Nov 2017 by Silvia Campo
How to configure Swagger for web services using token authentication
14 Aug 2018 by Shashangka Shekhar
In this post, we are going to implement dynamic highchart with Angular6 and ASP.NET Core.
28 Jan 2021 by Shaun C Curtis
A practical walkthrough of Async Programming in DotNetCore
10 Apr 2017 by Robert_Dyball
Covering conversion from Angular 2.40 to Angular 4.0 + Publishing the ASP.Net Core / Angular 4 SPA to IIS using VS2017
19 Apr 2017 by Robert_Dyball
Publishing the ASP.Net Core 1.1 / Angular 4 SPA to Azure and external IIS hosts. Also covering code cleanup, optimization, bundling and minification. Gulp, Grunt, Webpack and some architecture and development philosophy.
8 Sep 2017 by User 1043264
How to implement bearer authentication in ASP.NET Core 2.0. Continue reading...
17 Jul 2018 by Karthik. A
User specific implementation of feature flags, which can be used to roll out features targeting specific users without doing multiple releases
12 Nov 2018 by Vlad Neculai Vizitiu
Application triggers for ASP.NET Core 2.1 Entity Framework Core
11 Dec 2018 by Chris A. Johnson
This article is about creating a dynamic menuing system for ASP.NET core.
5 Aug 2019 by Vincent Maverick Durano
This is the first article of the ASP.NET Core and Blazor Code Venture series. The goal of this article series is to build a data driven Blazor app from scratch starting from setting up your development workspace, authentication, data access with CRUD, consuming Rest APIs and down to deployment.
30 Aug 2021 by GerVenson
Why do we need to register all services with service.AddService?
17 Oct 2022 by Aram Tchekrekjian
In this tutorial, we will learn how to implement logging with Serilog in ASP.NET Core Web API.
25 Feb 2020 by ADOConnection
How ASP.NET Core Razor turns templates into assemblies and runs them
30 Jun 2021 by Ekalaivan Chidambaram
About Cookie authentication events
20 Jul 2017 by Fiyaz Hasan
This article shows you how to configure the ASP.NET Core 2.0 MVC File action result to write file to response with cache headers.
5 Sep 2017 by User 1043264
How to handle concurrency in ASP.NET Core Web API. Continue reading...
1 Aug 2018 by dsuryd
How to create a powerful reactive form on an ASP.NET Core Razor Page in MVVM style, with field configuration and validations written in C# and communicating with SignalR.
16 Aug 2018 by Shashangka Shekhar
In this post, we are going to implement braintree payment gateway with ASP.NET Core 2.1
30 Oct 2018 by Leonard E. James
Create initial object model and database and display first Razor Page
18 Dec 2018 by Brady Kelly
How to deserialize objects from a web application"s config file
3 Nov 2019 by MajdaOsmic
This article explains the issues encountered shortly after implementing the ASP.NET Core integration test the same way as explained in the official tutorial, as well as the solution.
8 Feb 2020 by Aram Tchekrekjian
How to create and deploy your first ASP.NET Core Web API on IIS
8 Jul 2020 by zainafzal
How to access DynamoDB locally using ASP.NET Core Web API
29 Nov 2020 by Aram Tchekrekjian
Easily secure ASP.NET Core Web API using API Key Authentication - just follow a few steps and secure your endpoints
12 Feb 2021 by O.Nasri
Steps to create a nice dashboard web page using .NET MVC Core
3 Feb 2021 by Mohammad Elsheimy
Mastercard MIGS payment service and how to capture payments from clients
16 Feb 2021 by Shaun C Curtis
How to build an Edit Framework for Blazor Forms
18 Jul 2022 by DiponRoy
Add execution time as a response header in ASP.NET Core
24 Jan 2023 by bipulmgr
This is the project of ASP.NET Core 7 web API in which we can compress the image.
17 Feb 2017 by Mosti16
Use a custom Authorize Attribute which use a own PermissionProvider with custom Permission-Management.
1 Sep 2017 by User 1043264
How to implement versioning in ASP.NET Core Web API. Continue reading...
8 Apr 2018 by Sem Shekhovtsov
The how-to article that summarises best practices for unit testing ASP NET Core MVC controller using NUnit and Moq framework
20 Jun 2018 by vnmatt
How to take advantage of ASP .NET Core's Razor (.cshtml) views and have dynamic routes for Aurelia
9 Nov 2018 by YasIkeda
Tutorial about how to add authentication functionalities to your existing ASP.NET Core project using Microsoft.AspNetCore.Identity.UI package
21 Mar 2019 by Benktesh Sharma
The caching of HTTP response implies that when an HTTP request is made, the response generated by the server is stored in some place by the browser or the server for potential re-use in successive HTTP request for the same resource.
26 Jun 2019 by Dominic Burford
Try this MailMessage mail = new MailMessage(); mail.To.Add(to); mail.From = new MailAddress(from); mail.Subject = subject; mail.Body = body; mail.IsBodyHtml = true; SmtpClient smtp = new SmtpClient("smtp.gmail.com",587); smtp.EnableSsl = true; smtp.UseDefaultCredentials = false;...
30 Jul 2019 by Lee P Richardson
Fighting File Downloads and Dinosaurs with NSwag via ASP.NET Boilerplate
18 Feb 2020 by SleepyCrat
Create a small "minigame" using asp .net core 3.0, Angular, and websockets implemented using vanilla javascript.
11 Aug 2020 by Shaun C Curtis
A guide to async programming in Blazor
1 Jul 2017 by Milan Stanacev
This article covers internal workings of LiteApi and explains aspects of creating MVC-like WebAPI middleware running on ASP.NET Core .
6 Oct 2017 by User 1043264
How to use Docker and TeamCity to implement continuous integration for ASP.NET Core applications. Continue reading...
31 Jan 2018 by Pawel idzikowski
How to replace the web API request query string to provide case insensitive OData search
12 Nov 2018 by Vlad Neculai Vizitiu
How to add functionality to an ASP.NET Core application outside of a request
2 Feb 2019 by OriginalGriff
First off, you can't prevent the app from closing down "except on a button" - if nothing else any app or process can be killed from the Task Manager, and in that case your app doesn't even get a "shut down" command. When a "normal" exit is happening rather than a forced task kill, you do get a...
6 Jun 2019 by Tom Ling
The code for this example can be found here. What is dependency injection. Dependency injection (DI) is a software design pattern that allows developers to write loosely coupled code.
4 Sep 2019 by CHill60
So it worked for 4 to 5 videos then stopped? Try this Google[^] search - then you will discover that you are limited Quote: To prevent spam, all Dailymotion users are limited to: 10 uploads per day. 2 hours of video per day. 60 minutes per video. You have exceeded your quota.
20 Nov 2019 by Jeremy Likness
Advanced Blazor techniques are covered such as sharing Razor class libraries between a Blazor WebAssembly project and Blazor server-side. Shows how to reference embedded resources like JavaScript libraries, debug on server-side then deploy as client-side and debug in the browser.
21 Jan 2020 by SleepyCrat
A discussion of how the HealthCheck middleware is used to expose endpoints on your site that run a sequence of pre-written tests and provide you with quick diagnostic information about the health of your application.
10 Apr 2020 by Pooyan Behroozfar
How to use an interface called IServiceInstaller that you can use to configure Dependency Injections and then automatically read it with a simple line of reflection code
4 May 2020 by Maciej Los
Quote: In ApiApp table I have date field which is of type string This is bad idea, you have to convert it into datetime ASAP! The only way to convert string data into proper datetime is (this should work also with EF): 1. DateTime.Parse() or 2....
13 Jul 2020 by DiponRoy
Using SFTP/FTP in ASP.NET CORE projects
13 Aug 2020 by Richard Deeming
If you're looking for the details of the site which made the request, you need to look at the "Referer" header. But bear in mind that this may not be set at all, and the value may be entirely under the control of the calling code. Uri callingUrl...
26 Aug 2020 by Lee P Richardson
This is the story of my first site, where I threw the SPA (Single Page Application) into ASP.NET Core's wwwroot directory, and slung it up to Azure App Services as a single site, and called it a day.
21 Mar 2021 by Mohammad Elsheimy
How to prevent Cross-Site Request Forgery attacks in ASP.NET Core, JavaScript and Angular
13 Sep 2021 by OriginalGriff
Excel has limitations: Excel specifications and limits[^] - specifically in your case it is limited to a maximum of 1,048,576 rows by 16,384 columns per sheet. There is no way round that, and while it is possible to break your data into multiple...
16 Jun 2020 by Richard Deeming
The float type in C# maps to the real column type in SQL: SQL Server Data Type Mappings - ADO.NET | Microsoft Docs[^] Confusingly, the float data type in SQL maps to the double type in C#. You'll need to modify your C# property to use the...
7 Jan 2024 by Pete O'Hanlon
Out of the box, you can't automatically generate API documentation for JsonResult. As you aren't returning a concrete type, with a well defined structure for a particular result, it's difficult for Swashbuckle to know what to produce. What you...
8 Nov 2019 by Petru Faurescu
Simplified guide to building a fast, secure web application backend
3 Sep 2016 by Vincent Maverick Durano
A quick walk-through on upgrading Angular 2 app to RC 6 within your ASP.NET Core project.
6 Jun 2017 by Kornfeld Eliyahu Peter
At end of the day ASP.NET MVC will not work properly without those folders (Model, View, Controller)... So even you pick the empty template you will need them, and that means, that you have two choices - add those folders to the empty project, or clean the full project... What to pick? It depend...
4 Jul 2017 by OriginalGriff
No. For starters, never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Use Parametrized queries instead. And it very particularly won't work at all when you write it as a stored...
20 Jul 2017 by Fiyaz Hasan
This article shows you how to enable API versioning for ASP.NET Core Web API following three different techniques.
20 Jul 2017 by Fiyaz Hasan
This article shows you how configure ASP.NET Core AngularSPA starter project to serve a lazy-loaded angular module.
1 Aug 2017 by Toan Manh Nguyen
In this article, you will learn about ASP.NET Core global model validation
5 Sep 2017 by User 1043264
How to implement CRUD using Entity Framework Core and ASP.NET Core. Continue reading