Building Microservices with AKS and VSTS – Part 4

Our quest to build microservices in Azure with managed Kubernetes (AKS) and Visual Studio Team Services (VSTS) is almost at the end destination. Previous posts: http://blogs.msdn.microsoft.com/azuredev/2018/03/27/building-microservices-with-aks-and-vsts-part-1/ http://blogs.msdn.microsoft.com/azuredev/2018/04/03/building-microservices-with-aks-and-vsts-part-2/ http://blogs.msdn.microsoft.com/azuredev/2018/04/10/building-microservices-with-aks-and-vsts-part-3/ Leaving things last time we actually had most of what you would call a working cluster. Actually, we had something reachable over the Internet, with proper certificates…

1

Building Microservices with AKS and VSTS – Part 3

We’re still working the microservice game. When we left things last time we had a service running inside a managed Kubernetes (AKS) cluster, but no apparent way to browse to it. Which is not the end-user happy state. I suggest skimming parts 1 & 2 if you haven’t done so before: https://blogs.msdn.microsoft.com/azuredev/2018/03/27/building-microservices-with-aks-and-vsts-part-1/ https://blogs.msdn.microsoft.com/azuredev/2018/04/03/building-microservices-with-aks-and-vsts-part-2/ Clearly there…

0

Building Microservices with AKS and VSTS – Part 2

Hopefully you managed to get through the first part of this series, and get the basic C# code stored in the right places. https://blogs.msdn.microsoft.com/azuredev/2018/03/27/building-microservices-with-aks-and-vsts-part-1/ If this is new to you the quick recap is that we are trying to build a setup for microservices using managed Kubernetes in Azure (AKS) and Visual Studio Team Services…

1

Building Microservices with AKS and VSTS – Part 1

Update 17th April 2018 – all parts are now available: http://blogs.msdn.microsoft.com/azuredev/2018/04/03/building-microservices-with-aks-and-vsts-part-2/ http://blogs.msdn.microsoft.com/azuredev/2018/04/10/building-microservices-with-aks-and-vsts-part-3/ http://blogs.msdn.microsoft.com/azuredev/2018/04/17/building-microservices-with-aks-and-vsts-part-4/ If you happen to find yourself about to build a new application, and you bump into an architect they will tell you that it’s very important that it needs to support a “microservices architecture”. (This will of course happen before considering if…

2

Assisted Login Using the OAuth Deviceprofile Flow

Have you ever tried to deal with logging in on an input-constrained device, and thought it wasn’t as easy as you wanted it to be? (Hence the term “constrained”…) There could be any number of devices where it is either a hassle to enter long passwords, or no option at all for that matter. This…

1

Accessing The Power BI APIs in a Federated Azure AD Setup

Or the alternative title – combining ADFS w/SAML and Azure AD w/OAuth in the same authentication request just because it is possible πŸ™‚ A few days ago I was asked to look into how the Power BI APIs could work in a kiosk-like use case with regards to the auth part. (People don’t usually consult…

1

Accessing Azure Resources Protected With SAS Tokens Using Tokens Issued by Azure AD

I know, the title is a mouthful, but I wasn’t able to whittle it down without losing context. (Sure, I could have gone the clickbait route I suppose.) Let me setup the scenario for you πŸ™‚ Let’s say you have an IoT lab like described in my previous post: https://blogs.msdn.microsoft.com/azuredev/2017/12/13/controlling-your-iot-home-with-azure-functions-runtime/ The Hue devices let you…

1

Controlling Your IoT Home with Azure Functions Runtime

I have previously mentioned hacks to get Azure Functions running in your own lab: https://contos.io/real-tooling-for-azure-functions-in-visual-studio-3ed5a6095436 (And I must stress the term “lab” as they have not really been at production level quality.) As luck would have it Microsoft released a new preview of their “Azure Functions Runtime” a few days ago: https://docs.microsoft.com/en-us/azure/azure-functions/functions-runtime-overview I tested preview…

1

Working with identity in .NET Core 2.0

Last year I did a quick code sample on how to use identity in .NET Core (1.x): https://contos.io/protecting-a-net-core-api-with-azure-active-directory-59bbcd5b3429 Time flies, and just weeks ago I showed how fun/frustrating it can get when we want to secure a SPA with a .NET Core 2.0 back-end: https://blogs.msdn.microsoft.com/azuredev/2017/09/22/protecting-a-net-core-2-0-spa-with-adfs/ As I stated along with the most recent code snippet…

2

Protecting a .NET Core 2.0 SPA with ADFS

Today’s identity-related pop quiz: How do you secure a SinglePageApp (SPA) with a .NET Core back-end using ADFS? If you said “there’s probably an official sample for that over at docs.microsoft.com” you’d not be entirely right. Oh, there’s samples, but if you implied “working sample” I dare you to come up with it πŸ™‚ (Well,…

2