I have a WCF Service which returns some custom objects to a desktop client application. Both projects share the same ObjectLibrary.dll, however when the WCF server return these objects it is returning
ClientApplication.ServerReference.ObjectType
instead of
ObjectLibrary.ObjectType
Is there a way to get the WCF server to return the...
After a series of extremely frustrating failures I managed to set up Silverlight using windows authentication following these steps in iis7.5 http://rouslan.com/2009/03/20-steps-to-get-together-windows-authentication-silverlight-and-wcf-service/
(I had to build my own windows server box, which was a learning experience in itself).
Ho...
I'm currently experiencing an issue using WCF streaming to return a large set of serialized objects over the internet while hosted through IIS. I'm not sure if it is a network issue or a WCF issue, but the symptoms are hard for me to justify as network issues, as I'll describe below.
The objects are a variety of different objects sent o...
Hello all,
This is my first post to stackoverflow, so bear with me. :)
I am developing a winforms application that will have an offline mode, so that it can access the data if an internet connection (or more accurately, a connection to my WCF service) cannot be established. I have decided to utilize SQL Server Compact edition on the c...
Hey there,
I have enabled compression of my WCF service by implementing the sample GZip encoder featured on on MSDN and everything is working great, however now need to transfer my reader quotas across to this binding, as I previously had these customised when I was using wsHttpBinding.
This is my GZip binding as declared in my Web.con...
I've just read this interesting article regarding simultaneously calling multiple methods on a WCF service from Silverlight:
http://weblogs.asp.net/olakarlsson/archive/2010/05/20/simultaneously-calling-multiple-methods-on-a-wcf-service-from-silverlight.aspx
The article states: "It turns out that the issue is founded in a mix of Silverl...
Hello
How can i use Server Push with my WCF web service to communicate with the asp.net clients and push the data to the browser? Can i implement BOSH with WCF?
Thank you.
NLV
...
I'm following this guide here:
http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/09/16/integrating-structuremap-and-nhibernate-with-wcf.aspx
And has now come to the end of it where i need to add :
<%@ ServiceHost Language="C#" Debug="true" Service="Wcf.ComboService" Factory="Wcf.DIServiceHostFactory" %>
to my svcfile,
the p...
Hi all,
I have a LINQ 2 SQL project and I'm trying to use it in WCF.
EntitySets serialize perfectly if I specify them with the LoadWith dataloadoptions. The problem is EntityRefs.
I have a customer with 1 address. But 1 address can have multiple customers.
How do I make sure that the Customer is passed over the line WITH the Addres...
What is the best, efficient and fastest way to expose an existing (class) library (which primarily defines CRUD operations ) as a service (WCF Service or WCF Data Service), so that it can be used with Silverlight or Ajax. Are there tools (code generators, RAD tools), which can support this ?
Thanks in advance for your help and hints.
...
I'm using the excellent DuplexHttpBinding. I now want to extend it so that I can use transport security with message credentials. I have some normal BasicHttpBindings set up in this mode like so:
<basicHttpBinding>
<binding name="BasicHttpBinding_Custom">
<security mode="TransportWithMessageCredential">
<message client...
In the project I'm currently working we're using WCF.
Company policy forces us to use async calls and the reason should be security.
I've asked why this is so much more secure but I don't get clear answers.
Can someone explain why this is so much secure?
...
Hi.
I'd like to build my business application using the MVVM pattern. I choose MVVM-Light because it fits to my needs.
In every example I've seen about MVVM-Light, no-one use the WCF RIA. The classic MIX10 example uses a Service in the same project while WCF RIA create a service in the Web project.
The question is: it looks very hard to ...
We are currently using nLog for logging (which was an arbitrary choice made some months ago so it can be changed if necessary).
nLog can log to a database but requires a ConnectionString. This is an issue for us as we are in an n-tier environment and we have no database access at the Presentation tier (everything goes back to WCF hoste...
I've an application that offers its Business Layer through a Service Layer developed with WCF.
What I'm thinking about is: this service layer offers operational method like Create, Update and so on. These operation then reroute these calls to the Business Layer. The question is: suppose that one of these call doesn't accept a null input ...
I have a WCF service that I need to call. When I go through "add service reference" in VS, I get following client config:
<configuration>
<system.serviceModel>
<bindings>
<customBinding>
<binding name="CustomBinding_IMyService">
<binaryMessageEncoding maxReadPoolSize="64" maxWr...
Hi there,
I need to reference a service that is a part of another project.
I have declared and implemented the contract of the service and then tried to
add a standard reference (right click ->Add Service reference, and added
http://localhost:8000/MyService?wsdl
The proxy has been generated and it should work at the first glance, how...
All the example WCF feed services that I can find are all about generating a feed. What about consuming a feed? Does anyone have any links to examples, or discussions, on a WCF service (.net 4.0 preferably) that can accept an Atom or RSS formatted data feed? I don't need to generate the feed, I need to accept it, validate it, stick the d...
Should I bother with disposing (using close() and abort() on exception) the WCF proxy generated using ClientBase when I am using WebHttpBinding? Since its POX/ REST over http, I am wondering if there is any harm in leaving the proxy alone after the service call!?
...
Hi I have a WCF service and commenting my operation contracts as below:
/// <summary>
/// Call to topup a card.
/// </summary>
/// <param name="topUp">The TopUp object which specifies the card to topup.</param>
/// <returns>Returns a boolean indicating whether call has finished successfully. </returns>
[...