Skip to content

Instantly share code, notes, and snippets.

View davidebbo's full-sized avatar

David Ebbo davidebbo

View GitHub Profile
@davidebbo
davidebbo / web.config
Created January 16, 2016 20:52
Default web.config used for node.js apps on Azure Web Apps
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
System.Reflection.Assembly.GetTypes() +118
SimpleAuthentication.Core.ReflectionHelpers.<FindAllTypesOf>b__0(Assembly s) +20
System.Linq.<SelectManyIterator>d__1`2.MoveNext() +293
System.Linq.WhereEnumerableIterator`1.MoveNext() +51
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +452
System.Linq.Enumerable.ToList(IEnumerable`1 source) +70
SimpleAuthentication.Core.ReflectionHelpers.FindAllTypesOf() +291
SimpleAuthentication.Core.AuthenticationProviderFactory.<.cctor>b__d() +61
@davidebbo
davidebbo / AzureAutoSettings.cs
Created September 13, 2015 21:42
AzureAutoSettings
using System;
using System.Collections;
using System.Configuration;
using System.Reflection;
using System.Web;
[assembly: PreApplicationStartMethod(typeof(EnvSettings.SettingsProcessor), "Start")]
namespace EnvSettings
{
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string"
},
"hostingPlanName": {
"type": "string"
},
@davidebbo
davidebbo / wfastcgi.py
Last active April 6, 2017 10:17
wfastcgi.py file that's compatible with Python 3.x. It is preliminary and not well tested.
# ############################################################################
#
# Copyright (c) Microsoft Corporation.
#
# This source code is subject to terms and conditions of the Apache License, Version 2.0. A
# copy of the license can be found in the License.html file at the root of this distribution. If
# you cannot locate the Apache License, Version 2.0, please send an email to
# [email protected]. By using this source code in any fashion, you are agreeing to be bound
# by the terms of the Apache License, Version 2.0.
#
@davidebbo
davidebbo / web.config
Last active November 13, 2022 03:34
iisnode web.config
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>