The ASP.NET Core, MVC & Web API Magazine

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

Custom Authentication and Authorization in Asp.Net Core 2.0

In this article I am going to explain how we can implement Authentication and Authorization in Web, WebApi as well as for other clients.

Software Development

Ben.BlockingDetector

Blocking Detection for ASP.NET Core<p>Detect Blocking Calls in ASP.NET Core Applications<p>Blocking calls can lead to ThreadPool starvation. Ouputs a …

Software Development

Use the Angular project template

Note<p>This documentation is not about the released Angular project template. <b>This documentation is about the preview version of the Angular template.</b> We …

JavaScript

Beeline

Cut out the middleman and serialize directly from a DbDataReader to UTF8 JSON bytes.<p>What fresh lunacy is this?<p>I seem to be writing a lot of …

Software Development

Exploring the .NET Core Docker files: dotnet vs aspnetcore vs aspnetcore-build

When you build and deploy an application in Docker, you define how your image should be built using a Dockerfile. This file lists the steps required …

Software Development

FullStack Mark — Get Started Building Microservices with ASP.NET Core and Docker in Visual Studio Code

Get Started Building Microservices with ASP.NET Core and Docker in Visual Studio Code<p>December 19, 2017<p>Containers and microservices are two <i>huge</i>, …

Software Development

Accepting Bitcoin (BTC) payments with C# ASP.NET. Primer applicable to other crypto currencies: Litecoin (LTC), Ethereum (ETH), Ripple (XRP)...

Detailed guide on building C# ASP.NET website checkout that accepts Bitcoin (BTC), Litecoin (LTC), Ethereum (ETH) and other Crypto Currencies.

Bitcoin

Creating Authorization Policies dynamically with ASP.NET Core

ASP.NET Core contains a DefaultAuthorizationPolicyProvider class which resolves authorization policies at runtime. I was watching a recording of the …

Software Development

Building ASP.NET Core apps using Cake in Docker

In a previous post, I showed how you can use Docker Hub to automatically build a Docker image for a project hosted on GitHub. To do that, I created a …

Software Development

C# - All About Span: Exploring a New .NET Mainstay

By Stephen Toub | January 2018<p>Imagine you’re exposing a specialized sort routine to operate in-place on data in memory. You’d likely expose a method …

.Net Framework

ASP.NET Core Gotchas - No. 1

We’ve been using ASP.NET Core 1.0 for some time as part of a microservices architecture we’ve developed. We run the services in production as Docker …

Software Development

Tech 5 Tutorial: Getting Started with ASP.NET Core on Mac and Windows

In this Tech 5 tutorial, I’ll walk you through getting started with ASP.NET Core on Mac and Windows.<p>Getting Started with ASP.NET Core<p><p>View All Tech …

Software Development

Debugging ASP Core on Linux with Visual Studio 2017

Today’s post comes to us from Premier Developer consultant Randy Patterson. It’s an excellent tutorial that walks you through setting up Visual …

Upgrading ASP.NET Libraries to .NET Standard

.NET Standard is great; .NET Standard is an interface that allows you to write libraries once and consume them from different applications on …

Modern Configuration for ASP.NET 4.7.1 with ConfigurationBuilders

I’ve been thinking and working with application configuration in ASP.NET applications for years, and its become a tool that I’m very comfortable …

Dave Glick - Using ASP.NET ModelState With Vue.js

Recently I've been using more and more Vue.js in the client code for my ASP.NET MVC websites. It provides a great balance between modern interactive …

JavaScript

Create a minimal MusicPlayer App with ASP.NET Core 2 for the Desktop

Actually, this blog is addressed to Cross-Platform development with JavaScript. But this time, I have a very special treat for you: Electron.NET! A …

Software Development

.NET Core 2.0 and ASP.NET Core 2.0 are Here

Many of us have been patiently waiting through the long and windy road that has been the inception of the .NET Core and ASP.NET Core platforms. After …

Software Development

04. Setting eShopOnContainer solution up in a Mac, VS for Mac or with CLI environment (dotnet CLI, Docker CLI and VS Code) · dotnet-architecture/eShopOnContainers Wiki

Global prerequisite: Docker for Mac<p>Install Docker for Mac. The stable channel is fine.<p>Configure Docker for Mac<p>Docker for Mac (Linux VM) memory …

Uploading Files in Razor Pages

Oct 23, 2017 Viewed 2716 times 0 Comments <br>0 Comments <br>Posted in #Razor Pages #Uploading Files<p>In this short blog post I will talking about how to …

Global Exception Handling in ASP.NET Core WEB API #aspnetcore #webapi

Exception handling is one of the most important part of any application that needs to addressed and implemented properly. With respect to ASP.NET …

Software Development

Kal1Dog WebTech

Generates a Single Page - Rich Internet Application in 5 Minutes<p>Generates a modern business web app instantly,<br>directly from your database.<br>• Has all …

Using ASP.NET Core with Azure Cloud Services

Overview<p>Cloud Services may be the old-timer of Azure’s offerings, but there are still some cases where it is useful. For example, today, it is the …

Software Development

Should my database calls be Asynchronous?

<b>Update 28 November 2012:</b> The combination of await, async, and the Task object makes it much easier for you to write asynchronous code in .NET 4.5. …

Software Development

Docker multi-stage builds with ASP.NET Core

Jun 11, 2017 · 4 minute read · Comments<p>One of the best practices with using Docker is to keep your images small. This means you can better not …

Software Development

| Joseph Woodward, Software Developer

<i>Note: Whilst this post is targeted towards Web API, it's not unique to Web API and can be applied to any framework running on the ASP.NET Core</i> …

Software Development

Tag Helper Pack Samples

Supported on ASP.NET Core 1.0.x, 1.1.x, and 2.0.x. (This site running on ASP.NET Core 2.0.0)<p>Installation & Issues<p>See installation instructions and …

Web Development

SignalR Group messages with ngrx and Angular

This article shows how SignalR can be used to send grouped messages to an Angular SignalR client, which uses ngrx to handle the SignalR events in the …

JavaScript

The SignalR for ASP.NET Core JavaScript Client, Part 1 – Web Applications

The first official release of SignalR for ASP.NET Core – alpha1 – was just released. In this release, all SignalR components were rewritten to make …

JavaScript