Search Results for: Web API

How (I) configured Azure Active Directory into my ASP.NET MVC OWIN web application

ASP.NET Benjamin Perkins

Before I get started, keep in mind, that I am not a security expert, if you want to enable security for your Azure App Service Web App I recommend using EasyAuth as described here, so much easier, IMO. You likely get some benefits from the ‘Change Authentication’ features of: No Authentication Individual User Accounts Work […]

Read More →

Lab 8: PowerShell WebAdministration Module

IIS Benjamin Perkins

Prerequisites Some understanding of PowerShell Read about the Web Administration module http://technet.microsoft.com/en-us/library/ee909471(v=WS.10).aspx http://technet.microsoft.com/en-us/library/ee790599.aspx There are some new PowerShell IIS cmdlets for IIS 10, see them here. What’s new in IIS 10? Setup Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Lab Review the features available in the PowerShell WebAdmnistration module […]

Read More →

502.3

IIS Benjamin Perkins

An HTTP status code of 502 – Bad Gateway means “The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.”  I interpret that to mean that there is a server (server A) between my client and the server (server B) […]

Read More →

TLS on Azure App Services

Azure App Service Benjamin Perkins

I wrote this article some time ago “How to disable TLS 1.0 on an Azure App Service Web App” that explains some of the reasons TLS was not configurable on the Azure App Service platform.  There were many customers who wanted to disable TLS 1.0 so they could remain or become PCI compliant and at […]

Read More →

How to configure log4net on Azure App Service

Azure App Service Benjamin Perkins

Although I fully recommend using Application Insights (see here) for monitoring your Azure features, I get asked sometimes how to configure log4net onto an Azure App Service.  So, this is how I did it. Install the log4net.dll binary using NuGet Configure the log4net name, type properties in the web.config Configure the log4net properties Modify the […]

Read More →

Setting up and using GitHub in Visual Studio 2017

Visual Studio Benjamin Perkins

I wrote this article here about setting up GitHub in Visual Studio 2015 and felt it necessary to document the same in Visual Studio 2017.  Here is how I setup GitHub source code management in Visual Studio 2017 Community. Install the GitHub extension for Visual Studio Create your GitHub repo and then login Create a […]

Read More →