Comments (4)
The only missing libraries should be ninject and web common that you have to put to the libs directory as mentioned in the how to build text file. It is also intended that they are missing because the latest should be taken from teamcity.codebetter.com
from ninject.extensions.wcf.
OK I was able to get it to work last night and I only ended up needing the Ninject assembly. I am not sure what web common is and am not sure why HowToBuild says you need ContextPreservation and NamedScope extensions. Anyway, one problem I ran into is that I am building REST Web Services with .NET 4.0 which uses WebServiceHostFactory and WebServiceHost instead of ServiceHostFactory and ServiceHost. I had to change the base class for NinjectServiceHostFactory and NInjectServiceHost accordingly to get it to work. I guess the right way to support this is to add a NinjectWebServiceHostFactory and NinjectWebServiceHost? I can submit these changes and an example with instructions if you find this useful - just let me know.
from ninject.extensions.wcf.
Meh, I just realized that the latest source code includes the needed REST support, I was working off the latest source zip file in downloads. Guess I'll download the latest binary and try it out. I don't see a REST example in the latest source code though - let me know if you want me to contribute one.
from ninject.extensions.wcf.
Submitted a pull request with an example, closing this issue
from ninject.extensions.wcf.
Related Issues (20)
- the download link specified in the wiki is incorrect HOT 1
- Example.WcfRestService not working with the current ninject version (Ninject 3.0.1.10) HOT 2
- New nuget package?
- tried opening with 2012 and compiling. HOT 1
- Parse error
- Update NinjectInstanceProvider.ReleaseInstance to the new Releasing mechanism of Ninject Core
- Support Ninject BehaviorExtensionElement to inject WCF behaviors HOT 2
- Support safely disposing WCF client
- NinjectFileLessServiceHostFactory sample for WcfLibrary is not working HOT 9
- Should not release scope at request end when InstanceContextMode is Single, by default HOT 3
- TransparentProxy doesn't get disposed in WcfDisposableStratgy HOT 9
- Need bump version HOT 1
- Read request message body while binding dependency using ninject.extensions.wcf
- WCF-Discovery is not working HOT 2
- App_Start folder not created when installing Ninject.Extensions.Wcf from NuGet HOT 2
- Update example to replace the obsolete NinjectWebServiceHostFactory and use NinjectServiceHostFactory HOT 2
- Nuget install fails on .Net 3.5 HOT 2
- Incorrect frameworkAssembly in nuget package for Ninject.Extensions.Wcf
- WCF Security when using Ninject WCF Extensions
- Dispose the dependencies too early HOT 1
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 ninject.extensions.wcf.