Pete Skelly

I'm Pete Skelly. This is where I leave breadcrumbs for myself about my struggles, solutions and celebrations when solving client problems with .NET, Office 365 and Azure.

Debug ASP.NET Core with Multiple Browsers from VS Code on MacOS

I recently needed to launch different browsers for debugging a .NET Core app in Visual Studio Code on a MacOS. A quick Google search yielded how to launch different browsers from VS Code for debugging ASP.NET Core, but this was Windows centric. While the changes below are simple, I thought I would document them anyway. Here is the whole launch.json file for reference. The important bits are in the osx sections. { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "version": "0.2.0", "configurations": [ { "name": "DemoWeb - Chrome", "type": "coreclr", "request": "launch", "preLaunchTask"...


Angular, Azure Storage, and Function Proxies - Oh My!

As I was working on the Securing Azure Functions with Azure Active Directory series, I wanted a simple way to test the application and OAuth flows in Azure. This seemed like a perfect time to try out the use of Azure Blob Storage for hosting static files and using Azure Function Proxies to deliver the Angular app. As a bonus, I got to learn a bit about integrating the process in Visual Studio Team Services (VSTS) build using the Azure CLI VSTS Task. The Required Azure Components Obviously we will need some Azure components. The Azure CLI and the snippets/scripts below get this part done quickly. If you don't have the Azure CLI, go get it now. The script...


Azure AD Secured Azure Functions - Creating an Angular Client Application

Part 3 - Azure AD Secured Azure Functions - Creating an Angular Client Application Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks This is part three of a series of posts about consuming Azure Functions secured by Azure Active Directory. The goal: create an Azure Function, secure it with Azure Active Directory, and use Angular to pull data back from the AAD secured Function. In Part 1 we created an Azure Function App and a basic Function. In Part 2 we secured our Azure Function using...


Securing Azure Functions with Azure Active Directory - Part 2

This is a part two of a series of posts about consuming Azure Functions secured by Azure Active Directory. Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks The goal: create an Azure Function, secure it with Azure Active Directory, and use Angular to pull data back from the AAD secured function. In Part 1 we created an Azure Function App and a basic function. Our Azure Function is accessible from Postman or curl, but not from a simple web page. Configure Cross Origin Resource Sharing (CORS)...


Securing Azure Functions with Azure Active Directory - Part 1

Creating an Azure Function with the Azure CLI 2.0 Part 1 - Creating an Azure Function with the Azure CLI 2.0 Part 2 - Securing an Azure Function with Azure Active Directory Part 3 - Creating an Angular Client Application Part 4 - Adding Azure Active Directory Group Claims Checks This is Part 1 of a multi-part post about consuming Azure Functions secured by Azure Active Directory. I have been using Office 365 applications with OAuth tokens for a while, but wanted to dive a bit deeper and learn some of what is going on behind the scenes. While I learned a lot for this series, and it may not be an exact match to all of the...