The ASP.NET Core, MVC & Web API Magazine

By Dan Wahlin | All about ASP.NET MVC & Web API. Tweet article suggestions to @DanWahlin.

Free-time Programmer - ASP.NET Core 2.0 Authentication and Authorization System Demystified

This post was updated on 18 April 2018 at 22:18. Please see the changelog at the bottom for details.<p>There is a component that exists in ASP.NET Core …

Software Engineering

Create a build pipeline for Angular and ASP.NET Core apps with Visual Studio Team Services

Posted by Anuraj on Sunday, August 5, 2018 Reading time :2 minutes<p>This post is about creating a build pipeline for your Angular and ASP.NET Core apps …

You're using HttpClient wrong and it is destabilizing your software

I’ve been using HttpClient wrong for years and it finally came back to bite me. My site was unstable and my clients furious, with a simple fix …

Software Development

The Polly Project

Azure Cognitive Services is an excellent series of cloud-based APIs that open up a world of artificial intelligence (AI) opportunities that you can …

Disabling parts of ASP.NET Core Identity

This article shows how to disable parts of ASP.NET Core Identity in a Web Application. In the ASP.NET Core Identity, the Identiy UI is deployed as …

Software Development

localtest.me

*.localtest.me<p>localhost testing done right<p>localtest.me<p>Save this URL, memorize it, write it on a sticky note, tweet it, tell your colleagues about …

Adding custom claims to a user during authentication with ASP.NET Core 2.0

Just recently for a small hobby project I needed some way to inject claims to a user after they signed in with Azure AD. Specifically some roles and …

Software Development

Centralized exception handling and request validation in ASP.NET Core

One of the most common things that I have seen developers working with ASP.NET Core struggle with, is the way to centrally and consistently handle …

Software Development

Web Assembly and Blazor: Re-assembling the Web

<i>this post contains contains a subset from the forthcoming CoDe Magazine article in the September/October issue</i>The Web has been powered by a single …

JavaScript

Getting Started with Vue.js in .NET Core using Visual Studio

In this tutorial, besides getting started with Vue.js, we will cover the following:<p>SASS compilation<br>• ES6+ JavaScript transpilation to ES5 with Babel<br>• CSS …

JavaScript

Lupusa Blazor Projects

README.md<p>At this moment there is available only <b>clock component</b>, next weeks/months we will add more components, small canvas based games and etc.<p>For …

Software Development

Welcome to the Blazor preview docs website!

<b>Blazor</b><p>Full-stack web development with C# and WebAssembly<p>Build a Web UI with C#<p>Blazor is an experimental .NET web framework using C# and HTML that …

Blazor 0.5.0 experimental release now available

<i>Update: We released Blazor 0.5.1 to address several customer reported issues. If you have already installed Blazor 0.5.0 please update to the 0.5.1</i> …

ASP.NET Core Razor Pages Vs MVC: Which Will Create Better Web Apps in 2018?

<i>Brace yourself because this is going to be a lengthy but informative article!</i><p>With the release of new ASP.NET Core 2 framework, Microsoft and its …

Software Development

Trending themes

Trends

Unit Testing in ASP.NET Core Web API - Code Maze Blog

Software maintenance is the inevitable part of the development process and one that could give developers the most trouble. We’ve all been there, …

Build Real-time Applications with ASP.NET Core SignalR

A lot is demanded from Web applications today. Web apps are expected not only to function properly, but they need to do so with a great user …

Software Development

Razor Pages, TypeScript and Knockout

In this article, I look at the steps required to get TypeScript up and running in the context of a Razor Pages application. I discuss why you might …

JavaScript

ASP.NET Core Exploring Custom Middleware

I've read a number of articles and watched the MVA on custom middleware so I thought it would be time to explore a bit more. The one part which I've …

Software Development

Using Elasticsearch with ASP.NET Core and Docker

Recently, I got an assignment for my employer's internal project to investigate Elasticsearch and its usage from within ASP.NET Core 2.1 app. I had …

Overriding externally set headers and HTTP status codes in ASP.NET Core

I was working on an interesting issue in an ASP.NET Core recently. An external framework was responsible for creating an HTTP Response, and I was …

Bogus for .NET: C#, F#, and VB.NET

Project Description<p>Hello. I'm your host <b>Brian Chavez</b> (twitter). <b>Bogus</b> is a simple and sane fake data generator for <b>.NET</b> languages like <b>C#</b>, <b>F#</b> and <b>VB.NET</b>.</b> …

Migrating to Entity Framework Core Seed Data

I was already using Entity Framework Core 2.0 and had written some custom code to enter some static seed data to certain tables. Entity Framework 2.1 …

ASP.NET Core OData now Available

Introduction<p>The Microsoft OData Team is proud to announce general availability (GA) of OData (Open OData Protocol) on ASP.NET Core 2.0. It is now …

Health monitoring

9 minutes to read<p>Contributors<p>Health monitoring can allow near-real-time information about the state of your containers and microservices. Health …

How to Create Health Checks in ASP.NET Core

If you’re using a load balancer in front of your ASP.NET Core application you will need to provide it a route where it can verify that your …

Optimally Configuring Entity Framework Core

Lets talk about configuring your Entity Framework Core DbContext for a moment. There are several options you might want to consider turning on. This …

Configuring ASP.NET Core, webpack, and hot module replacement (hmr) for fast TypeScript development

Recently, I spent a weekend banging my head against the wall as I tried to figure out how to upgrade a personal project to webpack 4, TypeScript 2.9, …

Getting started

Table of Contents<p>Do you see any mistakes in this document? <br>Edit on GitHub<p>In this document<p>Getting started<p>Prerequisites<p>This book assumes a basic …