wcf

Sortable list in WCF

Based on this article http://www.codeproject.com/KB/linq/bindinglist_sortable.aspx I implemented my bussines object with sortable feature. When I send the object to the client app (winfoms), the objects is not sortable. Does anyone have a solution for this? Thanks for the answer, Jani ...

Publishing schema as wcf service trouble

Hi. I'm trying to publish some HL7 schemas (with quite a few ) as wcf services using the "WCF Service Publishing Wizard". The wizard seemingly runs and completes just fine, creating a service that exposes the schemas I want. But when I try to browse the newly created service, I get "Server Application Unavailable"... I looked in the ev...

Problem with WCF-Service between Silverlight and Azure Cloud WebRole.

I want to use a Silverlight application in a cloud on Azure. The communication between the Silverlight application and the WebRole is a WCF-Service with Basic-HTTP-Binding. My problem is, that the communication doesn't work. I think the endpoint-address is not correct, but I'm not sure. Can someone help me? ...

Are there any gotchas when using Castle ActiveRecord/NHibernate with WCF?

The kind of flexibility that Activerecord gives to our DB design, we are looking at it for our DAL and build model around it. We will be creating a WCF service on top of all this. Are there any gotchas or compat issues when using NHibernate based Castle Activerecord? Specially when it comes to the DataContractSerializer that WCF uses. Si...

Authentication options in a scenario, where a silverlight application is calling a self-hosted wcf service.

Our system consists of a self-hosted (non-IIS) WCF service and an Asp.net website which hosts a Silverlight application. The application is supposed to do pretty much everything, the website is just a "shell" in this case. We have a hard time figuring out how to solve user authentication securely. To my knowledge, Silverlight can not h...

BizTalk Dynamic WCF-WSHttp Send Port reverting to Http Adapter

I'm trying to send a message to the WCF-WSHttp adapter with a dynamic send port from an orchestration, but BizTalk seems to always be reverting back to the HTTP Adapter. According to the docs that I've been able to find, I should just need to set the transport type from my expression shape to get BizTalk to use the WCF-WSHttp adapter, a...

Exposing WCF subclasses based on an abstract class

I have an abstract class which I would like to be able to expose to WCF so that any subclasses will also be able to be started as a WCF service. This is what I have so far: [ServiceContract(Name = "PeopleManager", Namespace = "http://localhost:8001/People")] [ServiceBehavior(IncludeExceptionDetailInFaults = true)] [DataContract(Namespac...

Decoupling Silverlight client from service reference generated class

I am researching Prism v2 by going thru the quickstarts. And I have created a WCF service with the following signature: namespace HelloWorld.Silverlight.Web { [ServiceContract(Namespace = "http://helloworld.org/messaging")] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequiremen...

What are the advantages of using WCF over frameworks like MassTransit or hand written MSMQ client?

I am looking at using MSMQ as a solution to do asynchronous execution in my upcoming project. I want to know the differences between using WCF and frameworks like MassTransit or even hand written MSMQ client to place/read task off MSMQ. Basically the application will be several websites (internal through LAN or external through the Int...

ADO.NET Data Services with Linq-to-SQL

I am encountering a weird error when using linq-to-sql with ado.net data services. I have a simple silverlight application that connects to a remote database. I first added the linq-to-sql class and dragged a table onto the designer. Then I added a ADO.NET Data Service, updated the DataService reference to point to the L2S Data context. ...

Is it possible to create a WCF "reverse" tcp channel?

Normally a WCF TCP channel will make a connect to a host then allow you to make method calls over it. I would like to have a service which makes outbound connections to the clients, but once the connection has been made then clients would be able to make method calls against my service as if it were a conventional connection. I suspect...

What's the best way to test WCF services?

I've used this tool that microsoft ships with visual studio because it's quick and dirty http://msdn.microsoft.com/en-us/library/bb552364.aspx But it's kinda clunky and hard to work with. Are there any other useful test clients out there that you use and don't require creating a new visual studio project and compiling code? EDIT: I'm...

In-process communication design with WCF (.NET)

Hi everyone, I have an interesting design problem and I was hoping you all could make some suggestions. I'm using C# and .NET 3.0 I have a very nice, extensible framework built on top of WCF that automates the setup of endpoints and the creation of contracts. The system I'm working in could be run in different ways - endpoints could b...

Generic collection support in WCF

Does WCF support generic collections? I looked at the proxy object, and it seems to generate object array from a generic list collection. Thanks ...

Problem Connecting to WCF Service on a Server

I have set up a WCF service on a server which lives in its own Workgroup. I've tried to make a TCP/IP connection to it from a client that lives on the corporate domain. When I try to open a connection, I get a SecurityNegotiationException with the message: "A remote side security requirement was not fulfilled during authentica...

.Net Remoting Vs WCF

Am working on a .Net website which is going to have 1000s of concurrent users. Am thinking of keeping the business components on the app server and UI components on the web server.Database ( sql server 2005) will be hosted on another server.Am also planning to use load balancing. Given this, whats the best way of communication from web s...

DataContract vs. XmlType

As part of trying to learn WCF, I am reading up on serialization. I am struggling to understand how I can control serialization in .NET 3.5. For instance, I have a simple class with a few public properties. By adding the DataContract attribute to that class, I can for instance control the namespace and the name of the class as it is seri...

Persisted properties - asynchronously

In classic ASP.NET I’d persist data extracted from a web service in base class property as follows: private string m_stringData; public string _stringData { get { if (m_stringData==null) { //fetch data from my web service m_stringData = ws.FetchData() ...

Search for WCF service in a LAN?

Is there a way to search for the existence of a given WCF service in any of the computer of a local Network? For example, I am looking for the Math/Add2Numbers service and I want to know which machines on the LAN provide it, is there any way to do that? ...

Fastest serializer/deserializer with lowest memory footprint in c#?

Hi, I am currently using the binary formatter (Remoting) to serialize/deserialize objects for sending around my LAN. I have recently upgraded from 2.0 to .Net 3.5, has 3.5 introduced any new types to improve serialization performance? I’ve looked at the DataContractSerializer but this serializes anything to underlying xml right … which...