Category: .Net

2

Azure Functions with JWT Authentication

If you’re building Azure Functions, you generally have two options when it comes to implementing authentication and authorization: Use the App Service Authentication integration which is great if you are using one of the standard identity providers (Azure AD, Microsoft...

0

Azure Cosmos DB Indexing Experiments

Azure Cosmos DB’s pricing by “Request Units” (or RUs) effectively means that the more you can optimize your data structures and your queries, the more money you can save.  While this is also true for databases like SQL Server, the...

0

Working with Azure Form Recognizer Part 2

In part 1, we took a look at how the new Azure Form Recognizer (Preview) service can be used to extract key-value pairs from forms in image and PDF formats using custom trained machine learning models. In part 2, we...

Azure Functions, SignalR, and Authorization

If you are using SignalR in Azure Functions with Users and Groups, there’s quite a gap in the available documentation online.  With this post, I’m hoping to help you get your Functions + SignalR working with Users and Groups. Users...

Stop Using var (C#)!

Stop Using var (C#)!

I just picked up Andrew Troelsen and Philip Japikse’s Pro C# 7 Eighth Edition to catch up on some of the more recent language and platform changes (being stuck in SharePoint 2010 for 8 years will do that to you!)....

Working with Box OpenAPI Clients

In May of this year, Box announced an OpenAPI specification for their API endpoints.  The specification is available on their Github site, but in implementing it, I found few practical examples and no examples for C#/.NET. To start with, you...

.NET Core MVC on Azure Container and Registry Service

I’ve recently been playing around with .NET Core MVC and trying to get it running on Azure Container Service (ACS). Why .NET Core?  Because you’ll be able to run those containers on Linux environments, which will generally be lower cost....

Adventures in Single-Sign-On: Cross Domain Script Request

Consider a scenario where a user authenticates with ADFS (or equivalent identity provider (IdP)) when accessing a domain such as https://www.domain.com (A) and then, from this page, a request is made to https://api.other-domain.com/app.js (B) to download a set of application...