wcf

Tool for Viewing X.509 Certificates?

Does anyone know of any good tools to view the store name, store location, or values of an X.509 Certificate? ...

What is the difference between an asp.net web method and a wcf service?

I'm new to .Net and do not understand the difference. Can someone point me in the right direction? ...

ASP.NET MVC and WCF

I'm working my way into MVC at the moment, but on my "To learn at some point" list, I also have WCF. I just wonder if WCF is something that should/could be used in an MVC Application or not? The Background is that I want a Desktop Application (.NET 3.5, WPF) interact with my MVC Web Site, and I wonder what the best way to transfer data ...

Single WCF Service to multiple client connections

I have developed a VB.NET WCF service that recives and sends back data. When the first client connects it starts the data output that continues also if the client is closed. If a new client connects then a new object is created and the data output starts at the begninning and continues in parallel with the old instance. Is there a way to...

WCF Unknown Message Received Event

Hi, Does anywone know when a UnknownMessageReceived event on a WCF ServiceHost will be fired? I have some code where I capture the Faulted en UnknownMessageReceived event but even when I post a wrong message to a particular service I never get the event. Jochen ...

Visual Studio project type for a WCF app to work under IIS?

Is there a special project type for creating a WCF to be hosted in IIS? ...

IIS hosted WCF-service + Windows auth in IIS + TransportCredentialOnly/Windows auth in basicHttpBinding

Hello. I've asked already on MSDN forum, now have a try here. I wanted to do what I guess tried many. I wanted to create a WCF-service hosted in IIS6 and disable anonymous authentication in IIS. And don't use SSL. So only way I have is to use basicHttpBinging with TransportCredentialOnly, itsn't it? I create a virtual directory, set W...

Possible to combine calls in WCF?

Hi, I have two methods that I need to call in my WCF application from the client. Authenticate(username, password) GetUser(username) Is it possible to combine these calls to avoid so many calls being sent back/forth? ...

How do you configure WCF to support FaultContracts where both the host and client are in the same process using a net.pipe?

I'm trying to create an in-process unit test for my service to client interactions using net.pipe binding. Like a good WCF service it uses FaultContractAttribute on service operations to expose possible faults (wrapped exceptions) to metadata. I would like to have the client and service endpoints configured thru XML (App.config). Howe...

Linq to Entities with WCF

Hi there, I have all my entities in a seperate project in my edmx file and I expose them to my client application using a WCF service. That means I don't have to give my client app a direct link to the project that contains the edmx file. That would be bad because it contines the object to query the database with. But only the entitie...

Load testing WCF service (hosted on IIS)

Hi, What tools are there that I can test out a WCF service? I am expecting allot of load so I want to have an idea how much a single server can handle. ...

Want to host WCF Webservice as Windows Service as against to Hosting in IIS

I want to expose few web services but thinking of hosting those as Windows Service as against hosting in IIS. Is it a good practice? If yes? How do I make it secured? I want to authenticate the users who are accessing it (against our custom security database and also want to make sure that the request is originating from our busines...

WCF Error Logging at Service Boundary

I'm trying to implement an IErrorHandler in my WCF service in order to log every exception that hits the service boundary before it's passed to the client. I already use IErrorHandlers for translating Exceptions to typed FaultExceptions, which has been very useful. According to the MSDN for IErrorHandler.HandleError(), it's also intend...

Receive parameter from request body in WCF/ADO.NET Data Service

I'm tryint to post to a ADO.NET Data Service but the parameters seems to get lost along the way. I got something like: [WebInvoke(Method="POST")] public int MyMethod(int foo, string bar) {...} and I make an ajax-call using prototype.js as: var args = {foo: 4, bar: "'test'"}; new Ajax.Requst(baseurl + 'MyMethod', method: 'POST', ...

WCF client's and versioning

Hi, If I change the WCF, do I have to run some sort of update on all client computers that are accessing the service? (i.e. run svutils.exe and update all app.config's etc?) ...

WCF and confirmations - do I need to send back a 'OK got it' to client?

Hi, If I have hundreds/thousands of client computers WCP'ing to my server, should I respond with a '200 OK' type message stating that I received the data and stored it in the db successfully? Is this already built-into WCF? ...

wcf wsHttpBinding and disabling anonymous access

http://blogs.msdn.com/drnick/archive/2007/03/23/preventing-anonymous-access.aspx Can someone clarify whether it is possible to use wsHttpBinding in WCF and disable anonymous access in IIS without transport (ssl) or message security being required? ...

Timeouts WCF Services

How do the timeouts work in WCF? I know for example that you can configure sendTimeout and receiveTimeout for a clients binding. But how do they work? Msdn describes sendTimeout as: A TimeSpan value that specifies the interval of time provided for a send operation to complete. This value should be greater than or equal to Zero. The defau...

WCF in the enterprise, any pointers from your experience?

Looking to hear from people who are using WCF in an enterprise environment. What were the major hurdles with the roll out? Performance issues? Any and all tips appreciated! Please provide some general statistics and server configs if you can! ...

Common WCF Exception : Connection Unexpectedly Closed

I have three projects. One is a WCF Services Project, one is a WPF Project, and one is a Microsoft Unit Testing Project. I setup the WCF Services project with a data object that looks like this: [DataContract] public enum Priority { Low, Medium, High } [DataContract] public struct TimeInfo { [DataMember] public In...