Hi I'm using and Custom ServiceHostFactory, and when I want to update service reference it would'nt work because I assume it needs to setup my servicehostfactory and it will crash.
I have looked for other approaches to not use the generation, but I havent found any good replacements.
Are there anyway to go around this, to not remove th...
I'm trying to use .net 4's discovery in WCF. But no matter what I do, I'm getting this not very useful exception:
System.ArgumentException crossed a native/managed boundary
Message=Interface not found.
Source=mscorlib
StackTrace:
at System.RuntimeTypeHandle.VerifyInterfaceIsImplemented(RuntimeTypeHandle handle, RuntimeType...
I want to update a current ASP.NET webforms e-commerce site with a nice one-page checkout and I'm looking for some "best practice" on how to update the data. The page will consist of several parts: the cart, user identification, payment options, delivery options etc.
If the user changes the payment option this might result in changes in...
Hi,
I'm looking into creating a WCF service that will connect to our Product Management system to provide/update product licensing information. It will be a self hosting service wrapped up in an NT service and I'm looking at ways to mutually authenticate both the service and the client. Clients will be desktop applications running on ...
I need to generate service proxies for multiple WCF services within the same namespace, which is not possible when using the Add Service Reference function of Visual Studio.
How can I do this in an automated way? I've considered using SLsvcUtil, but that would require that I make sure that I have my WCF services accessible, and, assumin...
I'm trying to host a wcf json service on my localhost on my dev machine, but also want it available to other users on the network for testing purposes. My service works fine when running in cassini, however when running from a virtual folder, I'm getting the error
IS specified authentication schemes 'IntegratedWindowsAuthentication,...
I'm working on shipping in a change for my lab that will hopefully help diagnose some weird channel-faulting weirdness we're seeing. There's a test application that uses DuplexChannelFactory to connect to a couple windows services, and for some reason the channels on this test application seem to be faulting quite a bit. I have plans to ...
I'm trying to learn WCF to use it as an IPC mechanism for a host/plugin system. The host needs to be able to call the plugin to Start/Stop it, and the plugin needs to call the server back to perform logging.
I made a simple test case where the host creates an endpoint on "net.pipe://localhost/SampleServer" with the following ServiceCont...
I have a fully functional wcf service where I can perform CRUD operations using jQuery on the client. I want this small service application to be portable so I am trying to avoid any app or web.config settings (e.g. Specific address endpoints). I have compiled my service application into a small dll file and have tried it in several di...
Hi,
So I have some class in a business logic .dll. It is not wrapped in a datacontract, I would like to expose it to anything calling the service by doing so in the Service and IService classes (for example). But the only examples I have seen have been to expose classes that are defined in the service, I do not wish to do this and I do ...
I am working on a wcf client for a IIS hosted WCF service. Developed in Visual studio 2010.
The service has a callback this callback sends messages back to the clients in session.
To create the Service Client code, I added a service reference http://localhost/service.svc with the "Generate asynchonous operations" which is ideal for the...
When I deploy the same service on different machines as they have different information that I need , how can I use my client gracely to consume these service .
...
(repost because of SO outage; apologies if the other one re-appears)
I'm building a Silverlight app that will run on Azure. My VS solution has two projects: the web role and the Silverlight. The web role has a Service that works. (I can go to localhost:88/expenseservice.svc/expenses and get the data I want.)
I am trying to access that ...
I have a Silverlight app that I want to access Azure storage. I have two projects in my solution: a SL project and a ASP web role.
The web role has a service. When I launch the project, I go to the service, and it works fine. (I am able to download the data.)
I'm not entirely sure what I can do through "Add Service Reference", but I s...
I've been trying to get a WCF service to access a file database that is stored on a local file system to no avail currently.
I created a database called data.mdf in visual studio 2010 and ran this sql query on it.
create table Person
(PersonID int identity (1000,1) not null,
Name nvarchar(50) not null,
Address nvarchar(max...
I'm not sure what's causing this error.
The service markup:
<%@ ServiceHost
Language="C#"
Debug="true"
Service="WebRole1.ExpenseService"
CodeBehind="ExpenseService.svc.cs"
Factory="System.ServiceModel.Activation.WebServiceHostFactory"
%>
The service code behind:
[ServiceContract(Namespace = "")]
[AspNetCompat...
I have a desktop application communicating with a WCF service that I have implemented. The desktop client does not use a generated proxy (Add Service Reference or SvcUtil) rather it uses a channel factory with a reference to the WCF Service contract assembly (the contract assmebly is separate to the implementation). I now need to provide...
hello, I have a WCF service that has been giving me this error under load conditions (and I cant seem to recreate the error otherwise). we've been trying to find a way aroud it for about a week now with no such luck..
actually, the error I see has two parts to it,
System.ServiceModel.CommunicationException:
An error: (The request ...
I have a silverlight app (non asp) and wcf service.
When i read large data from the wcf service 60k+ then the silverlight app successfully retrieves the information from the wcf service.
However....
When i try to send (silverlight client to wcf service) large data 30k+ I get the XmlDictionaryReaderQuotas error but when I send 2k informa...
I'm about to build some RESTful web services using WCF and .NET 3.5 in VS2010. I've not done this before so am looking for some pointers as to the easiest approach.
For deployment reasons I cannot use .NET 4 but must stick with .NET 3.5 SP1. It seems the WCF REST Starter Kit doesn't work with VS 2010 (I'm not certain about this - maybe ...