I cannot figure out how to enable per-session instances for my WCF service while using HTTPS. (I'm not an ASP.NET expert but don't want to use ASP.NET session state if possible.) I am using .NET Framework 3.0.
I have arrived at the following contradiction and am hoping that someone can tell me where there is a flaw in the logic.
1) The...
If I just want to run the new style web services on, say a Windows 2000, IIS 5 machine with .NET 2.0 installed, but .NET 3.0 not installed, can I do it by just adding the System.ServiceModel.dll to my bin?
...
Does anyone know of any good tools/utilities for managing Web.Config files between different build/deployment environments?
For example, I have a WCF project that in development I don't want to enable SSL, but I do want it enabled in production. I want different logging settings, different DB connection strings, different error handlin...
How-to Mock WCF Services Proxies with Rhino Mocks ?
...
I'm still learning about REST and, in my test, came up with this scenario I don't know how to deal with.
I have an existing sample WCF service which uses Linq-to-Sql. Its a tremendously simple database with a single table called "Tasks" which has four fields: Id, Description, IsCompleted, and EnteredDate. (I mentioned this because I ha...
Hi,
How can I keep my WCF Service Client Connected with WinForm even if a Faulted State appened ?
Thanks.
...
I am developing an application where the security requirements for data transferred and access are fairly high. As I understand, Windows authentication is the preferred method for TCP over an intranet.
How do you deal with situations where Domains are not used and only simple workgroups are available? (Some customers will not be using d...
I have a certain service where specific functions will take longer to call than others, sometimes they might take seconds to return. In order to prevent the client's UI being blocked when this happens what is the preferred solution:
Use a Duplex channel and simply use the callbacks to update the UI when data is received.
Use a separate...
I've got an assembly containing several WCF services, each with its own contract. It all works nicely. The service config in the app.config for the service looks like this:
<services>
<service behaviorConfiguration="WcfService.AlyzaServiceBehavior"
name="Sam.Alyza.WcfService.ServiceWebsites">
<endpoint address="" binding="netT...
I'm having a WCF client which communicates with a WCF service (running AspNetCompabilityMode), and I would like to add a cookie (on the client) to every call to this web service.
I have looked at the HttpTransportBindingElement, but I cannot find where to add my cookie - is it possible to add a cookie to the HttpTransportBindingElement,...
I have created a basic WCF service in IIS. I am aware that this should be developed in .net 3.0 and .net 3.5. My question is this. Can a client running .net 2.0 access and consume the WCF service?
Cheers
...
I am working on a project that involves an embedded system which runs a non-microsoft OS with a C program for the application and am developing .NET software for its end user applications. For remote configuring with the .NET software (which can go across firewalls), I am considering using WCF. I know only a little about WCF so far but...
I have a WCF service hosted in IIS. The intention is for clients to make a call and receive a custom class that is defined in another project/dll. I have generated a service client using the svcutil.exe. The problem is this autogenerated client contains a new partial / proxy definition for the class I am trying to return from the service...
I have a solution with 2 projects. In the first project a I have a website with a Logon Control. In the second project I have a WCF project with an AuthenticatonService configured. What is the easiest way to integrate both? In other word, How do I call the Authentication Service from the login control?
EDIT:
OK, what I mean is that by ...
Hi,
How can I configure my WCF service to run under the administrator account? (this is not for production, just testing).
Is it simply a web.config tweak?
IIS 7 hosted WCF service.
...
I am having trouble sending a collection of Enums to a WCF service method. I used this post as a guide: Sharing Enum with WCF Service
[ServiceContract]
[ServiceKnownType(typeof(MyEnum))]
[ServiceKnownType(typeof(List<MyEnum>))]
public interface IMyService{
[OperationContract]
MyEnum ServiceMethod1( );
[OperationContract] ...
I've got an internal service hosted over tcp. It's being self-hosted inside of a windows service. The service works fine for the most part, but once in awhile I'll get a bunch of exceptions (all in a row) from it.
System.ServiceModel.Security.SecuritySessionServerSettings.AddPendingSession(UniqueId sessionId, IServerReliableChannelBin...
I have a WCF ATOM Feed Service using the WCF REST Toolkit with the following UriTemplate
[WebGet(UriTemplate = "{category}/?numItems={numItems}")]
public Atom10FeedFormatter GetFeedByCategory(string category, int numItems)
Most cases work, the edge is when I try to load the feed based on the category with a # sign. I am loading cours...
The data is not sensitive, I am really only considering security so that I can keep track of who is calling our system.
I thought of just having each 'client' send an 'api-key' in the request and cross-check against a list of valid keys.
I could then log the request and monitor activity by client.
Note: performance is very critical so...
I am trying create a WCF service that leverages the WPF MediaPlayer on the server to generate thumbnails for a video that a user uploads. I found a lot oif info on how to render a frame and save it to a file. But the problem is the key event MediaOpened (actually none of the events) I need to tie into doesn't - EDIT fire.
Does anyone kn...