I have a server that needs to keep a small number of clients in sync. Whenever there is a change of state at the server, all the connected clients must be informed.
I am planning to use a “callback
contract”,
I can get hold of the
callback reference for each client on
the server by using
GetCallbackChanel().
I then need
to manage...
Hi,
I created a RoleService in my silverlight project and through that got hold of the embership/Role functionality. I am running this on a local machine and is wondering how to publish this to my website. I have 3 web applications:
My main web application where the silverlight object shoule be merged into
The silverlight project whic...
I am very new to using WCF services. Right now I have a WCF service that I call using jQuery. I'm concerned about users making unauthorized calls to the service. What would be the best way to secure my service?
...
I have an existing WCF service.
Is it possible to add operation contract to the service interface and have the implementation in a workflow?
Or I absolutly need a seperate service interface for my workflow?
...
Hi,
I was wondering how people are handling the lack of Enum support in Entity Framework when dealing with WCF services?
Common practice seems to be to declare getter & setter in the entity property to private and then create a partial class for the entity and declare the enum property in there.
This is all fine and dandy but pos...
I am trying to generate a proxy from a 3rd party wsdl and xsd files. I am calling svcutil like so:
svcutil *.wsdl *.xsd /language:C#
It returns this error: 'SchemaLocation' must successfully resolve if contains any child other than .
There is only one element in all the files, and it's schemaLocation attribute points to another f...
Hi,
I am developing WCF services with basicHttpBinding, these services should be accessible using .net 1.1 & .net 2.0, for this purpose I am using basicHttpBinding. In old ASMX web services I assed one Soap Header (AuthHeader) to authenticate the user every request.How Can I authenticate in WCF using basicHttpBinding? Any sample Or tuto...
Hi All,
I am using WCF Test Client (WcfTestClient.exe) for testing one of my wcf services.
I have a message contract which has a list of DataContracts as :
My message contract is as follows :
[MessageContract]
public class UpdateInvoiceStatusesRequest
{
private List<InvoiceStatusHistory> _invoiceStatusHistory;
...
Hi All,
I am using Silverlight + WCF (SOA) + NHibernate combination.
Currently i am facing one strange issue of unnecessary service calls.
Suppose when i click on the tree item to call one service call.
But in the server side it is called two times.
And this is happening for one perticuler service only.
I have checked all the param...
In WCF maxConcurrentSessions defaults to 10, so limiting a server from having more then 10 open TCP connections to it.
Why is this so?
Is it safe for me just to set it to a very high value for a server that has a "handful" (or two) of clients, but needs to keeps a netTcpBinding open for each clients due to sending events to the clients...
I am writing a WCF (netTcpBinding planned at present) client/server application that has to support a “handful” of clients including sending events to the clients.
I do not wish the server to block
while the clients process the events.
Logically I cannot see match difference between marking the callback methods as “OneWay” or cal...
Hi Guys to facilitate lazy loading on our WCF Services that use AR I created a "Session Scope PerRequest" solution for WCF.
[edit]
Ok so I put the question on the end :) so bear with me and start reading at the end. :)
[/edit]
If you want to use ActiveRecord in a website or webservice you have to tell it via the configuration it is run...
This starter kit seems to use incredibly ugly URIs that include a "Service.svc" filename.
Surely if you're going to have a service called say "Users.svc" you'd want the URI to look like '/users/' rather than '/Users.svc/'?
Is there a way this can be fixed?
...
I am in the process of porting some .net remoting code to WCF.
Can I safely assume that all classes that are Serializable and works as .remoting method parameters will work with WCF using the binary message encode?
If not is there a “rule of thumb” that I can use to estimate what problems I will hit?
...
I'm trying to get WCF working with Silverlight. I'm a total beginner to WCF but have written asmx services in the past. For some reason when I uncomment more than one method in my service Silverlight refuses to let me use it, saying it is invalid. My code is below if anyone could help. I'm using the Entity Framework if that makes a diffe...
I'm trying to interact with a WCF web services using certificate based security and both message signature and encryption but with no luck. I had successfully implemented signature only communications, but when I create the elements I get an error verifying the message. Has anyone have any hints on how to implement this?
Thanks!!!
...
In my client, I'm trying to declare an entity type from the service....
MyService.MyClass myClass = new MyService.MyClass();
....
MyClass isn't available.
The assembly MyClass is within is referenced by MyService. What am I missing?
...
I have a WCF service hosted on IIS. I have a smartclient application which calls this WCF service through endpoints defined in app.config file.
Now when i publish this application using this configuration, IT throws an exception saying that no endpoint is listening at localhost.
How can i make it dynamic. By dynamic I mean IF i update ...
I am using .NET 3.5SP1 and DataContractSerializer to serialize a class. In SP1, they changed the behavior so that you don't have to include DataContract/DataMember attributes on the class and it will just serialize the entire thing. This is the behavior I am using, but now I need to ignore one property from the serializer. I know that...
Hi,
I'm trying to self-host a WCF web service and provide a HTTP endpoint with ajax support. Pretty much everything I've found about WCF and AJAX are talking about IIS, which I don't want to use.
I've build a simple Console App to host the service. My service only have a single method:
[ServiceContract]
interface IMyService
{
[Op...