Hi,
I use the following code in the web.config file of my WCF application:
<source name="System.ServiceModel" switchValue="Error, Warning, Information">
<listeners>
<add name="LogInApplication" type="System.Diagnostics.EventLogTraceListener" initializeData="Application" />
...
I have a WCF webservice, a number of webservices actually, all using net.tcp and hosted in IIS through WAS. Multiple clients are calling these services, all are known but cannot be controlled (that is, I cannot change their code and therefore I cannot change the services either). Some of these clients are not very nice to the service and...
Hi -
We currently have several WCF services that expose our domain model directly across the wire. In other words, we don't have a layer of DTOs to map between our domain and service layers. I have no choice but to directly decorate our domain objects with [DataContract] and [DataMember]. I want to implement IExtensibleDataObject on ...
I have been wrestling with SvcUtil all day, trying to get it to generate useful code for some IMS Enterprise Services (primarily Group Management Service, but there are others we need it to work for as well.) You can find the IMS service WSDL's here http://www.imsglobal.org/es/index.html.
I have come to the conclusion that SvcUtil is a...
How can one determine the absolute filepath of the WCF service root folder that's hosted in IIS?
I've investigated System.ServiceModel.OperationContext and discovered various relative URI paths, but no absolute paths that contain the service root folder.
...
I have two .NET 3.5 WCF services build with VS2008.
I have two WCF clients in Silverlight to consume these services. The clients are generated with the 'Add Service Reference'. I am using Silverlight 4.
ONE of the proxies is generated with Specified properties for each property. This is a 'message-in' class for my service method :
...
I have a one way WCF service using the MSMQ Binding which is activated using Windows Activation Service in IIS 7.0.
I'm a big fan on NInject so I've been using the NInject extension for WCF, which for a typical HTTP WCF service would work great.
However, in WAS activate services there is no HTTP pipeline, so I can't use InRequestScope...
Hi,
I need to create a self-hosted WCF service.
I need secure duplex connection between client and server through Internet.
I read some documents of WCF and found that the netTcpBinding is suitable for intranet application, because the SSL is only point 2 point. If it is an internet application, the connection must not be point 2 point...
In the following scenario I want to return just a string because that's what the spec says but to do that I have to return a stream and I just want to make sure than I don't keep too many streams around for too long. The method looks like:
[WebGet(BodyStyle = WebMessageBodyStyle.Bare,
RequestFormat = WebMessageFormat.Xml,
Respon...
I'm implementing localization in my WCF application according to http://www.codeproject.com/KB/WCF/WSI18N.aspx and some other articles. Basicly I'm attaching a message header with current culture info on client (using IClientMessageInspector implementation) and then applying the culture info on current thread on server side (using ICallC...
We're getting a "The current configuration system does not support user-scoped settings" compilation exception being thrown when navigating to a WCF service on our staging server.
We're getting this exception through the app consuming the WCF service and when we navigate to the .svc test page directly.
This works fine on our test ser...
I have deployed by WCF to a host and my ASP.NET site is trying to consume the same service.
I get this error:
The Binding with name BasicHttpBinding
failed validation because it contains
a BindingElement with type
System.ServiceModel.Channels.MtomMessageEncodingBindingElement
which is not supported in partial
trust. Cons...
I'm integrating an app with ZenDesk. They have a REST API. I need to send POX in the request body. I'm using the WCF REST Starter Kit.
How do I programmatically add my xml to the request body?
Here's my unit test:
[Test]
public void Can_create_user()
{
// Arrange
http = new HttpClient("...
Our current project at work is a new MVC web site that will use a WCF service primarily to access a 3rd party billing system via a web service as well as a small SQL database for user personalization. The WCF service uses nHibernate for the SQL database.
We'd like to implement some sort of web farm for load balancing as well as failove...
My "Location" object isnt getting serialized in my WCF datacontract, however, all other variables are being set properly. When I try to output a variable in the location object I get the "Object reference not set to an instance of an object" error
My DataContract:
[DataContract(Namespace = "")]
public class CalcRequest : BaseRequest
{
...
I would like to add an interceptor layer to my WCF service to send the Device ID to authenticate the device.
I am very very new to WCF Interceptors. Before I take all the time to figure them out, I would like to know if they even work with the Compact Framework.
So, do WCF Interceptors work with the Compact Framework and if so are the...
I have a service based architecture where a web farm full of asp clients hit application server farm of WCF services. Obviously all the database access is done by the WCF services. Now I would like to cache my frequently used database retrieved objects using Velocity at the service tier level. I am considering to make each physical appli...
Everyone knows that in Silverlight all wcf service calls are asynchronous. But what can we say about the timing of the requests? For the following code, is it always true that "Hello A" will be received by the server before "Hello B"?
ServiceClient proxy = new ServiceClient();
ServiceClient proxy2 = new ServiceClient();
proxy.SayHello...
I have a WCF client test harness where I'm using a "client message inspector" endpoint behavior to "pick off" raw requests and response messages going to and from a service and save them for later display in the UI.
This works great, except for the use case where invalid credentials are passed (Basic Authentication). The server returns ...
From your own personal experience, how much of an impact will migrating to .Net 4 have on my existing WCF components?
Is there a big risk that I may need to re-write a lot of code?
...