I have a WCF Web Service which is consuming by C# client application. I’m also having 4 groups stored in Active Directory. Client application should connect this web service by passing login credentials.
Requirement:
Restrict web service functionality based on windows user credential’s group stored in AD (Active Directory)
Pass specif...
Would WCF work through normal USB connection or does it require WIFI when using the Mobile Device as a WCF client to a WCF service running on the PC?
Thanks
...
Hi All,
I have developed a wcf service, and i have hosted it in IIS, the svc file is as followed
<%@ ServiceHost Language="C#" Debug="true" Service="ServiceImplemetation.HelloService" %>
and the web.config file's system.servicemodel section is as follows:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior na...
I've created a custom binding and want to make it configurable over App.config.
The binding has no special options at the moment, so it would be sufficient to support just
<endpoint address="http://myAddress"
binding="myBinding"
contract="myContract">
After checking some sites, I found out that I have to enable c...
I have developed a custom binding which works over http and therefore returns http as it's scheme. My current code to return this scheme is as follow:
My derivation of Binding uses
public override string Scheme {
get { return this.transportElement.Scheme; }
}
where transportElement is an instance of my custom TransportBindingElem...
Question in title... In short - I have a WCF service exposing operations that return entity classes. The client-side classes inherit from an abstract base class instead of the default System.Object. The abstract base class has a default constructor defined. When calling one of the service methods I would expect that constructor to get ...
Hi,
I'm trying to decide what is the most most appropriate way of handling full duplex communication between two .Net processes running on the same server or on a LAN. We have two processes that need to be able to invoke methods on each-other.
Currently, we are using WCF with NamedPipe or Tcp channels, and have ProcessA register with ...
We have created a WCF using net.tcp with an anticipation that the service can work in a firewall that would accept only HTTP port. The client behind firewall can also access it.
Do we need to host the service on a static, public IP so that any client from any network can conect to it?
Ideally, we would like to host the service on a no...
I have recently added a WCF service reference to my program. When I perform a clean install of this program, everything seems to work as expected. But, when I install the program on a client which already has a previous version (without the new service reference) installed, I get a exception telling me the default endpoint for this parti...
Hello everyone,
Is duplex binding possible with having ONE single port open for incoming connections in WCF?
quoted from another question in SO...
"I am making a business specific messaging application, it is going to connect between 5000 and 10,000 machines back to our datacenter via WCF (no vpns, all over the net). It is mainly for al...
I am looking for information on how people are handling business rule (and field validations) using an ADO.NET Data Service wrapped around an Entity Framework object context.
I have seen numerous posts/articles/etc that seem to be fine with just throwing an exception. I would prefer to have an object that contains a set of errors with ...
I have a basicHttpBinding WCF service.
Via the contract I expose a method that takes in as an argument an IEnumerable<myType>.
myType class inherits from ISerializable and I implement GetObjectData() and the constructor to myType(SerializationInfo info, StreamingContext context)
When I leave the method in my WCF contract that takes IEnu...
I'm having a hard time getting my head around this, and Google just isn't being helpful.
I'm looking at converting some legacy code to use the following technologies: ASP.NET, WCF, jQuery.
The ASP.NET conversion isn't an issue, nor is accessing the WCF service for data, on the server-side.
However, what I'm having an issue with is pot...
Hello
I have develop a silverlight chat application. my question is (a) can netmsmqbinding support unlimited connections of wcf service. because first im use pollingduplex binding but it support only 10 connection on iis6 also on server edition.im allready set service throttling options but not effect on server iis. so that now i want ...
I have a WCF service and a Web application. Web application makes calls to this WCF service in a continous manner a.k.a polling. In our production environment, I receive this error very rarely. Since, this is an internal activity users were not aware of when this error is thrown.
Could not connect to
http://localhost/QAService/Serv...
Hello everyone,
I am using VSTS 2008 + .Net 3.5 + C# to develop a console application as a WCF cient, and host WCF service in IIS 7.0 at server side (server using Windows Vista x64).
Currently, my WCF client and server works quite well with http. Now I want to add https support and still use basicHttpBinding. Any easy to learn tutorial...
For one of our application we are thinking of putting scanned images onto MSMQ sizing 10-12k and roughly around 15000 images throughout the day (150 MB).
Does anyone think there could be possible problems performance wise?
Any suggestion should we go for this approach or not and if not what else?
We are going to WCF with MSMQ binding.
...
Hi,
I am trying to use the WCF streaming with Message Contracts, because I need additional parameters beside the stream itself.
Basically I am creating a file upload and download service, with some additional logic on top.
Unfortunately, when I try to hit the service from the browser to check that everything is all right, I get the fo...
When adding a <behaviorExtensions> section to the web.config file of my project I get a security exception (see below). What can be the problem? I follow this solution to another issue: link
Adding this:
<extensions>
<behaviorExtensions>
<add name="customWebHttp" type="CloudService4_WebRole.CustomHttpBehaviorExtensionElement, Clo...
Does anyone know of any best practices or 'standard' techniques for implementing authentication between a silverlight client and WCF services WITHOUT using either RIA Services or ASP.Net authentication & cookies.
My current best option seems to be to add additional message headers to each call and authenticate the user with each call. A...