WCF
There are 5 entries for the tag
WCF
Up to now I haven't explained what my mobile test application does. The main thing I wanted to test was calling a WCF service. If you use .NET CF 3.5 WCF will be available in your application to make the call but you can also call the service as "web service" (asmx) (1) Calling the service as ASMX In you Smart Device Application project just do "Add Web Reference", enter the url of the service (no "mex" part but with final /, like this: http://server:port/Design_T...
I might have to develop an application for a mobile scanning device and I have been playing around with the .NET mobile components in preparation. Not easy at all: the documentation is not very clear and there are lots of different components/versions. Here are some of the problems I encountered and how I solved them. My constraints: a) My development environment is Windows Vista + VS 2008 Team System. b) The device will probably be Datalogic Memor which runs Windows CE 5.0. This means I need to...
Suppose you have three tables in your database where one of them specifies a many-to-many relationship between the other two (example from AdventureWorks): Suppose also that you have a method such as GetVendors(int productID) that will retrieve all the vendors for a given product through the ProductVendors table (that is , the many-to-many table). Now, if this method is exposed via a WCF service, when your client calls it you will see an exception like this one: "System.ServiceModel.Commun...
It has been a while since I last posted, but I haven't stopped working :) I am currently on a project involving WPF and WCF. While I am not a big fan of WPF, but I quite like WCF. During the development of our project we run into a very annoying problem with WCF. After some help from Microsoft, we found a solution at last. The problem is very easy to describe. On the one side, we have a WCF service running. On the other side, we have a client with a reference with to this service. Now and then, we...
This week we need to choose the most appropriate communication technology for one of our projects. The project constraints are the following: .NET on both client and server client and server on same LAN A lot of information to be passed from server to client and vice-versa Performance is important Typed DataSets will be used on server side Presentation layer is developed with WPF Security is needed (sensitive or confidential data) The options we have are the following: ASMX Web Services .NET Remoting...