Browse by Tags

All Tags » WCF (RSS)

Silverlight 2 + WCF Service Deployment Issue

While deploying a very simple Silverlight application using a Silverlight enabled WCF service, I ran into this little problem: On my development machine hosting the app using the normal VS host (By running the app using F5) everything works perfectly (Creating a random port number for the app and service) If I now deploy this app and service to my production machine, the Silverlight app works but it can’t access the WCF service!!! Things I double checked: Make sure the Silverlight application runs...

Hosting a WCF Syndication Service in a Console

With the release of .NET Framework 3.5, WCF has been improved to include the creation of a Syndication Service. This effectively allow you to expose a service as a Plain-Old-XML (POX) service! I am currently developing a RESTful application that make use of this. I needed to host this service in a consol application... I could not find a easy solution on the internet. Let me start by just quickly showing how to create a syndication Library: 1) Create a new Project in VS 2008 2) Select WCF in the...
Posted by rudi | 1 comment(s)
Filed under:

WCF + LINQ?

In an n-tier application, is it possible to send objects created by LINQ between layers? More specifically, is it possible to send LINQ object via a WCF service? Well, the short answer is yes. I will first show you how to do it then I will try and discuss why I want to do it and try and list the pros and cons! I am only going to demo how to do this using the designer interface (LINQ to SQL - DBML) but it is also possible to use it in SQLMetal.exe! I opened an existing project, clicked on the design...
Posted by rudi | 3 comment(s)
Filed under: ,

Codename Silver

Sounds like a game? One of the goals for the WCF/WF teams was to integrate WCF and WF more closely in Orcas Beta 2. This project was names Silver. Once you really start using WF, sooner or later you would find it useful to instantiate a workflow using a WCF service. Well, in beta 2 this is now possible. Matt Winkle wrote an excellent blog post about Workflow Services ( http://blogs.msdn.com/mwinkle/archive/2007/07/30/vs-2008-beta-2-shipped-0-to-workflow-service-in-60-seconds.aspx ) If you need more...
Posted by rudi | with no comments
Filed under: , ,

Great WCF end-to-end sample application

While on my quest to learn more about WCF, I found this excellent sample application from microsoft called Stock Trader. Channel 9 also has a 3 part video series covering this application and it is well worth the download!!! The application can be found here: http://msdn2.microsoft.com/en-us/netframework/bb499684.aspx and the videos are here: http://channel9.msdn.com/Showpost.aspx?postid=336247 http://channel9.msdn.com/Showpost.aspx?postid=336846 http://channel9.msdn.com/Showpost.aspx?postid=337665...
Posted by rudi | 2 comment(s)
Filed under:

Using Windows Communication Foundation (WCF)

I recently decided to start digging into WCF. here is some links and guides I found usefull: http://wcf.netfx3.com/files/default.aspx http://www.netfxguide.com/guide/wcf.aspx http://searchvb.techtarget.com/general/0,295582,sid8_gci1191213,00.html http://bluedot.us/users/SharpSmith/tag/resources/wcf Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!