Skip to content

Instantly share code, notes, and snippets.

View fabiocav's full-sized avatar

Fabio Cavalcante fabiocav

  • Microsoft
  • Redmond, WA
View GitHub Profile
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
[assembly: FunctionsStartup(typeof(Microsoft.Azure.Functions.Samples.DependencyInjectionScopes.SampleStartup))]
namespace Microsoft.Azure.Functions.Samples.DependencyInjectionScopes
{
{
"profiles": {
"FunctionsCLI": {
"commandName": "Executable",
"executablePath": "dotnet.exe",
"commandLineArgs": "%userprofile%\\AppData\\Roaming\\npm\\node_modules\\azure-functions-core-tools\\bin\\func.dll host start"
}
}
}
RESTRICTION: == net471
NUGET
remote: https://www.nuget.org/api/v2
Autofac (4.2.1)
Autofac.WebApi2 (4.0.1)
Autofac (>= 3.5 < 5.0)
Microsoft.AspNet.WebApi.Core (>= 5.2 < 6.0)
EnterpriseLibrary.TransientFaultHandling (6.0.1304)
Microsoft.ApplicationInsights (2.4)
System.Diagnostics.DiagnosticSource (>= 4.4)

Assembly Resolution in Azure Functions

One of the most common sources of feedback we receive relate to .NET assembly resolution and loading issues in Azure Functions. The goal of this post is to help .NET developers avoid those problems, understand the current limitations, provide guidance on how to avoid or mitigate some of those issues, when possible, and go over some of the details on how this will be improved in the next version of Azure Functions.

In the following sections, we dive into the details of how things work today

@fabiocav
fabiocav / api.js
Last active February 11, 2016 05:14
module.exports = {
//"read": function (req, res, next) {
//}
}
@fabiocav
fabiocav / gist:5820517
Last active December 18, 2015 17:39 — forked from PureKrome/gist:5820290
// ==UserScript==
// @name JabbR: Admin Kick Banned Users
// @namespace http://jabbr.net.admin/
// @version 0.1
// @description Kick mother bitches from JabbR who have been a pesk.
// @match https://jabbr.net/*
// @copyright 2013+, JabbR people
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==