I'm trying to populate dropdown in the aspx page using the datasource returned by a WCF service.
call from aspx through javascript:
function Initialize() {
NameSpace.WCFClass.UserInfo(OnSuccess, OnFailure)
}
function OnSuccess(result) {
var varResult = result;
}
function OnFailure(result) {
var varResult = result;
}
W...
We have a WCF service that we recently switched from self-hosting to IIS-hosted. It needs to launch an executable using Process.Start(). This works fine when it's self-hosted, but when hosted in IIS, we get the error:
System.ComponentModel.Win32Exception: The system cannot find the file specified
We have the exe in both the bin direc...
Should i be able to step through WCF code if the service is running on a remote machine?
If not is there a debugger setting that will let me do this? I have the code loaded in the solution I am calling it from, but when I step through it doesn't step into the WCF code.
The method I'm calling is not oneway either should that matter.
I ...
In LINQ to SQL, how can I convert this format: "VDate(1253451600000+0200)V"
to an ISO 8601 string, IETF string or timestamp format?
I'm using WCF JSON-Enabled and Ajax-Enabled web service.
...
I would like to create a VPN client and VPN server using WCF through HTTP.
Can this be accomplished?
...
I followed this to create a json web service in asp.net 3.5:
http://www.pluralsight.com/community/blogs/fritz/archive/2008/01/31/50121.aspx
It works fine if I want to use it internal but as I want to connect to it external I got an error saying: "Metadata publishing for this service is currently disabled."
So I tried enabling it but...
Hi All,
I have written a wcf service which is working fine.
On the client side i am using AddServiceReference feature of VS2008 to generate client proxy, it's also working fine.
Now, for learning purpose i want to generate my client proxy with svcutil.exe tool but i am not able to use it, i have tried but don't know what is missing mayb...
I can't figure out why this is.
I have a connect method that works fine:
public void Connect()
{
_client.BeginConnect(new AsyncCallback(this.ConnectCallback), _client);
}
public void ConnectCallback(IAsyncResult asyncResult)
{
ServerClient callback = null;
callback = (ServerClient)asyncResult.AsyncState;
callb...
Say I have created a webservice and WCF service.
How are the different kinds of testing (viz. unit testing, SIT, etc) performed for web services and WCF service.
Do i need to explicitly create a sample project to test the service by passing input parameters and analyzing output parameters or are there any tools through which we can per...
I created a server and generated my client as an asynchronous one.
So when I connect, I do so asynchronously. That's fine.
I have a method on my client (a callback method) that receives data from the server. The server sends this data using an asychronous method too.
To receive this data on my client, I expected to have ONLY a method ...
Hi,
I've a .net WCF service hosted on an application server with windows 2008/IIS 7.0.
I see following error message in the event log:
Faulting application w3wp.exe, version 7.0.6001.18000, time stamp 0x47919413, faulting module ntdll.dll, version 6.0.6001.18000, timestamp 0x4791a7a6, exception code 0xc00000374, fault offset 0x000b015d...
I have a server-client using WCF.
The server has a list of clients.
To check for timeouts, every minute it sends a bit of data (ping) to each client. All sending is done asynchronously - so the line looks like this:
for (int i = 0; i < MaxUsers; i++)
{
if (_clients[i] != null)
{
_clients[i].Client.BeginSendToClient("PI...
We want to have two .NET apps running on the same machine communicate with each other. We want three projects. A library containing interfaces. A "server" app that implements the interfaces and "client" app that communicates with the server using the interfaces. We do not want the client to reference the server.
We have a test app th...
Looking for alternatives to the WCF REST start kit, ideally OSS frameworks.
Anyone got a list?
Cheers
Ollie
...
I have seen many examples of json web services with WCF in asp.net that accept one in-parameter. I need my service method to accept many parameters and return a list like this;
public List<Car> GetCarById(int carId, int password, List<Car> carList);
How can I call this service if I want to pass all these parameters? I'm trying to use ...
Our current deployment strategy is to deploy all assemblies with each application / service but control where *.exe and service implementaion assemblies are deployed. With that in mind, I have a specific service that when I deploy 2 unreferenced resource assemblies I get a compilation error. System.IO.FileNotFoundException: Could not l...
.NET
I have a web service, one of the data members of a message implements IXmlSerializable, when I do "Add Service Reference" that member becomes a DataSet.
I am trying to pass a serialized Expression<TDelegate> as a parameter to the web service.
Q: How do I make a DataSet out of the IXmlSerializable instance on the client side?
...
Hi All,
I found this post,
http://stackoverflow.com/questions/216401/windows-service-startup-timeout
But just wanted to clarify, I have written a windows service in C# .NET that gives timeout errors at times, e.g.
A timeout was reached (30000 milliseconds) .... when starting the service
The reason is it does some WCF stuff in the st...
We are trying to force our datetime objects in c# to serialize using a different format than the default. We don't want to include milliseconds. The SortableDateTimePattern and the UniversalSortableDateTimePattern is read-only.
...
I am confused how to add/include/reference a set of supporting classes required for both server and client projects where WCF is involved.
In my C# solution I have:
A Server project doing server type stuff
A Client project doing gui type stuff
A WCF Library containing class definitions for network passed data objects
The Server proj...