Comments (3)
Are you using the Azure Functions Autofac NuGet package or are you trying to use Autofac with native DI? Can you share a sample project?
from azure-function-autofac-dependency-injection.
Thank you for your reply. I'm using Autofac Nuget package.
Just to be more clear, I'm NOT using "AzureFunctions.Autofac", I'm only using "Autofac".
I do not have static function class and static function method, I have a function class with Constructor to which I'm trying to inject the services.
from azure-function-autofac-dependency-injection.
This is the repo for AzureFunctions.Autofac. Since you have stated that you are not using this package the issue is not with this package. Please open an issue on the official Autofac repository or stack overflow for help.
from azure-function-autofac-dependency-injection.
Related Issues (20)
- Configuration Settings not picked up from appsettings.json file HOT 3
- Configuration Dependency Injection HOT 4
- IOptions DI in Azure Function HOT 3
- "A second operation started on this context before a previous asynchronous operation completed" HOT 20
- IHttpClientFactory injection problem HOT 6
- Allow newer versions of Autofac to be used HOT 3
- Inject function parameters HOT 7
- Upgrade to Core 3.1 HOT 2
- RegisterAssemlyTypes now working for ClosedTypes HOT 3
- RegisterLoggerFactory doesnt work HOT 1
- Constructor Injection HOT 3
- Dependency resolution graph for injected services HOT 2
- Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.xxxx'. mscorlib: Constructor on type 'xxx.xxx.Startup.AutofacConfig' not found HOT 13
- Container instances do not cache HOT 20
- ILifetimeScope not disposed on V1 functions HOT 5
- Pass a ContainerBuilder in HOT 9
- Registering PerFunctionScope
- Constructor not found for DI class with ctor signature DIConfig(string functionName, string baseDirectory, ILoggerFactory factory) HOT 3
- Support for HttpRequestMessage parameter in DI class HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-function-autofac-dependency-injection.