I am trying to get a WCF webservice running which will participate in distributed transactions. I keep getting the following error message...
Configuration binding extension 'system.serviceModel/bindings/myBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/binding...
We are developing a CRM application. All the business logic and data access go through WCF services. We have 2 options for communication between WCF and client (at the moment: ASP.NET MVC 2)
One option is create method for each operations. Example
GetCustomers()
GetCustomersWithPaging(int take, int skip)
GetCustomersWithFil...
I'm having some difficulty trapping an exception during my testing. I actually disconnect the service so that the endpoint is not available, and I am attempting to modify my application to handle that possibility.
The problem is that no matter where I put try/catch blocks, I can't seem to catch this thing before it gets to unhandled.
...
Hey,
I have a server which is throwing WebFaultException
try
{
...
}
catch (InvalidPasswordException)
{
throw new WebFaultException<String>
("This is a bad password",
HttpStatusCo...
I'm a complete newbie regarding network stuff, but here are two scenarios I'd like to accomplish:
I have a machine running a WCF service
Scenario 1: on the same machine, I have a C++ app that needs to get data from that service
Scenario 2: on a different machine, I have a C++ app that needs to get data from that service
The data that...
I have a WCF Service hosted in IIS. I am getting the WCF Tracing , but I can't find where my trace.writeline entries are going. My trace listener only logs the WCF Tracing.
Is there a specific Source I need to add to get this included.
...
Hello,
I would like to customize the svctraceviewer but do not want to start from scratch. Does any one know of a custom implementation or if the source code is available ?
...
I'm having difficulty with Windows authentication in a WCF REST app.
Using VS2010, I chose New Project>WCF REST Service Application.
I modified the web.config to assure windows authentication and deny anonymous users.
<system.web>
<compilation debug="true" targetFramework="4.0" />
<authentication mode="Windows" />
<author...
I have a WCF service which calls the business component which calls the repository and I have got it end to end working using Castle Windsor using it's WCF Facility.
The WCF Facility registration and rest of the component registration happens in the Global.asax file like this.
public class Global : System.Web.HttpApplication
...
My app is master/slave system where slaves can send messages to the master based on a (local) event and master sends messages to the slave also based on local events.
In both cases they may send outgoing messages based on incoming messages. Sometimes these reponses may only be sent after human interaction - not immediately (and connecti...
I have a client/server application and I'm looking for some advice about how to handle the interface between the two. The Server/clients will be deployed over a LAN (potentially WAN, but definitely customer-managed, not centralized server). I'm considering these two options:
Client and Server can be different versions. This way, the WC...
Hi all,
we are building product that can be used by other systems. As we have SOA, we develop only a service (WCF). We had several controversial discussions about how to design an interface of that service. We are choosing between procedural and OO design for service.
As our service will be used from .NET and Java some say that it is h...
I have a WCF application , with multiple WSDL webservices, hosted in IIS7 on Windows Server 2008 64Bit.
The application requires a singleton to be assigned with some configuration values once, when the first webservice method is invoked (no matter what is invoked first).
Edit: The backend of the system requires the use of this singleto...
Hi,
I'm working on few WCF tutorials and I would like to understand the difference between WCF Service Library, WCF Service Application and WCF Workflow Service Application.
Do you have any examples on when I should use service library and service application?
Thank you
...
I would like to be able to use username/password authentication with nettcpbinding, is that possible? (UserNamePasswordValidator or something like that), no windows authentication.
I'm configuring everything with code, so please only use code and not app.config in any examples.
...
I have a WCF-service running inside a windows service. There is an mex-endpoint at http://localhost/...
I can navigate to it via a browser but if I use MetadataResolver.Resolve, the above mentioned exception will be thrown (with inner exception of "The remote server returned an error: (404) Not Found.").
The only difference I spotted i...
I'm trying attach to WCF service which is published at Windows Server 2008.
I have this WCF at my machine with XP. I have some weird errors at server and I want to attach to this wcf from server with Windows Server 2008.
I can't find good tutorial aobut this issue.
Could you recommend me good tutorial ?
...
I wanted to understand the behavior of HttpContext.Current.Application during the load balancing.
I have read that session can be stored in disk hence can be retrieved from different servers.
Is this true for HttpContext.Current.Application also. Does the key\data stored in one machine is accessible in other different machine too?
Ple...
I have a wcf service which returns a list of many objects e.g. 100,000
I get an error when calling this function because the maximum size i am allowed to pass back from wcf has been exceeded.
Is there a built in way i could return this in smaller chunks e.g. 20,000 at a time
I can increase the size allowed back from the wcf but was wo...
I need some piece of software that will fulfill the following functions:
1. Give a single endpoint to a client (abstracting it from several service endpoints)
2. Keep a queue of incoming requests
3. Balance load between several service endpoints on several machines
4. Control availability of these endpoints
5. Give client some readable e...