WCF is Microsoft's replacement for .Net Remoting and Web services. It's critical to understand if you are a .NET component developer.
The best reference for WCF appears to be (by word of mouth, blogs and Amazon) Juval Lowy's "Programming WCF Services," published by O'Reilly.
This book is advertised in several places around the net as "coming with Juval Lowy's ServiceModelEx library," which is supposed to be this awesome WCF framework that extends and simplifies WCF development. In the book itself Lowy talks about this framework a lot.
However, I can not figure out where to download said library. If you look at his website's download page there's tons of stuff but no ServiceModelEx.
Does he intend for his readers to re-code all of it by hand going by code samples in his book?
Anyone with any experience on this?
Yeah, this is a niche question, but I think it's an important topic and it's certainly programming related.
The latest version is maintained on IDesign's site here:
http://idesign.net/Downloads/GetDownload/1887
Older version are available on the O'Reilly site.
Programming WCF Services 3rd Edition (PWSTE) Samples:
http://examples.oreilly.com/9780596805494/
Programming WCF Services 2nd Edition (PWSSE) Samples:
http://examples.oreilly.com/9780596521301/
I found this via:
http://oreilly.com/catalog/9780596521301/
and clicking on "Examples"
Download the zip file and it has all the code for ServiceModelEx. I hope this helps.
you can find it here:
http://www.idesign.net/idesign/DesktopDefault.aspx?tabindex=5&tabid=11#WCFEssentials
Just search for "ServiceModelEx" in your browser to jump to the right link ;)
In the PWSTE - Sources there are four subfolders:
ServiceModelEx
ServiceModelEx (.NET 3.5)
ServiceModelEx(no service bus)
Tools
The ServiceModelEx is included at the source level at many sample projects under WCF Samples.
By studying Juval's code you can learn lot of good stuff.
Good bless him.
I went through the same process. But, luckily, I needed to download InProc Factory project from Idesign's site and there it was, the ServiceModelEx is bundled with InProc Factory example.
It is stored under InProc Factory.
The zip file has two projects. One is InProc Factory and the other one is ServiceModelEx.
Hope this is helpful.
Related
I have got an opportunity to work on a legacy web service project
which has been written 10 to 12 years before . I happily took this
assignment as i really wanted to check out how much effort the
developers had put decades before to write web services without the
advanced framework which we have nowadays . I really think they had
put a lot !!! coz the pkg has so many classes which i dont even
understand what is it ... It has BO ,PO , WSAO classes , CXF mapping ,
marshalling and unmarshalling .. So i want help from senior
developers here who have worked on web services decades before coz i
couldn't find any example in net really , all seems to be archived or
Page not found link .so please provide me any links or examples to
understand JAX-WS 1.2 , Webservice client - service . It might not be
a coding question but a question which would really others who are
willing to work on legacy projects .Thanks in Advance
You might start with just the "spec" jax-ws classes first. Various implementations have a lot of other, non-spec features that aren't portable and go beyond the spec, I'd save those for later. There are parts of jax-ws that are "off the beaten path", (handlers, low level api's, attachments, etc.) you can save those for later too.
This might be a good place to start: https://docs.oracle.com/javaee/6/tutorial/doc/bnayl.html
Java 6 through 8 contains jax-ws (unfortunately it's removed starting with java11) so you don't need an app server to experiment with it, just a java 8 jdk.
This seems to be a pretty good article on using jax-ws with just a jdk:
https://www.javaworld.com/article/3215966/web-services-in-java-se-part-2-creating-soap-web-services.html
The spec, JSR-224, is a good explanation, but it's not light reading, and you have to accept their license.
https://jcp.org/en/jsr/detail?id=224
I'm looking to "embed" a forum into an existing website. I've talked to Ray about what it'd take to do this with Galleon (a great CF-based forum), and it's doable.
As part of due diligence, I'd like to know if any existing ColdFusion-based forum software was designed with embeddedness in mind; in other words, forum software that wasn't built to just be run as a standalone application.
Thanks!
Marc, if you're looking for an add-on to a Mura CMS site, you should check out Meld Forums - https://github.com/meldsolutions/Meld-Forums. Free, open-source, etc.
Hi I'm looking for another approach than use Ria Services with silverlight.
We are using Silverlight 4 and .NET 4.0
Have someone make any nice solution with shared assemblies (maybe linked files so domain logic are spread). And maybe any nice framwork to make communicating with the wcf services in a clean way?? It would be really nice if it could support preservereferences :)
I'm looking for links and blogs.
I prefer to not use Ria Services cause its Data Driven mind with need to implemmenting ID's everywhere and lack of support for value objects. I'll also using MVVM so all the logic to undo, notify and so on isn't used.
I would take a look at DevForce by IdeaBlade ( http://www.ideablade.com/ ).
The DevForce product has been around for a number of years and definitely has MVVM support. I looked at it for a project recently and I found the team very helpful. There is an evaluation light edition so you can try before you commit to a purchase.
I'm a computer science student with experience in C/C++ and I want to have a go at developing
a simple facebook app. Can anyone recommend a good website and/or editor?
Is it doable with C++ or do I need to learn another language?
Thanks
I assume that you are talking about an internet application.
For the front end (client side), you will need something to enhance your web pages (in Javascript, for example). For the back end (server side), you will need to make database queries so you will need to know SQL as well.
No, I don't think C/C++ is enough.
I would suggest that you investigate some other languages such as PHP or ASP.Net.
It sure is doable in C++. I recommend though that you first write a small Facebook client API in a scripting language so you can do some quick and dirty testing while getting familiar with how the API works. This will save you a lot of frustration when trying to write the C++ version.
As editor I recommend Visual C++ Express Edition if you are using Windows, XCode if you are using Mac, and on Linux I'd use Vim (if that is your cup of tea).
A good website? The Facebook API docs pages of course!
i Released c++ facebook graph api client as open source
check it out here :
facebook-cpp-graph-api
Python might be worth considering.
The Wiki might not be a bad place to start on it.
(There are a couple of link to Tutorials in there)
Facebook Developers Wiki
check this c++ graph api as open source you can download it and use it
its handling login/authentication sequence with the Qwebkit:
http://code.google.com/p/facebook-cpp-graph-api/
We are looking for a C++ Soap web services framework that support RPC, preferably open source.
Any recommendations?
WSO2 Web Services Framework for C++ (WSO2 WSF/C++), a binding of WSO2 WSF/C into C++ is a C++ extension for consuming Web Services in C++.
http://wso2.org/projects/wsf/cpp
Apache Axis is an open source, XML based Web service framework. It consists of a Java and a C++ implementation of the SOAP server, and various utilities and APIs for generating and deploying Web service applications.
http://ws.apache.org/axis/
http://code.google.com/p/staff/
Staff is Web Service Framework for C++ (service/component and client-side)/JavaScript(client-side) based on Apache Axis2/C.
Open-source, released with Apache License V2.0.
Try the ffead-cpp framework, it provides in-built web-service support, rest, json and many other useful features.
We are using EasySoap (http://easysoap.sourceforge.net/)
While not FOSS another library is ATL Server library from Microsoft.
It is C++ template based with some proprietary attributes by Microsoft. i.e. not standard C++
You can check out xmlbeansxx. This is a kind of lightweight, low level solution, compared to complete frameworks. This has advantages in some cases.
Invoking SOAP WebServices using xmlbeansxx Article
Code example is here:
WsClient.cpp.
You could try gSOAP. Available under GPL and commercial licences.
I have used SWIG to make an interface from C++ to Java or Python and then used the typical web interface support for those languages.
Since Java and Python have reflection the web services frameworks that exist for them have a much easier time passing data around.
Threading wise if your C++ code is thread safe you can let the Java server manage the creation of threads for concurrent requests etc. and just call into your C++ code using JNI.
As a bonus you can test your C++ code from Python using these same SWIG interfaces.
I think the way to go is to write your service in C++ (I am assuming you did all the homework and there is a good reason you want to write in C++) and then front it using an RPC server. Use something like Thrift or Protobufs for a fast RPC implementation.
Now write your web frontend in the language of your choice - python would be mine - and make RPC calls to do all your heavy lifting.
POCO Remoting gives you a very simple way of creating web services in C++ by just annotating C++ class definitions with special comments and running a code generator over it. It's commercial, but delivered with full source code. A free eval version is available. Runs on Windows, Linux, Mac OS X, etc.
I concur with imjorge's answer and add that there's a C/C++ version of the Axis2 framework (a more flexible, extensible Axis) that does SOAP via RPC and all sorts of stuff including a bunch of the WS-* specs.
http://ws.apache.org/axis2/c/
Apache axis-c:
Simple to use, but seems abandoned.. not even download pages is working for several months
WSOF WSFCPP:
Fast quickstart dev, both binded or no-binded implementation, based on Apache AxisC and it seems most of the current developers of Apache Axis is from WSOF company. Besides the Great potential I've detected a memory leak.
I'm currently using Gsoap and It has very good performance.
Gsoap "mixed notation" between old c style and some (bad?) practices for C++ bothers me some.. but this is only code-furniture.
POCO:
Is a full-feature, modern (java?) like library. It is open source software, licensed under the Boost Software License 1.0. You'll have to write some things from scrach, but with great support, utility classes and etc great library.. Innovations from c++11+ with all boost initiatives + POCO + a new Build/Dependency system more "gradle like" will certainly bring c++ to new areas of development.