Hi.
I am trying to pass a list object of type List<UploadQueue> to a WCF SOAP
method of the same parameter type and I am getting the error:
Cannot Convert from
'System.Collections.Generic.List'
to 'WebAPI.Upload.UploadQueue[]'
I don't understand this because my WCF method's (below) parameter type is List<UploadQueue>:
ISe...
Which method is very effective and simple to code to attain this functionality ?
Refreshing a page without postback in least time irrespective of DB Size.
Consider i have 10 million records in table i have to retrive the 1000 records of the
particular user and display it in the page. He/she might get few more records in next 2
seconds...
Is there a way to host wcf service application with Plesk Panel 9.2 in shared hosting under Windows 2008.
...
Hi All,
Can anyone please explain me the use and importance of IMetadataExchange in WCF ?
I have the following app.config file in which i don't use IMetadataExchange endpoint but i am still able to create my proxy client.I have read that if i don't use IMetadataExchange endpoint, AddServiceReference will not work because my service doe...
Is it any how possible to run DirectShow on multiple machines with wcf?
...
Hi,
I have a 2 WCF services that are exposing the same object. Lets say the first service (SerA) exposes a class (classA) and the second service (SerB) which adds the filled classA also exposes this class (as this class is included in the parameters) Now when I retrieve the classA from SerA, it is concatenated with a namespace SerA.cla...
Hi,
I have a WCF Web Service Running on my IIS. It takes data from client and inserts in the Database. My Web Service requies an object of complex Data type Players. In the Client I create an object of Players and pass it to the Web Service to do the Work.
In my client console app i am doing
string strBaseAddress = ConfigurationSett...
I have a POCO classes that I am using with NHibernate in a WCF service layer. And I am thinking about trying to send the NHibernate proxy classes down to a client. This is a client that I control. We handle record updates with a system wide reservation so there can only be one writable copy of this entity sent to a client at any given...
I have a WCF Service Library exposed through my ASPX site as follows
[System.ServiceModel.OperationContract]
[System.ServiceModel.Web.WebInvoke(
Method= "POST",
RequestFormat=System.ServiceModel.Web. WebMessageFormat .Json,
ResponseFormat=System.ServiceModel.Web.WebMessageFormat .Json)]
LogonResponse Logon(LogonRequest logonRequest);
...
I've updated an existing WCF application to add protobuf-net support.
Basically, I've :
added protobuf-net.dll (.net 3.0) as a reference in the assembly containing all my data objects. This assembly is referenced by both my server and my client
replaced [DataMember] by [DataMember(Order = x)] (using increasing ints as x)
Updated all my...
is it possible to access SAPI from a WCF app ?
...
WCF Rest Starter Kit OnGetItems returns IEnumerable<KeyValuePair<string,BusinessObject>>
On serialization , It becomes
<ItemInfoList>
<ItemInfo>
<EditLink>http://localhost:1394/BService.svc/1</EditLink>
<Item>
<Name>Foundations</Name>
</Item>
</ItemInfo>
<ItemInfo>
<EditLink>http://localhost:1394/Service.svc/2</EditLink>...
Hi,
I have application created using WCF and C#, it's architecture requires to add KnownTypes through App.config. I have services going like this:
Client -> CentralServer -> DataServer (where -> is WCF connection)
Now, I've added KnownTypes to both CentralServer App.config and DataServer App.config this way:
<add
type="Odra.Server.Ce...
I've got a WCF service with the following settings:
NetNamedPipeBinding
ConcurrencyMode.Multiple
InstanceContextMode.Single
Now I've got a client that accesses to this WCF service in a multi-threaded fashion.
As far as I understand I have to open a new connection to the service for each thread to avoid threads to block each others.
...
I have a WCF service using netTcpBinding (the protocol should not be relevant but included it anyway).
I am having Culture issues with parsing dates.
Previously, using HTTP and System.Web, we can use the globalization element.
Unfortunately this has no effect in WCF.
I Have had trouble finding information/blogs about this.
Is there ...
Hi,
I need to do a conceptually simple thing:
Call a remote method from a WPF application to the server. But I need to share the model types with both sides.. I mean, I need to send a Person object as parameter from the client and also receive objects of the same type.
What's the best way? Is it to use WCF? Is there a better way?
Do y...
Hi,
Just starting to look into WCF and came across the
WSDualHttpBinding binding.
I have used .Net remoting in the past, but it was not possible to have callbacks to occur when the client was behind a router.
Callbacks only worked when 2 applications were running on a LAN.
As explained by this article.
http://blogs.msdn.com/manishg/a...
Hi,
I am accessing a service and I get returned an object in the form of (for example)
Car _car = _service.FetchCar(carId)
Car.Color
Car.Tires.Right.Front
Car.Tires.Left.Front
Car.Tires.Right.Back
Car.Tires.Left.Back
Car.Spoiler
etc, etc...you get the idea. My application is recieving many different objects w...
Hi All,
I have a requirement in my project to send messages on mobile phones.
I want to know whether i can do it with wcf or not and how ?
I have heard that wcf sends messages only via wires.
Please give me idea of broadcasting messages in WCF..
...
Hi everyone !
I am moving my architecture from coupled one to SOA (WCF) loosely coupled.
I have several services which communicate with each others.
How would you synchronize the business instances between the services?
I see two scenarios here:
All the business objects are created in only one service, let's call it MainService and ...