Hello
I have a few WCF services that are currently being self hosted, in a very basic NT Service. I want to expand my application to add provisioning of WCF Services, and updates, as well as isolation (I want each WCF Service to be in its own AppDomain). These WCF Services contain logic that needs to be run on a regular basis, pinging...
Hello,
I am trying to pass a DetachedCriteria of NHibernate to a WCF Service. I get a strange error, I think it is something WCF specific. I solved the actual problem by "manually" serializing the class (see code). But I would like to know how to solve the real problem, that the second function runs..
The error message is:
There was a...
Hi all,
A quick question here about the new WCF Ria services beta:
If I do this in code-behind:
EntitySet e = MyContext.Employees
It seems that the entityset is always empty at runtime? I.e. if I want to loop through the Employee entityset.
Also, if I'm getting the Enumerator for the entityset, I'll get an error telling me that the...
I am trying to host a WCF service, using NetTcpBinding in a Windows service. (I'm going to use it as an API for various clients both Web and Windows32) Obviously, I am doing this within a test host before putting it in a Windows service.
I have the following contract:
namespace yyy.xxx.Server.API.WCF
{
[ServiceContract]
public ...
If I am using a custom validator to validate the service certificate on the client side, what do i need to do? so far I have the following:
Implemented my own custom validator to validate which implemnents X509CertificateValidator.
Configure the app.config for the client to use the endpointbehavior where I specify to use the Custom Val...
I'm new to WCF
I have to create a WCF service that receives plain XML (not SOAP), does some processing then sends a reply message back in plain XML. I don't have a problem sending XML, I just need some tips on where to start. I'm familiar with creating web services in .Net with SOAP... with web services I would define the function to be...
I usually work on web apps or faceless apps with the occasional winforms utility so I'm in need of some help to clarify my understanding of WPF and terminology.
I would term ASP.NET apps as "thin client" apps because apart from some javascript the bulk of the applications work is done on the server. In the same way I would view a WPF ap...
I have a WCF web service running under IIS 7 with a static IP address: 173.1.1.1:9100
I set up a domain name using godaddy.com and forwared to my static ip address/port: mydomainname.net.
I have a client test app that works when I use the ip/port address, but not the godaddy domain name.
I can bring up the service description in a bro...
My development machine is Vista x64.
I am using WCF web services to build web services interfacing to an oracle 10g database.
When development started, I could not use VS2008's built-in WCF test tool [WCFTestClient] that launches when you press F5 [Go], on the 32-bit Oracle.DataAccess.dll, because I get System.BadImageFormatException o...
I certainly hope someone can help ease my frustration. I am trying to find a good way to unit test my WCF service implementation classes but every resource that I've found providing a solution is limited to services with only a single method/operation.
In my case, I have a service class which contains several service methods/operations...
I have a contract in the same signature as an Action<T> delegate:
[ServiceContract()]
interface ISomeService
{
[OperationContract()]
void DoSomething(object data);
}
Will the client wait for the server side method execution to finish?
If yes, how to prevent this?
Should I use async calls to achieve my goal?
...
I am not sure what is wrong with my JSON response from WCF but it is not being parsed properly. I probably made a simple mistake, hopefully someone can spot it. I am using VS 2008 Pro SP1.
When I navigate directly to the url Chrome thinks it is a file download. When I hit say flickr's service it returned a string inline in the brow...
I am very very new to WCF and I have been asked to write a WCF service that will use Message Contract to generate an xml file as well as to read the xml file via the cilent proxy?
I am unable to click thru though searched in net.
If anyone can tell me the concept as well as a simple program of wCF(specific to Message contract) will be...
I'm looking into doing a WPF application. I want as much as possible of the business logic to be exposed as WCF services.
Has anyone got any experience of doing this / useful links etc
...
Am reading an O'Reilly book called "Learning WCF" and in chapter one, it mentions: For example, services can be accessed over a variety of supported protocols, including named pipes, TCP, HTTP, and MSMQ.
And now I can't help but wonder... Named pipes, HTTP, TCP and MSMQ and what other protocols? Didn't they just mention all protocols th...
In WCF some of the settings are written as class attributes. I would like to set them in the configuration file instead.
Examples
[OperationContract(IsOneWay = true)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
Is there any way to do this? Maybe with MicroKernel/...
I have a small issue logging in with a webservice being hosted using HTML with
basic authentication. I have tried the following but it does not work. Are there any restrictions or gotchas on this?
var client = new WSClient();
client.ClientCredentials.UserName.UserName = "xxx";
client.ClientCredentials.U...
I have a WPF application which so far has been client only, but now I'm working on splitting it into a client and server side. In this work I'm introducing WCF for the client-server communication. My application has several projects, and service references are needed from more than one of these.
Initial effort in doing the separation i...
if an administrator logs on to my service, he may wish to disconnect sessions which meet (or don't meet) certain requirements, be it automated or manual. throwing exceptions seems like a simple and effective solution, as all resources are released.
i could use a local bool field which, if true, would disconnect this user the next time h...
Is it possible to set a requirement in WCF that a specific string datamember have a maximum length?
I'm essentially wanting to do some basic validation, and enhancing the implicit documentation that WSDL gives you.
I'm pretty sure that its possible when writing raw WSDL, but am not sure if you can do it in WCF using attributes etc.
An...