I’ll provide more info later, but wanted to get this entry up.
I’ve recently did a sample application for my local user group.
It’s a layered and tiered setup. The "traditional" layers are there, but now you can tier this application thanks to WCF.
Also included is an alternate way to avoid creating proxy classes on the client. I call this the "DotNet to DotNet" method.
Ultimately, this life saving blog entry made this possible:
The sample is complete. You’ll have to create a simple Sql Server Database, and run a few .tsql files (3) to have a working example.
A IsOneWay method is also included (aka, using WCF with MSMQ). And an error handling (IErrorHandler) example is provided as well, when a "IsOneWay" message fails.
(Naturally, you’ll need MSMQ 3.0 or 4.0 installed for this example to work).
Please look at the root directory README.txt files, it answers most questions about the setup, and where I downloaded Juval’s excellent ServiceEx project.
If it helps, please leave a comment. Thanks.
I am currently leading the discussion about StockTrader (msdn.microsoft.com/stocktrader) for my local user group (www.trinug.org
I am also attempting to integrate my sample application into Greg Leake’s (stock trader author) Configuration Framework.
If you haven’t seen the StockTrader videos on Channel9/Wiki, check them out.
Now load the example which you can download here
. (A "right-click" and "save-as" works best).
If you need a good reference for getting started (aka, the nuts and bolts of getting WCF working on your development machine),
If you have not installed WF (WorkFlow) onto your system, you will need to make the following changes:
Open up (in notepad.exe) the following file:
Find the lines below and REMOVE them.
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets" />
Save the file. Close notepad.exe. Find and open the .sln file. That should work.
I realized after the fact that I had a WF reference in there, and not everyone has WF installed.