#aspnet-core
ASP.NET Core stories
ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications.
- posts
- 10
- snippets
- 0
- stories
- 82
- videos
- 17
- tools
- 1
-
milanjovanovic.tech ·
How To Easily Create PDF Documents in ASP.NET Core (opens in a new tab)Reporting is essential for business applications like e-commerce, shipping, fintech, etc. One of the most popular document formats for reporting purposes is PDF. Today I want to show you a few interesting ways to generate PDF files in .NET.
-
khalidabuhakmeh.com ·
ASP.NET Core Display Description Tag Helper | Khalid Abuhakmeh (opens in a new tab)An ASP.NET Core Tag Helper to Use the DisplayAttribute Description for HTML UI elements
-
jeremydmiller.com ·
Alba for Effective ASP.Net Core Integration Testing – The Shade Tree Developer (opens in a new tab)Alba is a small library that enables easy integration testing of ASP.Net Core routes completely in process within an NUnit/xUnit.Net/MSTest project.
-
coderethinked.com ·
Contextual Feature Filters in ASP.NET Core - Code Rethinked (opens in a new tab)Contextual feature filters are helpful and allow you to enable/disable a feature based on the context supplied.
-
medium.com ·
Next.js meets ASP .NET Core — a story of performance and love at long tail | by David Nissimoff | Medium (opens in a new tab)If you are a frontend developer, chances are you have heard of or you actively use Next.js. And if you are a backend developer (or not), surely Node.js more than rings a bell. Afterall, if one wants…
-
code-maze.com ·
How to Register Services for Different Environments in .NET - Code Maze (opens in a new tab)In this article, we are going to show you how to register services for different environments in .NET application.
-
techcommunity.microsoft.com ·
Hardening an ASP.NET container running on Kubernetes - Microsoft Tech Community (opens in a new tab) -
mazeez.dev ·
Muhammad Azeez - Mocking Authentication and Authorization in ASP.NET Core Integration Tests (opens in a new tab) -
devblogs.microsoft.com ·
ASP.NET Core updates in .NET 7 Preview 6 - .NET Blog (opens in a new tab) -
devblogs.microsoft.com ·
.NET Core 3.1 will reach End of Support on December 13, 2022 - .NET Blog (opens in a new tab).NET Core 3.1 will reach end of support on December 13, 2022, this blog breaks down all the valuable information you need to know and how to update to .NET 6.0.
-
devblogs.microsoft.com ·
Introducing the private preview of port tunneling in Visual Studio for ASP.NET Core projects - Visual Studio Blog (opens in a new tab) -
cheatsheetseries.owasp.org ·
Mass Assignment - OWASP Cheat Sheet Series (opens in a new tab)Website with the collection of all the cheat sheets of the project.
-
ardalis.com ·
Solved - An attempt was made to access a socket in a way forbidden | Blog (opens in a new tab)If you're seeing an error that says 'An attempt was made to access a socket in a way forbidden by its access permissions.' this may fix it.
-
devblogs.microsoft.com ·
ASP.NET Core updates in .NET 7 Preview 1 - .NET Blog (opens in a new tab) -
davecallan.com ·
Override appsettings.json connection strings by setting them directly in the portal when using Azure App Service (opens in a new tab) -
learmoreseekmore.com ·
Use Azure Cache For Redis In AspNetCore Application Using Distributed Cache Technique[.NET6] (opens in a new tab)In this article, we are going to do a small demo on integrating Azure Redis Cache into the AspNetCore Application using Distributed cache
-
hanselman.com ·
Setting up Azure DevOps CI/CD for a .NET Core 3.1 Web App hosted in Azure App Service for Linux (opens in a new tab) -
andrewlock.net ·
Should you unit-test API/MVC controllers in ASP.NET Core? (opens in a new tab)In this post I discuss unit testing of API/MVC controllers in ASP.NET Core and some of the difficulties you face.
-
hanselman.com ·
Minimal APIs in .NET 6 but where are the Unit Tests? (opens in a new tab) -
linkedin.com ·
Asp.Net Core MVC: a common base controller (opens in a new tab) -
josef.codes ·
ASP.NET Core 6 - HttpLogging - log requests/responses (opens in a new tab)Log http requests/responses using ASP.NET Core HttpLoggingMiddleware.
-
docs.microsoft.com ·
Implement resiliency in a cloud-native ASP.NET Core microservice - Learn | Microsoft Docs (opens in a new tab)This module guides you through implementing resiliency in an ASP.NET Core microservices app in Azure Kubernetes Service.
-
devblogs.microsoft.com ·
ASP.NET Core updates in .NET 6 Preview 4 | ASP.NET Blog (opens in a new tab) -
devblogs.microsoft.com ·
Best practices for using Azure SDK with ASP.NET Core | Azure SDK Blog (opens in a new tab) -
garywoodfine.com ·
Developing Api's using Http Endpoints | Gary Woodfine (opens in a new tab) -
andrewlock.net ·
Debugging configuration values in ASP.NET Core (opens in a new tab)In this post I show how to use IConfigurationRoot.GetDebugView(), walk through its implementation, and describe how to expose the data as an API.
-
devblogs.microsoft.com ·
HttpClientFactory in the Azure Cosmos DB .NET SDK | Azure Cosmos DB Blog (opens in a new tab)Learn to leverage HttpClientFactory in the .NET SDK to improve connection reuse across your applications that rely on HttpClient.
-
telerik.com ·
How to Get HttpContext ASP.NET Core (opens in a new tab)In this article, we will discuss what HttpContext is and how to use it in a controller, plus how to register and use it in service.
-
dev.to ·
REST API versioning with ASP.NET Core (opens in a new tab) -
rehansaeed.com ·
Exporting Open Telemetry Data to Jaeger - Muhammad Rehan Saeed (opens in a new tab) -
khalidabuhakmeh.com ·
Hosting Two ASP.NET Core Apps In One Host | Khalid Abuhakmeh (opens in a new tab) -
rehansaeed.com ·
Open Telemetry for ASP.NET Core (opens in a new tab) -
freecodecamp.org ·
How to easily implement QRCoder in ASP.NET Core using C# (opens in a new tab) -
oz-code.com ·
8 Must-Know NuGet Packages for an ASP.NET Core Application - Ozcode (opens in a new tab) -
andrewlock.net ·
Tips, tricks, and edge cases: Deploying ASP.NET Core applications to Kubernetes - Part 12 (opens in a new tab)In this post I describe some of the smaller pieces of advice, tips, and info I found when running applications on Kubernetes
-
blog.rsuter.com ·
Dependency Injection in .NET: A way to work around missing named registrations - Rico Suter's blog. (opens in a new tab)The default .NET dependency injection container does not provide a way to register named services. This article shows a technique to solve this by adding a generic marker parameter to the service interface so that it can be registered multiple times and resolved with the marker type.
-
medium.com ·
Scheduling background jobs with Hangfire in ASP.NET Core | by Shan Ke | Medium (opens in a new tab) -
blog.elmah.io ·
How to send push notifications to a browser in ASP.NET Core | elmah.io (opens in a new tab)In this article, we will show how you can subscribe to Push Notifications using ASP.NET Core and how you can send Push Notifications from .NET as well.
-
offering.solutions ·
Uploading Files to Azure Blob Storage with Angular and ASP.NET Core (opens in a new tab) -
jasongaylord.com ·
REST API Versioning Using ASP.NET Core (opens in a new tab) -
code-maze.com ·
CQRS and MediatR in ASP.NET Core - Code Maze (opens in a new tab)How to use the MediatR NuGet library in ASP.NET Core, and working with the CQRS and Mediator architectural patterns.
-
roundthecode.com ·
Four Reasons Why Your ASP.NET Core Application is Not Working in IIS (opens in a new tab)ASP.NET Core Application Not Working in IIS? We fix Interval Server Errors 500.19 & 500.21, plus 500.30 ANCM In-Process Start Failure
-
underscorehao.net ·
Publishing to Multiple Topics in Azure Service Bus (opens in a new tab) -
devblogs.microsoft.com ·
Adding Observability to .NET Core Apps ASP.NET Blog (opens in a new tab)Based on customers using .NET Core in different environments, this article explores options for adding observability to .NET Core apps.
-
damienbod.com ·
Using Certificates from Azure Key Vault in ASP.NET Core | Software Engineering (opens in a new tab)This post shows how you can create and use X509 certificates in Azure Key Vault. The certificates are created using Azure CLI and are used inside an ASP.NET Core application. Code: StsServerIdentity/Services/Certificate Setup using Azure CLI Azure CLI can be used to setup the Azure Key Vault and also create certificates for an existing Key…
-
kasunkodagoda.com ·
Feature Flags for ASP.Net Core Applications using Microsoft.FeatureManagement Library | Kasun Kodagoda (opens in a new tab)Using Microsoft.FeatureManagement libararies implementing feature flags for ASP.Net Core MVC applications has never been easier. Learn how.
-
code-maze.com ·
Configuring and Using Swagger UI in ASP.NET Core Web API - Code Maze (opens in a new tab)In this article, we are going to learn how to integrate the Swagger UI in an ASP.NET Core Web API and extend documentations and customizing UI.
-
telerik.com ·
Getting Value from appsettings.json in .NET Core (opens in a new tab)Learn how to fetch properties or values from appsettings.json in .NET Core. We’ll cover it using both IConfiguration and Options Pattern.
-
adamstorr.azurewebsites.net ·
ASP.NET Core Exploring Custom Middleware (opens in a new tab)Exploring creating and consuming custom middleware in ASP.NET core and it's configuration
-
devtrends.co.uk ·
Conditional Middleware based on request in ASP.NET Core (opens in a new tab)This post looks at how to configure ASP.NET Core middleware in a way that allows you to have different middleware for different types of request.
-
andrewlock.net ·
Excluding health check endpoints from Serilog request logging: Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 4 (opens in a new tab)In this post I show how to skip the summary log for some requests when using Serilog.AspNetCore's request logging middleware
-
codeopinion.com ·
HTTP API Problem Details in ASP.NET Core - CodeOpinion (opens in a new tab)Writing HTTP API's in ASP.NET Core? Here's how to use RFC 7807 Problem Details in ASP.NET Core when creating HTTP API's.
-
andrewlock.net ·
Logging the selected Endpoint Name with Serilog: Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 2 (opens in a new tab)In this post I show how to add extra details to Serilog.AspNetCore's request logging middleware, such as the host name or the selected Endpoint name.
-
strathweb.com ·
Centralized exception handling and request validation in ASP.NET Core | StrathWeb. A free flowing web tech monologue. (opens in a new tab) -
github.com ·
blowdart/AspNetAuthorizationWorkshop (opens in a new tab)A workshop for moving through the various new pieces in ASP.NET Core Authorization - blowdart/AspNetAuthorizationWorkshop
-
strathweb.com ·
ASP.NET Core MVC 3.x – AddMvc(), AddMvcCore(), AddControllers() and other bootstrapping approaches | StrathWeb. A free flowing web tech monologue. (opens in a new tab)There are several ways of bootstrapping your MVC applications on top of ASP.NET Core 3.x...
-
itnext.io ·
Smaller Docker Images for ASP.NET Core Apps (opens in a new tab)In this article, I will keep efficiency in mind to describe several ways of .NET Core deployment on Docker. To start deploying on Docker we need a sample project. I will use the default ASP.NET Core…
-
mariusschulz.com ·
Getting the Web Root Path and the Content Root Path in ASP.NET Core (opens in a new tab)ASP.NET Core exposes an application's web and content root paths through the IWebHostEnvironment service, which is available via the built-in dependency injection system.
-
michalbialecki.com ·
ASP.Net Core 3 – Dependency Injection – Michał Białecki Blog (opens in a new tab) -
baldbeardedbuilder.com ·
Adding HATEOAS to an ASP.NET Core API (opens in a new tab)Implement simple JSON HATEOAS support to an ASP.NET Core web API
-
andrewlock.net ·
Reducing log verbosity with Serilog RequestLogging: Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 1 (opens in a new tab)In this post I describe how you can use Serilog.AspNetCore to reduce the number of logs generated by every request in ASP.NET Core 3.0
-
codeburst.io ·
OTP Login with .NET Core for Mobile-Friendly Web Apps (opens in a new tab)When we build web applications, implementing authentication plays a vital role in providing personalized and secure services to users. But as we all know, typical authentication mechanisms like…
-
fullstackmark.com ·
User Authentication and Identity with Angular, Asp.Net Core and IdentityServer (opens in a new tab)In this post, we'll build an authentication and authorization flow based on the implicit grant type using OAuth2 and OpenID Connect protocols to authenticate an Angular SPA client against IdentityServer4 with the ultimate goal of making authorized requests against a protected ASP.NET Core Web API.
-
nblumhardt.com ·
Setting up Serilog in ASP.NET Core 3 (opens in a new tab)TL; DR: I’ve put down everything I can think of about getting set up for successful production diagnostics using Serilog and ASP.NET Core.
-
asp.net-hacker.rocks ·
New in ASP.NET Core 3.0: Worker Services (opens in a new tab)In this post I'm giving a quick introduction into the Worker Services and what you can do with it. I'm also introducing a small project that shows the usage of Worker Services, gRPC and many more cool new ASP.NET Core 3.0 stuff.
-
hanselman.com ·
How to reference an existing .NET Framework Project in an ASP.NET Core 1.0 Web App (opens in a new tab)I had a reader send me a question yesterday. She basically wanted to use her existing .NET Framework libraries in an ASP.NET Core application, and it wasn't ...
-
dotnet.microsoft.com ·
.NET Videos | Free videos from the .NET team and community (opens in a new tab)Free videos for learning all aspects of the .NET developer platform, including web, mobile, desktop, C#, machine learning, containers/docker, and data access.
-
talkingdotnet.com ·
A clean way to add Swagger to ASP.NET Core application (opens in a new tab)In this post find out a clean way to add Swagger to ASP.NET Core application using extension methods to make startup.cs clean and manageable.
-
rimdev.io ·
Avoiding ASP.Net Core Configuration Pitfalls With Array Values (opens in a new tab)ASP.NET Core continues to improve on the legacy of the .NET Framework. Our team is impressed with its performance and excited about future possibilities, but change is seldom a smooth transition. In this post, I’ll explain a pitfall you may run into using the newest configuration model in .NET Core and options to mitigate the issue.
-
adamstorr.azurewebsites.net ·
Adam Storr - Multiple Ways to Register Your Dependencies with ASP.NET Core 3 (opens in a new tab)Exploring the multiple ways you can register your service dependencies with the new IHost found in ASP.NET Core 3 (Preview).
-
jerriepelser.com ·
Access your local ASP.NET Core web application from the public web (opens in a new tab)ngrok is tunnelling software that allows you to expose your local web server to the outside world. This is ideal for scenarios like testing webhooks.
-
techcommunity.microsoft.com ·
How to integrate Vue.js and ASP.NET Core using SPA Extension (opens in a new tab)By KazukiOta
-
josefottosson.se ·
ASP.NET Core - Protect your API with API Keys (opens in a new tab)Josef Ottosson - I will show you how to protect your ASP.NET Core endpoints by using the concept of API keys. We will also learn the difference between Authentication and Authorization.
-
andrewlock.net ·
Serializing a PascalCase Newtonsoft.Json JObject to camelCase (opens in a new tab)In this post Andrew Lock describe one of the quirks of serializing JSON.NET JObject (contract resolvers are not honoured), and show how to get camelCase names when serializing a JObject that stored its property names in PascalCase.
-
codeproject.com ·
Creating ASP.NET Core 2.2 Application Step-by-Step (opens in a new tab)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 Library, etc.
-
espressocoder.com ·
Getting Started with Docker in Visual Studio 2019 (opens in a new tab)Adding strongly typed configuration settings and injected them through dependency injection.
-
andrewlock.net ·
Introducing Microsoft.FeatureManagement (opens in a new tab)Adding feature flags to an ASP.NET Core app - Part 1
-
jerriepelser.com ·
Automatic reconnects with SignalR 3.0 (opens in a new tab)In ASP.NET Core 3.0, Microsoft is updating the SignalR client by adding the ability to automatically reconnect when a connection is dropped. This blog post will show you how you can use this feature.
-
scottbrady91.com ·
Implementing Sign In with Apple in ASP.NET Core (opens in a new tab)A primer on Sign In with Apple, including an example integration in ASP.NET Core
-
wakeupandcode.com ·
Worker Service in ASP .NET Core (opens in a new tab)This is the twenty-third of a series of posts on ASP .NET Core in 2019 - Wake Up And Code!
-
adamstorr.azurewebsites.net ·
Beyond Basics - ASP.Net Core Adding and Using Configuration (opens in a new tab)Adding strongly typed configuration settings and injected them through dependency injection.
-
wakeupandcode.com ·
Validation in ASP .NET Core (opens in a new tab)This is the twenty-second of a series of posts on ASP .NET Core in 2019 - Wake Up And Code!