wcf

Enterprise service bus and Message Brokers

Ok guys its time to be stupid, I want to start looking at WCF but to be honest before I do I would like to understand more about SOA in general. I dont really understand the concept of a "Enterprise service bus", and am not sure whether it is a pattern/methodology or piece of software. Additionally, the sam can be said of a "Message Br...

WCF REST starter kit fails to install

I just, quite anxiously, downloaded the spankin new WCF REST starter kit. The installed failed. Anyone else had this problem? http://msdn.microsoft.com/en-us/netframework/cc950529.aspx Edit: The install fails during the template installation. The VS JIT debugger window pops up. Nothing else is running the PC, I am running as an admin o...

Can ADO.NET Data Services use named pipes as a transport

I am well aware that the Rest based approach is targeting HTTP. I would love to use the REST APIs and other goodness between processes on the same computer. Since ADO.NET data services is built on top of WCF it would seem reasonable to assume that the transport in configurable to work with any of the WCF supported transports. Anyone k...

AJAX to WCF not working in FireFox

I'm trying to get this sample for AJAX to WCF working, with the following code. When viewed in FF, nothing is displayed, and when viewed in IE, the time is displayed. I'm using IIS 7, btw. function getTime() { TimeService.TimeService.GetTimeFormatted("dd-mm-yyyy [hh:mm:ss]", onMethodCompleted, onMethodFailed); ...

WCF Behavior Extension Elements Not Recognized in Visual Studio

This question is related to the question posted here: http://stackoverflow.com/questions/169342/why-isnt-my-custom-wcf-behavior-extension-element-type-being-found I'm using the WCF Behavior Extension with Custom Credentials demonstrated on MSDN here: http://msdn.microsoft.com/en-us/library/ms730868.aspx The only difference is that I'...

How to work with objects using Dynamic WCF?

We currently have developed an application using WCF. Our clients make connections to different WCF servicehosts located on the server, and the servicehosts return the data from the DB that the clients need. Standard model. However, this current design has all of our WCF data in app.config files both on the client side as well as the ser...

Thou shalt have only Autonomous Services

One of the tenets of SOA is: "Services Are Autonomous". I have 2 services. Service A depends on Service B. Service A cannot serve clients unless Service B is up and running. Do I violate the tenet here? Or if autonomous must mean "decoupled", do I satisfy the tenet if I have a failsafe (say another instance of Service B running elsew...

What would be the best approach to designing a highly available pool of web services?

I've heard a lot of people touting success using Linux based proxies to handle routing for high availability of web applications, but what are others doing with web services? I have a bank of WCF services that need to be moved to a high availability (failover) model, meaning that if a particular server hosting the WCF services goes down,...

WCF client / Axis Server / File transfered by MIME ?

Hi everybody, I have a web service developed with Axis v1.4, the WSDL describe a method with attachement by using MIME. I can't modify the server side. How can I get the attachement file with a WCF client ? Here the WSDL of the service : <operation name="MyMethod"> <soap:operation soapAction="AssTSTService:MyMethod" /> <input> ...

Handling WCF Deserialization of DateTime objects

We've got a scheduling application running that calls a WCF service to run nightly jobs. A large number of these include information about the current business date. For business reasons the scheduling server is set to GMT, but our service is running on servers set to NY time. This raises a problem; the dates are being passed to our...

WCF Lifecycle Events

Is there an event that fires when a WCF service gets started or shut down? Hopefully, independent of whether it is self hosted or hosted in IIS? ...

How do I share DAL and BLL across multiple .NET applications?

I need to create several applications that all share a Microsoft SQL Server database. These include ASP.NET web applications, WPF desktop applications, and probably the odd console app every now and then. I'd like to use the ADO.NET Entity Framework for data access, extend its objects for my business logic, and bind those objects to co...

Using WebServiceHostFactory Pros & Cons

When hosting a WCF service on IIS you have an option of manually configuring the endpoint or declaratively by means of WebServiceHostFactory. It doesn't seem to be that difficult to manually create the endpoint so I figured I would ask. What are the benefits of using WebServiceHostFactory? Are there any performance implications to dyn...

WCF behind load balancer - how to setup

We have a couple of web servers using load balancer. Machines are running IIS6 on port 81. Externally, site is accessable using port 80. External name and name of the machine are different. We're getting System.ServiceModel.EndpointNotFoundException: The message with To '<url>' cannot be processed at the receiver, due to an AddressFil...

Does WCF suppress first-chance exceptions?

I've got a WCF service that uses a LinqToSql DataContext to fetch some information out of a database. The return type of the operation is IEnumerable<DomainObject>, and I have a helper method that converts from the Table-derived LINQ object to a WCF data contract like so: [OperationContract] public IEnumerable<DomainObjectDTO> RetrieveD...

Passing Windows Token to WCF then from WCF to another server in the AD domain

This may be a doozy, but does anyone have an idea how to: Pass the users windows token (authenticated from domain) to the wcf service that is called - the service would then perform an action based on the users windows credentials that made the call. ie: Client -> WCF -> SOME 3rd PARTY REPOSITORY THAT INTEGRATES WITH ACTIVE DIRECTORY. ...

Performance Tuning WCF Service

What is the single most important performance tuning area for a WCF Web service? ASP.net Thread settings? WCF throttling? ...

Has anyone developed a PHP based Client for a WCF Service?

Has anyone developed a PHP based Client for a WCF Service? I'm in the process of completing a WCF Service for my work. Only I don't expect the client to be running on the .Net Stack. I expect PHP (LAMP) will be the norm. Are there some obvious pitfalls to avoid? I'm not running with any security (BasicHTTPBinding) ...

Please help me use reportviewer with business objects and wcf

We have a small in house project that requires reporting. I'm trying to use reportviewer as it seems like it will do exactly as we require and didn't want to get bogged down with the complexity of crystal reports if I could help it. I am trying to use a business object that I am passing to the report.rdlc. The problem is that the prope...

Can you use the DataContractSerializer outside of WCF?

From the reading I've done I'm under the impression the DataContractSerializer handles versionong issues by, if members in the request are not there it will set the default value, and if addional members are in the request but not in the definition the serializer will simply ignores these fields and not process them. Firstly, is this as...