We would like to build new application as multi tiers, we can do it as web service, but we prefer to use more advanced features as WCF, which not found in datasnap too.
can we do that with Delphi 2010 win32?
the clients will be Delphi win32, Asp.Net (C#) and maybe windows mobile phones too.
Using Delphi Prism you can, see http://www.drbob42.com/examines/examinB4.htm
Since WCF is a .NET only technology, you will need to bridge to cross from the unmanaged Win32 world to the managed .NET world.
There are a few options to get started.
All of them feel kludge-like, so it might be better to ask yourself the question "what features of WCF are so compelling over web services?"
Here it goes:
Write a .NET wrapper, export it as COM or ActiveX, then use it either as COM or ActiveX object from native Delphi Win32
Use Delphi Prism with the UnmanagedExport attribute to create a .NET wrapper that you can call from native Delphi Win32
Use Managed VCL to do .NET interop from native Delphi Win32
From another Stackoverflow question: create a C++ DLL crossing the bridge this used "mixed mode C++"
Use RemObjects Hydra on both the C# or Delphi Prism and native Delphi Win32 side (RemObjects wrote Delphi Prism, so this works like a charm)
The last one might be the real one you are after:
it can do much more than web-services, but is not as platform limited as WCF is.
--jeroen
WCF is a part of .NET, you need an .NET language to use it: No "Win32" language can do it. Delphi Prism can!
Related
I'm using visual basic 2010 express as my IDE, i need to use WCF to create a client-server system, but i can't find the WCF service library, it's not shown as template and i can't find a place to download it, i've seen a few videos of people with visual studio (not visual basic) using WCF, is that the problem?
it seems like WCF is not available to VB 2010, I'll have to swap to VS
Quick question
I am doing a Plural Sight tutorial on WCF and they are using the WCF Service Library (as opposed to application.)
When I go to Add new project there is no WCF Service Library. Not under any of the .NET versions.
I am using Visual Studio 2013 for Web Express.
Any one know how I can get it?
Thanks
You can find it under Templates WCF.
( Go to New Project->Installed-->Templates-->WCF)
About 2 years ago I worked on a WCF app, using VS 2008. I was using BasicHttpBinding. I got it onto a Windows 2003 Server R2, and then other projects came up, demanding attention. Now I'm trying to get back at it, only now I want to use VS 2010 to write the client side of the app (it's going to be a WPF app). I'm getting an error, but before I get into that I just want to know; can a .NET 4.0 app work with a WCF service written using .NET 3.5?
In theory, since you are using the Basic binding, you should be able to use any version of .Net to connect to your service. BasicHttpBinding offers the most compatibility across versions, so you're on the right track.
WPF Calling WCF Using a BasicHttpBinding
http://msdn.microsoft.com/en-us/library/bb943481(v=vs.90).aspx
I can't see any template to start a WCF project (I do see ones for WPF amongst other things). Is this because I don't need a template, or because it's missing in Express, or because I'm looking in the wrong place?
See How to add WCF templates to Visual Studio Express? - although that question relates to VS2008 it may help.
It's a template in the Web Developer version.
"WCF RIA Services Class Library" and "WCF Service Application" are both listed there.
I think I understand why Microsoft are packaging the WCF projects with the Web Developer version but it an arbitrary distinction. I can't see why they don't include them in both applications.
I am about to start a project which consumes third party web services. Because of a legacy system, I am told that I can only use Visual Studio 2005/.NET 2.0. (Though I would have preferred Visual Studio 2008 on .NET 3.5)
My understanding is that WCF was released with .NET 3.0. So is there any possibility to use WCF on Visual Studio 2005 by using just the WCF assemblies of .NET 3.0? I will then try to convince them that it is just like using external framework which doesn't disturb anything.
You can read here the steps how to setup WCF in VS 2005
http://blogs.msdn.com/jmeier/archive/2007/10/15/how-to-create-a-hello-world-wcf-service-using-visual-studio.aspx
or
Download WCF templates for VS 2005
http://blog.stevienova.com/2007/02/25/net-30-wpfwcf-templates-for-vs2005/
and install .net framework 3.0
Here are some useful links for WCF Extensions and for other useful information.
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/b297421e-5030-47e2-96e1-6d1d9920c9c7/
http://forums.asp.net/t/1331127.aspx
Good Luck!
try this: http://www.zdnet.co.uk/downloads/developer-tools/2007/08/21/the-visual-studio-2005-extensions-fornet-framework-30-wcf-and-wpf-november-2006-ctp-3-39328336/
I hope this helps!