Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / web / ASP.NET / ASP.NET-Core

ASP.NET-Core

ASP.NET-Core

Great Reads

by Bart-Jan Brouwer
Modern design example for .NET Core MVC with RESTful service
by MukeshKumarTech
In this post, we will learn a few points which can be implemented while developing the website in ASP.NET Core to improve performance.
by Lee P Richardson
How to automatically add current user info to logs in ASP.NET Core
by Rahul Rajat Singh
In this article we will look at how Dependency Injection works in ASP.NET Core.

Latest Articles

by Bart-Jan Brouwer
Modern design example for .NET Core MVC with RESTful service
by MukeshKumarTech
In this post, we will learn a few points which can be implemented while developing the website in ASP.NET Core to improve performance.
by Lee P Richardson
How to automatically add current user info to logs in ASP.NET Core
by Rahul Rajat Singh
In this article we will look at how Dependency Injection works in ASP.NET Core.

All Articles

Sort by Score

ASP.NET-Core 

by Lee P Richardson
How to automatically add current user info to logs in ASP.NET Core
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.
by Jeremy Hutchinson
I’ve been spoiled by Asp.Net and expect app settings to just work, but there is no easily configured app settings story for client-side Blazor yet. What I’m looking for is the ability to set some settings on a per-environment (dev/test/beta/prod) through Azure App Service Application Settings.
by User 1043264
How to perform unit and integration testing of ASP.NET Core and EF Core. Continue reading...
by User 1043264
How to use SignalR Core in ASP.NET Core 2.0 web applications to provide real-time communication. Continue reading...
by User 1043264
How to implement authorization in ASP.NET Core. Continue reading...
by User 1043264
How to implement bearer authentication in ASP.NET Core 2.0. Continue reading...
by User 1043264
How to use distributed caching and Redis in ASP.NET Core. Continue reading...
by User 1043264
How to read configuration settings from various sources and use them throughout your application. Continue reading...
by User 1043264
How to implement cookie authentication in ASP.NET Core 2.0 Continue reading...
by User 1043264
Use ASP.NET Core service container for dependency injection. Continue reading...
by User 1043264
Create an empty ASP.NET Core project that doesn’t include default features i.e. an empty shell. Continue reading...
by User 1043264
How to change the behaviour of your application for different environments. Continue reading...
by User 1043264
How to serve error pages in ASP.NET Core application. Continue reading...
by User 1043264
How to access directory and file information in ASP.NET Core, ensuring restricted access to file system. Continue reading...
by User 1043264
How to use ASP.NET Core Identity to authenticate users and manage their accounts. Continue reading...
by User 1043264
How to log messages (information, errors, warnings) in ASP.NET Core. Continue reading...
by User 1043264
Create a Hello World using ASP.NET Core Middleware. Continue reading...
by User 1043264
How to implement model validation using [Remote] attribute in ASP.NET Core MVC. Continue reading...
by User 1043264
How to structure a large ASP.NET Core MVC application into logical groupings. Continue reading...
by User 1043264
How to run code before and after MVC request pipeline in ASP.NET Core. Continue reading...
by User 1043264
How does model binding work in ASP.NET Core MVC. Continue reading...
by User 1043264
How to validate input models in ASP.NET Core MVC. Continue reading...
by User 1043264
How to reuse parts of web pages using partial views in ASP.NET Core MVC. Continue reading...
by User 1043264
How does routing work in ASP.NET Core MVC. Continue reading...
by User 1043264
How to reuse parts of web pages using view components in ASP.NET Core MVC. Continue reading...
by User 1043264
How to cache responses in ASP.NET Core. Continue reading...
by User 1043264
How to compress responses in ASP.NET Core. Continue reading...
by User 1043264
How do you securely store configuration settings without exposing them to source control in ASP.NET Core. Continue reading...
by User 1043264
How to store data in session state using ASP.NET Core. Continue reading...
by User 1043264
How to serve static content (HTML, CSS, JavaScript, Images) from ASP.NET Core application. Continue reading...
by User 1043264
How to create error pages for specific HTTP status codes in ASP.NET Core, Continue reading...
by User 1043264
How to dynamically write HTML using Tag Helper Components in ASP.NET Core 2.0. Continue reading...
by User 1043264
How to implement URL rewriting in ASP.NET Core. Continue reading...
by User 1043264
How to implement RESTful API and custom media types in ASP.NET Core. Continue reading...
by User 1043264
How to deploy a cluster of ASP.NET Core applications using Docker Swam mode in Azure. Continue reading
by User 1043264
How to implement Azure AD B2C authentication in ASP.NET Core 2.0. Continue reading...
by User 1043264
How to use Azure Blob storage in ASP.NET Core. Continue reading...
by User 1043264
How to use Azure Redis cache in ASP.NET Core. Continue reading...
by User 1043264
How to use Azure Table Storage in ASP.NET Core. Continue reading...
by Jeremy Likness
Build data-driven .NET applications with seamless client-server communication using fluent C# LINQ over OData (like GraphQL but without the JSON).
by User 1043264
How to use Docker and TeamCity to implement continuous integration for ASP.NET Core applications. Continue reading...
by User 1043264
How to implement CRUD using Entity Framework Core and ASP.NET Core. Continue reading
by Chris A. Johnson
This article is about creating a dynamic menuing system for ASP.NET core.
by User 1043264
How to create a CRUD Web API using ASP.NET Core. Continue reading...
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.
by User 1043264
How to add documentation and help pages for ASP.NET Core Web API. Continue reading...
by Passion4Code
This post lists a few features of ASP.NET Core 2.0.
by User 1043264
How to accept and return data in different formats in ASP.NET Core Web API. Continue reading...
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.
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.
by User 1043264
How to handle concurrency in ASP.NET Core Web API. Continue reading...
by Illya Reznykov
PowerShell script that runs command and confirms operation by closing confirmation window
by Arun Endapally
This article would help you in getting started from scratch with Angular 6, ASP.NET Core & Angular CLI using Visual Studio 2017.
by User 1043264
How to use Identity Server 4 with ASP.NET Core 2.0. Continue reading...
by Chris A. Johnson
How to implement 'Batch Mode' using Kendo upload control for ASP.NET Core
by Chris A. Johnson
Implementing an AutoComplete Control on ASP.NET Core using Telerik
by Aram Tchekrekjian
In this tutorial, we will learn how to implement logging with Serilog in ASP.NET Core Web API.
by Lee P Richardson
This post is the story of how to generate an unauthenticated client.
by Dev Leader
Learn to create tests, use advanced techniques, and improve your code quality!
by User 1043264
How do you pass parameters to middleware during its setup in ASP.NET Core. Continue reading...
by User 1043264
How to prevent insecure direct object reference in ASP.NET Core. Continue reading...
by SleepyCrat
Create a small "minigame" using asp .net core 3.0, Angular, and websockets implemented using vanilla javascript.
by Aram Tchekrekjian
Easily secure ASP.NET Core Web API using API Key Authentication - just follow a few steps and secure your endpoints
by Aram Tchekrekjian
JWT is a very common and easy way to protect APIs in a standard, URL safe and cross-platform methodology.
by Lee P Richardson
How to secure external web APIs
by SleepyCrat
How to secure a website using Firebase, Angular 8 and ASP.NET Core 3.1
by User 1043264
How to implement sorting in ASP.NET Core Web API. Continue reading...
by Vincent Maverick Durano
A quick walk-through on upgrading Angular 2 app to RC 6 within your ASP.NET Core project.
by User 1043264
How to upload and download files in ASP.NET Core MVC. Continue reading...
by User 1043264
How to use Content-Security-Policy header in ASP.NET Core to prevent XSS attacks. Continue reading...
by Petru Faurescu
Simplified guide to building a fast, secure web application backend
by User 1043264
How to implement versioning in ASP.NET Core Web API. Continue reading...
by Dev Leader
How to leverage WebApplicationFactory in ASP.NET Core for testing
by Sander Rossel
Azure WebJobs in .NET Core 2.1
by mbarsott
Every time a security problem emerges, an army of bright minds try to find a clever fix. Fortunately, collaboration among these solution finders have also increased exponentially.