I am looking for the WcfFacility which is supposed to be in Castle.Facilities.WcfIntegration.
Have things changed? Where is it? I have the latest castle (version 3.1).
The question is related to this link:
castle wcf integration
I assume you're asking where is it in the package you download? It's there.
Or do you mean the nuget package
Related
I Installed the Nuget Package Installer thing, and it says it installed it.
However I can't find any references to JSON in Visual Studio.
I tried using System.JSON but I can't find it.
How can I use it?
Thanks
I have had been through the same trouble today, when I almost completed my Software Project and just had to use the File to use its contents to change the content of the Project.
For that I wanted to use JsonObject class to get the contents of the .json file. When I tried to write this
using System.Json;
It gave me the exact same error that you might have been going through. It asked for the Assembly files and DLLs.
I kept searching and I stumbled upon to this post, which was totally unhelpfull for me. So I searched and got what I was looking for. After that, I wanted to share that triumph with you people too so that next visitor must have an answer to his trouble on Stack Overflow.
Solution
What I did was, I went to the NuGet website for the System.Json extension package.
http://www.nuget.org/packages/System.Json
There, I capture the command for the installation.
I just click on the Tools --> NuGet package manager --> Package Manager Console and it gave me a new window in the bottom part of Visual Studio 2013.
There I typed (pasted) the link of command I copied. It started and installed the package for me. And now I can use it!
Further answer
I was told that it is a part of .NET v4.5, but I even have the v4.5.1 and still I don't get it why I don't have that package, maybe because on the Web page of the package it is shown deprecated. But still who ever needs it, can have the answer I have posted and it would help him out!
Good luck!
I think you can use the Newtonsoft JSON.NET package.
http://www.nuget.org/packages/newtonsoft.json/
I was also looking for a way to do JSON in C# and saw that they made it easier with .NET 4.5, couldn't do it and found this stack overflow question. I wasn't really satisfied with Afzaal Ahmad Zeeshan's answer so I kept searching and found this which I guess isn't depreciated and worked for me.
Steps in plain English (for .NET 4.5):
1.Add Reference to System.Runtime.Serialization
2.Add "using System.Runtime.Serialization.Json;" to your class
3.call "JsonReaderWriterFactory.CreateJsonReader()" or whatever methods you need to use to read/write json
Install latest VS 2017
Install-Package System.Runtime.Serialization.Json -Version 4.3.0
-- in PM console
I'm working my way through the MMVMCross Tip Calculator tutorial.
Got an Android instance up and running and have now turned my attention to Windows Phone 8.
So far, I can't find the Cirrious.MvvmCross.Plugins.Json assembly in the WindowsPhone bin folder, and I'm also having issues with the CreateApp() method not being able to resolve the Core.App class (there are a bunch of suggestions for chasing down the Core namespace but none of them have an App class inside that I can see).
When I comb through the docs it seems WP7 is supported explicitly, but no mention of 8. Anybody have any luck getting this scenario going? Is there a hack I'm missing?
After installing the Nuget package (The HotTuna Startup) in an Andriod project, I was unable to build and was getting the same problem in the CreateApp() where Core is not resolved. I had missed adding the package MVVMCross.Core and MvvmCross - Hot Tuna Libraries (which added the app.cs) to my core PCL library. Those Nuget packages are a great way to get started!
It's obvious now, but maybe this will help someone else.
Yes, Windows Phone 8 is supported, but there's no specific extensions for WP8 yet (e.g. we still use the Community C# SQLite code)
The Core.App class should be in your Core/application project. e.g. in the tutorial it's in https://github.com/slodge/MvvmCross/tree/vnext/Sample%20-%20Tutorial/Tutorial/Tutorial.Core
The castle project is open source. I am wondering where to get its source code. I cannot find it.
You can get it here
EDIT
Above link is no longer valid. Was at the time when question was answered beg. of 2011. Code is now hosted on GitHub: https://github.com/castleproject
Not sure where it was about a year ago, but now all the castle projects code is in Github.
https://github.com/castleproject
Is this it? http://www.castleproject.org/git.html
Silverlight version of Windsor container does not provide XmlInterpreter() for reading bindings from config file. Could someone suggest how can I implement my own interpreter?
The online document suggest reading a configuration file, creating an instance of IConfiguration and registering them into IConfigurationStore.
How and where can I do this?
This feature is not available in Silverlight version of Windsor because Silverlight lacks System.Xml API that Windsor uses.
There's a ticket for that in Castle's Issue tracker along with patch (I'm afraid outdated) for implementing this feature using LINQ to Xml.
This can give you some ideas. If you want to update it and make it pass all the tests, and perform well we can include it in the upcoming release of Windsor (2.5).
Has anyone managed to create a windsor bootstrapper for prism2?
Prism 2 seems to rely on Unity's behaviour of injecting types that haven't yet been registered.
Thanks.
for future reference
I wrote a Prism v4 Windsor extension https://github.com/bszafko/PrismContrib.WindsorExtensions
and a nuget package http://nuget.org/Packages/Packages/Details/Prism-WindsorExtensions-4-0-0-0
Windsor bootstrapper is already implemented. Look at:
http://www.codeplex.com/CompositeWPFContrib
Maybe this one?