Paul Cartwright

248 Flips | 5 Magazines | 2 Likes | 1 Following | 828 Followers | @paul440 | Keep up with Paul Cartwright on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Paul Cartwright”

Content Reactor: Serverless Microservice Sample for Azure

services<p>platforms<p>author<p>functions, event-grid cosmos-db<p>dotnet<p>nzthiago<p>In this sample, we have built four microservices that use an Event Grid custom …

Adding an MVC layer on top of a Web API backend

It might just be me, but I don’t seem to find a lot of examples out there showing how you can have an ASP.NET MVC website as a front end application …

Fixing a Common IoC Container Anti-pattern – the every class is public problem

<i>If you're looking for help with C#, .NET, Azure, Architecture, or would simply value an independent opinion then please get in touch here or over on</i> …

Setting Up Service Principals to Use the Azure Management APIs

In a previous post, I wrote about choosing an approach to work with the Azure Management APIs (the REST APIs, as they call them).Before you can make …

Cloud Computing

Configuring Persistent Storage for SQL Server in Azure Container Services

I’ve been playing around with SQL Server running in Kubernetes in Azure Container Services (AKS) for a while now and I think that the technology is …

Databases

C# Logging Best Practices: Smarter errors and logs to fix apps faster

Logging<i>.</i> We should be doing this better by now!<p>What do I mean? There are several logging frameworks and libraries out there, and most developers use …

Yet another developer blog

For the past last posts I was looking at different mechanisms hiding under the hood of ASP.NET Core WebHooks. They were all part of processing which …

Performing & Preventing SSL Stripping: A Plain-English Primer

Over the past few days we learnt about a new attack that posed a serious weakness in the encryption protocol used to secure all modern Wi-Fi …

Information Security

compliant Payment Processing environments

Today we are pleased to announce the general availability of a new Azure Security and Compliance Blueprint for PCI DSS-compliant Payment Processing …

Creating an extension method for attaching key-value pairs to scope state using ASP.NET Core

This is the first in a short series of posts exploring the process I went through to make working with scopes a little nicer in ASP.NET Core (and …

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

Identity Server: Using ASP.NET Core Identity

This post is a continuation of a series of posts that follow my initial looking into using IdentityServer4 in ASP.NET Core with an API and an Angular …

Software Development

Identity, Claims, & Tokens – An OpenID Connect Primer, Part 1 of 3

In the beginning, there were proprietary approaches to working with external identity providers for authentication and authorization. Then came SAML …

.NET Application Architecture Guidance

The .NET Team has been producing guidance for building microservices and container based applications, web applications and Xamarin.Forms mobile …

URL Rewriting Middleware in ASP.NET Core

16 minutes to read<p>Contributors<p>URL rewriting is the act of modifying request URLs based on one or more predefined rules. URL rewriting creates an …

Use a container to show your function swagger

One option for enabling the Swagger-UI capabilities is to direct the consumers of the api to http://petstore.swagger.io and have them put the url in …

DevOps

URLs are UI

What a great title. "URLs are UI." Pithy, clear, crisp. Very true. I've been saying it for years. Someone on Twitter said "this is the professional …

Software Development

Make React Fast Again [Part 2]: why-did-you-update

why-did-you-update is a library that hooks into React and detects potentially unnecessary component renders. It detects when a component’s render …

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 …

More on ASP.NET Core Running under IIS

Since my last post about hosting ASP.NET Core on IIS I've gotten quite a few questions and comments in regards to working with this mixed IIS/Kestrel …

Software Development

Support multiple versions of ASP.NET Core Web API #aspnet #aspnetcore

Versioning helps in rolling out features on a timely basis, without breaking the existing system. It can also help to provide additional …

Run IIS + ASP.NET on Windows 10 with Docker

In this tutorial we will create a WebAPI application with the full version of ASP.NET. We will then host it with IIS in a Windows Server Core …

DevOps

How Dropbox securely stores your passwords

It’s universally acknowledged that it’s a bad idea to store plain-text passwords. If a database containing plain-text passwords is compromised, user …

IT security

Managing Cookie Lifetime with ASP.NET Core OAuth 2.0 providers

I recently received a support request from a customer regarding the session lifetime once a user has signed in using Auth0 as they wanted the users …

Software Development

ASP.NET Core RESTful Web API versioning made easy

There's a LOT of interesting and intense arguments that have been made around how you should version your Web API. As soon as you say RESTful it …

Software Development

Hosting .NET Core Services on Service Fabric

This post was written by <b>Vaijanath Angadihiremath</b>, a software engineer on the .NET team.<p>This tutorial is for users who already have a group of ASP.NET …

Entity Framework Core TrackGraph For Disconnected Data

Entity Framework Core is the new lightweight version of Entity Framework designed to work with .NET Core applications. Just like ASP.NET Core, it has …

ASP.NET