In my new WPF/silverlight app, is it better to directly connect to my remote SQL Server (I'm using linq to sql), or is it better to call a WCF service and have the service connect to the database?
The SQL Server and a Win2k8 web server are both leased and at the same location. If creating a WCF service, I would run it on the web serve...
I have a WCF 3.5 service and it runs great. It is using basicHttpBinding and IIS 7 hosted. I'd like to add some minimal security to it, maybe a username and a password. Can someone give me some really basic instructions? What do I need to add to my web.config file?
...
My WCF service uses netTcpBinding, and has a callback object.
I need to service multiple concurrent clients, and mantain sessions, so the service is decorated with
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple]
To avoid thread deadlocks, the callback class is decorated...
I'm trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter to generate the service assembly. Unfortunately, this doesn't appear to work for WCF services. Someone recommended that I use ServiceContractG...
I'm new to the WCF, and I'm looking for some advice. In my web app I consumed a web service (R+Click on project - "Add Web Reference") and started coding. My web app is really big, so it was taking forever to compile each time I wanted to debug, so I built a stripped down WinForm using the same code.
In VS2008 there is no "Add Web Ref...
I've got this Silverlight Prism application that is using MVVM. The model calls a WCF service and a list of data is returned.
The ViewModel is bound to the View, so the ViewModel should have a List property.
Were should I keep data returned by a WCF service in MVVM?
Should the List property be calling into the Model using its gette...
I'm trying to use NeoLoad to generate and execute SOAP requests and upon supplying the WSDL, it doesn't seem to like the imports that they are referring to.
I'm thinking I would need to flatten the WSDL generated by the WCF service.
Are there any techniques I could use to flatten it?
I've been reading:
http://blogs.msdn.com/dotnetint...
I have IIS-Hosted WCF application and services.
I want to automate the process to deploy this application into test/Acceptance test/production environments
What is the best way to automate the process and make it very easy to the system administrators?
assuming that the web site / (or virtual directory) is already there and I don't have ...
I am trying to deserialize a json response from a google api, so i thought i would define a couple classes to help with it:
[DataContract]
public class DetectionResult:ResponseData
{
[DataMember(Name="language")]
public string Language
{ get; set; }
[DataMember(Name="isReliable")]
public bool IsReliable
{ get; s...
I created a project as a Class Library. Now I need to make it into a WCF. I can create a WCF project, but I would like to avoid all that fuss with TFS. I've done the App.config and added the /client:"wcfTestClient.exe" line to the Command line arguments. But there seems to be something else missing from it launching the Hosting.
...
I have a WCF Server running on IIS 6 using a application pool with a custom identity
right now the I looked on the web for two days and I can't find the exact answer to my problem. I know there are a lot of similar ones outer there
On IIS6 the virtual directory has anonymous access disable and Integrated Windows authentication enabled...
If you have a server that host multiple endpoints of the same type at different address. Is it possible to identify the address from which a particular request came? Say for logging purposes?
contrived Example
_serviceHost = new ServiceHost(
typeof(Service),
new Uri("http://localhost:8000/SomeAddress"...
Hi,
I'm trying to replace the default machine.config settings for the "client" handler with my own handler, however, when i run it, i'm getting this error:
"Section or group name 'client' is already defined. Updates to this may only occure at the configuration level where it is defined."
here is how my app.config looks like:
<configu...
Hi,
I am new to WCF . I have an application with following components: monitoring service, worker service and a UI.
Monitoring service monitors the machine in which the worker runs.
Monitor sends the cpu utilization to the UI.
Worker service is hosted by the monitor service.
Monitor service is hosted on console.
Issue:
When the wo...
I have simple chat program using WCF service. One service use for server and another use for client. Those services connect to each other and call each other. For hosting server, I used a windows service and for client I host WCF service in a Windows app. After all I found that this code work on simple computer, but when move server serv...
I am migrating a web service to WCF so I can use binary encoding. I am now realizing that the session calls and application state calls are not recognized. WCF is supposed to be better then a web service so I am assuming that there is a better way to do things.
1) How do I maintain session and call a web service that uses session?
2)...
Here is the scenario:
There are some domain objects
There are some WCF services exposing business services that interact with these domain objects
There is a WPF application that is the UI, which calls the WCF services
A pretty common set-up I would have thought. I am thinking of using DTOs between the WCF service and WPF app. There ...
I have a simple WCF-based P2P application that essentially allows users to chat via the command line. (This is a proof of concept app.) It uses PNRP for name resolution.
When each console is started, it creates a new self hosted instance of the "P2PService". It then creates a nother instance of the P2PService, establishes a duplex chann...
Setup
WCF Service running in IIS 6
Caching - Enterprise.Caching
There's a business need to hold on to a message for a x amount of time(cache).
Another process will remove it from the cache. We may receive another message that will remove this message from the cache and prevent it from processing.
One way that I though of doing this i...
I'm trying to connect to a WCF service with an in-code configured client. The host is configured through web.config file. I get exception "The remote server returned an error: (405) Method Not Allowed." I've test it with self-hosting and it worked but I can't get it too work when it's running on it's own. I'm trying to get it too work wi...