The ASP.NET MVC & Web API Magazine

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

Templates availabe on nuget.org for dotnet new

--- template report ---<p>Name DownloadCount Percent overall<p>Microsoft.AspNetCore.SpaTemplates 44876 65.4 %<p>Microsoft.DotNet.Web.Spa.ProjectTemplates 6253 …

Development time IIS support for ASP.NET Core Applications

With a recent update to Visual Studio 2017, we have added support for debugging ASP.NET Core applications against IIS. This blog post will walk you …

Software Development

Introduction to MSBuild in .NET Core with Nate McMaster

Nate McMaster gives and introduction to using MSBuild in .NET Core project files. Watch as he runs through the basics in a new .NET Core application …

Software Development

Docker for .NET Developers (Part 7)

In the previous part of this series I have discussed the reasons behind our decision to use Docker to run our product in production, using it to …

DevOps

Docker for .NET Developers (Part 5)

So far in previous posts we’ve been looking at basic demo dockerfiles which use the aspnetcore-build base image. This is okay for testing but does …

Linux

ASP.NET Core in docker with GitLab Pipelines

A few months ago I have started working on a new, greenfield, project. Since it’s a one-man job, it was crucial for me to have an easy setup without …

DevOps

Using Roslyn refactorings with OmniSharp and Visual Studio Code

One of the features that we added to a recent OmniSharp release (which, as a reminder, backs the C# language services in various editors), and that …

Software Development

Entity Framework Core with PostgreSQL

<b>Many to many relation</b><p>It’s the second relation kind which will be described by me. So, there is not easy like in classic Entity Framework because EF …

Enable Entity Framework Core Migrations in Visual Studio 2017

Entity Framework Core Migrations have changed once more thanks to Visual Studio 2017 and the .csproj format. In the third iteration of this series I …

Debug ASP.NET Core on Docker with Visual Studio Code

Last Thursday I started reading the Free eBook: “Containerized Docker Application Lifecycle with Microsoft Tools and Platform” by Cesar de la Torre. …

Software Development

URL Rewriting Middleware in ASP.NET Core

URL rewriting is the act of modifying request URLs based on one or more predefined rules. URL rewriting creates an abstraction between resource …

ASP.NET - Use Custom Middleware to Detect and Fix 404s in ASP.NET Core Apps

By Steve Smith | June 2016 | Get the Code<p>If you’ve ever lost something at a school or an amusement park, you may have had the good fortune of getting …

Azure Linux Virtual Machine Documentation - Tutorials, API Reference

Linux Virtual Machines<p>Azure Linux Virtual Machines provides on-demand, high-scale, secure, virtualized infrastructure using Red Hat, Ubuntu, or the …

Kestrel vs IIS Feature Comparison and Why You Need Both

The Kestrel web server is a new web server as part of ASP.NET Core. It is now the preferred web server for all new ASP.NET applications. In this …

Web Servers

ASP.NET Core API Boilerplate

Technology Map<p>The ASP.NET Core API project template contains the following features:<p>Optional Feature Selection<p>The ASP.NET Core API project template …

Microservices Design and Patterns

Course information<p>Learn<p>Prerequisites<p>hours* modules assessment<p>Some of the course content has been removed since your last visit.<p>Table of contents<p>Time …

Design

Microsoft Announces Draft .NET Architecture Guidance

Four application architecture guidance drafts are available from Microsoft's Developer Division and the Visual Studio product teams. These drafts …

Getting started with ASP.NET Core 2.0 Preview 1

At Microsoft Build 2017 yesterday, the formal announcement of ASP.NET Core 2.0 and .NET Core 2.0 was made.<p>For me it was no surprise that we were …

High-performance .NET by example: Filtering bot traffic

TL;DR<p>BenchmarkDotNet for benchmarks; Intel VTune Amplifier for low-level optimizations; mistakes and lessons from performance optimizations: from BCL …

Running multiple independent ASP.NET Core pipelines side by side in the same application

The other day I started looking into a problem of being able to run several independent ASP.NET Core pipelines from within the same main application, …

Software Development

Using React, Redux and Webpack with Dotnet Core to build a modern web frontend

As a developer, I consider myself mostly a Dotnet developer. But when building modern applications for the web, there’s no way around it: every web …

JavaScript

Automatically request and use Let’s Encrypt certificates in Dotnet Core

Let’s Encrypt is the “free, automated, open Certificate Authority” that wants every website to use encryption by default, by making it easy and free. …

More on ASP.NET Core Running under IIS

My last post on ASP.NET Core and IIS generated a lot of interest and also a lot of questions and discussion in the commment section to warrant a …

Software Development

Precompiling MVC Views in ASP.NET Core with .csproj’s

I didn’t see this documented on docs.asp.net yet for .csproj style projects, so I thought I’d blog about it, as it’s something I do on every …

What’s New in the .NET Platform

Microsoft Visual Studio

New Features in C# 7.0

Here is a description of all the new language features in C# 7.0, which came out last Tuesday as part of the Visual Studio 2017 release.<p>C# 7.0 adds a …

dotnet new angular to Azure with Docker using CLI

Visual Studio 2017 has been released and the features are great for Windows developers. However along with it comes .NET Core 1.0 tooling and large …

Software Development

Live Unit Testing in Visual Studio 2017

Live Unit Testing is present in the Enterprise edition of Visual Studio 2017 and it's available for C# and VB projects that target the .NET …