I would like to play with the new Web Socket support in Chrome (and soon Firefox), but have been unable to find a WCF implementation that will act as the server.
Have somebody implemented a .net WCF Web Socket based server?
...
Hello all, im looking for some more ideas for an architectural solution to the following.
Our eng team is putting together a function specific computer for us. It runs Xp Embedded. our eng team has also developed two controllers (hardware) that are specific to the purpose of the computer and these controllers shall be seen as HID on the...
hi,
i am working on wcf rest. i would like to do the following tracking work.
track the user Real ip address
track from where did the user came from ?i know i can use the referer header but since this is something very common task which most of the people do it would be better if some code is provided.in short i want to do the campaini...
i have a wcf rest service which is being polled by the client . i want to access iis server variables without enabling AspNetCompatibilityRequirements since that causes performance hits which my polling application cannot effort.
any suggestions?
...
I am quite new to WCF and I am trying to setup services and have received two different advice:
Use a the built in authentication service with a membership provider (http://msdn.microsoft.com/en-us/library/bb398990(VS.100).aspx) (http://stackoverflow.com/questions/2077854/custom-usernamepasswordvalidator-with-silverlight-3-0).
Use a c...
I know 2 processes can't listen the same port, but as it happens with HTTP requests in the port 80, I know Windows can receive the packets and reroute to the appropriate services. I just don't know if it also happens with other ports and protocols (net.tcp for instance).
...
Is there any way transactions can be implemented in .Net web services ?. Is it possible ?
...
How can .NET web services be made more secure? Something like HTTPS?
...
Hello,
I am trying to return some JSON from a WCF service. This service simply returns some content from my database. I can get the data. However, I am concerned about the format of my JSON. Currently, the JSON that gets returned is formatted like this:
{"d":"[{\"Age\":35,\"FirstName\":\"Peyton\",\"LastName\":\"Manning\"},{\"Age\":31,\...
Hello there,
I have an abstract class called 'Template' defined as:
[DataContract]
public abstract class Template
{
[DataMember]
public virtual int? Id { get; set; }
[DataMember]
public virtual string Title { get; set; }
[DataMember]
public virtual byte[] TemplateDoc { get; set; }
[DataMember]
public vir...
Hi Guys I have a very simple class called person.
public class Person{
[DataMember(Name="MyName")]
public string Name { get;set;}
}
If I try to serialize or de-serialize, everything works great. In the XML I can see a tag called "MyName" and in the object I see with the VS Intellisense a property called Name.
What I need now is ...
I am using wcf 4 and trying to transparently transfer context information between client and server.
I was looking at behaviors and was able to pass things around. My problem is how to flow the context received in the incoming headers to the other services that might be called by a service.
In the service behavior I intercept the the ...
On my dev box I have a solution with 6 projects. It is a WCF(3 proj) and multiple biz projects (other 3).
When I copy the core WCF folder, it's bin and web.config I get an error message on the server saying that it cannot find the contract that is stated in the app.config section of the biz app with an app.config.
Where should I pu...
I am trying to get my svc file working under IIS. In my project, when I press F5 I got the svc working. So I know everything is okay, right? Except for IIS.
I am working on a Windows XP Pro machine and in IIS I've added a virtual directory.
Here's my code:
IcarePlanActions (project: A)
namespace WcfServiceLibrary
{
[ServiceContrac...
My iPhone app communicates with a RESTful service that provides JSON output. I've been generating JSON using mainly PHP. If I use a .NET web service or WCF service, will there be any limitations or differences I should be aware of in regards to JSON as input/output for the service? I'm not sure what to expect from .NET in this regard....
I am having trouble working out what my XML should look like when performing a post request through WCF REST services.
When using a datacontract i have no problem at all but when i just want to send across one parameter for example an int, i get the following error - "The remote server returned an error: (405) Method Not Allowed. "
[Ope...
I have a service contract ICalc, and I want to expose a WSDL through the MEX endpoint, which will only describe the ICalc contract, i.e. will contain only the portType element, without the service element.
Is there a way to do that in WCF?
...
My WCF service is IDisposable because it uses a ReadWriterLockSlim. When I dispose both of them in the following method:
public void Dispose()
{
lockSlim.Dispose();
}
Some of the public methods are still running (or accepting new connections, I don't know), and it fires exceptions because of the attempts of using disposed objects ...
I'm fairly new to wcf (we have yet to upgrade to .net 3.0 in my workplace) and I'm working on a little home project to bring myself up to speed with some of the 'newer' features of .net.
I tend to use spring.net in most of my projects and so after creating my first WCF service I started to look at configuration via spring.net
So far my...
Hi
I have a service that uses a custom "UserNamePasswordValidator" and need to save the validated user object to be able to retrieve it later in the service. How can I do this? Or how can I access the credentials of the user later in the service?
/Viktor
...