Can I host COM+ application in WCF?
Is it possible to host my COM Objects in WCF? I want to move them out of the Component service. Any advise will help ...
Is it possible to host my COM Objects in WCF? I want to move them out of the Component service. Any advise will help ...
Here is the scenario... I have a service like this public class Service : IServiceContract, IServiceBehavior { public void ApplyDispatchBehavior(ServiceDescription serviceDescription, ServiceHostBase serviceHostBase) { foreach(ChannelDispatcher chDisp in serviceHostBase.ChannelDispatchers) { foreach(var epDisp ...
I've been reading about Azure's Access Control Service and claims-based authorization in general for a while now, and for whatever reason, I still don't see the rationale behind moving from role/permission-based authorization to a claims-based model. The models seem similar to me (and they probably are), except that the list of what the ...
Hi. I have moved my file transfer service from basicHttpBinding to netTcpBinding as I am trying to set up a duplex mode channel. I have also started my net.tcp port sharing service. I am currently in dev and am self hosting on an xp box until we move the app to a dev server. so, for now, I do not have access to IIS. After configu...
So there is an entity that has an enum property and a wcf service that would return or take that enum type. Should the enum be in the entities assembly and mark it up with attributes or should I duplicate the enums for both assemblies, marking the service enums and leaving the entity enums undecorated? I don't like duplicating the enum t...
If I would build a big WCF RIA Services application with multiple domain services how could I have certain entities, which are shared between those domain services and exposed by them in different context. For example I could have a Cutomer entity, which is exposed both by Orders and Loyalty modules/domain services. At least my own exper...
Hello, I've gone through the MSDN WCF - Getting Started Tutorial, and it went great until I tried to move the client from one machine in my domain to another in my domain. When I moved the client peice to the other machine in my network, it gave me an SecurityNegotiationException. Here is what I've done: I defined a service contra...
Initially created a WCF service with one method and everything works fine. I tried to add a new method to the service and for some reason when I try to update the service it does not find this new method. Any advice? ...
I've got a simple WCF service that works great on localhost - consumed by another local website and is returning data. Now I upload my service to our host, changing the appropriate addresses in the web.config, and it breaks when the client calls it. Error: The Address property on ChannelFactory.Endpoint was null. The ChannelFactory's...
I want to enable self-service for employees starting with the ability to update simple contact information into AD. The twist is that I want this as a web part in SharePoint Online as my company uses BPOS. Employees would log on, change their details and it gets back to the company's AD. Initial investigations have shown that you cann...
I have a WCF server that is a library assembly. (I am writing it so I can mock the level below it) It is called var a client helper class that is in a different assembly. As the data that is transferred is complex and the server has to send call-backs to the clients I wish to test the WCF code in isolation. (I am only interested in t...
I have a WebInvoke method like this; [OperationContract] [WebInvoke( Method = "POST", UriTemplate = "/go", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageFormat.Xml )] string go(string name); and I post the data like t...
Imagine I've got a data object that makes sense in an OO model, but for serialization I want to have its fields referencing other types replaced with simply an ID, or in some cases, a simple object with a text and an ID. Is it possible to have the serializer to handle specific fields differently, or do I have to redefine a second data o...
First off, I'd like to thank those who have helped me out with this WCF connectivity, as it's fairly new to me. I've got a hosted WCF service that I created a custom factory for, so that this would work with multiple host headers: /// <summary> /// Required for hosting where multiple host headers are present /// </summary> public class...
I have a RESTful WCF service with many different functions. For each function I need to call an authentication method that I have written. I can manually call this method on every request but I was looking for a way to force the WCF engine to call this method before these functions are entered. Does anyone know if this is possible? Che...
I am writing my first SVC and am missing something. It all compiles fine but the page does not seem to return anything from my service. Service Code: namespace RivWorks.Web.Services { [ServiceContract(Namespace = "http://www.rivworks.com/ws/")] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirements...
Hi. I am designing a duplex channel wcf service using a custom binding. Currently, when I compile my class library, I am getting the following error: Transfer mode Streamed is not supported by ReliableSessionBindingElement. Below is my App.config: <service behaviorConfiguration="transferServiceBehavior" name="...
I've got a WCF service that will need to receive client credentials, and maintain some kind of role-based data, based on my auth method. The clients will reside on many different systems, and as such, each client will have a unique userID and pw. I'm using basicHttpBinding and have read a few articles, such as this one, http://nirajru...
Hi I was asked this question - How do you start consuming a WCF service in advance (read before being implemented/deployed)? I couldn't think of a very convincing answer and said probably we can generate a proxy and provide some stubs ..etc... you got the idea. Even I was not convinced with myself. The question do make sense as present...
I am in the process of writing some test for a server that is implemented in WCF, as the messages are complex and call-backs are made to the clients I wish to include WCF in the tests. (You may wish to call these “fit” or “integration tests” not unit tests, the code on both side of WCF will have more detail unit test that don’t use WCF....