I just started tinkering with the WCF REST Starter Kit, I watched the screencasts and... I suspect I'm just being stupid. :) Out of the box (with the provided templates) I can create REST services for a singleton resource or a collection of a resource. But what about support for different kinds of resources in the same project? In exampl...
I'm creating a wcf web service that will be accepting many continuous requests, the web service will need to hold onto those requests until an internal application (which will be polling the web service every couple seconds) will make a request to the web service to determine if any requests exist and retrieve them if so. The internal a...
Hi all
I have created my first silverlight app :-)
It has a basic page and connects to a db to populate a list. the connection is done using wcf, so my silverlight connects to a ServiceReference that does the stuff.
This all works fine when i run from VisualStudio.
My problem is that i am not sure how to host this app.
I created an a...
I have an IIS hosted WCF Service which uses SqlHelper class from DAAB version
2.0 in the data layer
Once in a while, it throws exception at this line of ExecuteReader (a static method):
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader()
Type: System.Runtime.InteropServices.COMException
Message: The handle is invalid. (Excepti...
Update: We are still using XP at work and I got my solution working, but now knowing that Vista and beyond have the isolated session I am going to implement a WCF IPC...
I have a windows service that needs to notify the user of an event of some type occurring. I decided that something similar to email notification messages would make s...
What is the default value for closeTimeout in WCF's netTcpBinding?
...
The netsh command wants an appid (see here) :
netsh http add sslcert ipport=0.0.0.0:8000 certhash=0000000000003ed9cd0c315bbb6dc1c08da5e6 appid={00112233-4455-6677-8899-AABBCCDDEEFF}
I've not been able so far to understand how I'm supposed to know the GUID netsh wants me to provide. Any hints?
...
I've been working on converting a basicHttpBinding to a customBinding to get my client working on a web farm. I've been fumbling translating the following security section.
<basicHttpBinding ...>
<security mode="Transport">
<transport clientCredentialType="Certificate">
</security>
</basicHttpBinding>
<behaviors>
<behavi...
In my WPF client, I have a loop that calls a WCF service to update some records. When the loop is done, I display a message, "Update complete".
I'm changing my WCF calls to async calls now.
ServiceClient client = new ServiceClient();
client.UpdateRecordsCompleted +=new System.EventHandler<System.ComponentModel.AsyncCompletedEv...
I need recommendations (books/links) for improving my skills in the following-
Web Services ( SOAP and REST based )
Windows Communication Foundation (out of the box and REST based)
Windows Workflow Foundation
I rate myself as intermediate in web services and almost intermediate in WCF and WF. I would like to know some books/links tha...
When writing a custom channel how can I get the name of the service method that will be called.
For example, if the operation contract looks like the following, how can I know if Method1 or Method2 is being called?
[OperationContract]
void Method1( int data );
[OperationContract]
void Method2( int data );
The channel itself doesn't ...
I am trying to obtain the data for JQGrid from a WCF Web service that is running from within my ASP.NET 2.0 WebForms application. The problem is that the WCF Web service expects the data to be formatted as a JSON string, and JQGrid is performing an HTTP Post and passing it as Content-Type: application/x-www-form-urlencoded.
Although ...
My company is developing an application that receives data from another company via TCP sockets and xml messages. This is delivered to a single gateway application which then broadcasts it to multiple copies of the same internal application on various machines in our organisation.
WCF was chosen as the technology to handle the interna...
Greetings readers!
So I am trying to develop a client server system.. Since I have not designed a client server system before, I thought that I would post a question and see what the experts here have to say.
Requirements:
.NET 3.5
WCF
minimum of 2 computers, Master and Slave.
The use case is a testing environment, where the slave run...
How would I set up a WCF service hosted in IIS on the root of the domain? i.e. http://www.example.com instead of http://www.example.com/Service1.svc/
I can't figure out how to get rid of the service filename.
...
Please let me know your favorite books, blogs, articles etc about RESTful WCF. I know how to Google - what I'm really looking for are sites, books, etc that you have personally used and gained something useful from.
Thanks!
...
I have a WCF service that is behind an enterprise-class firewall, which is doing both hostname and port translation, e.g.:
https://ws.address.com/Service.svc --> https://serv.internal.com:44000/Service.svc
The service is secured with SSL-128 and requires a client certificate.
Because the internal server name is not accessible from out...
how can i expose description attribute in enum values from service to client or web reference using WCF
or
how can i expose enum with description attribute to client using WCF? while exposing Description attribute is not exposed only enum values are exposed in client. I want value in description attribue in enums.
...
I am attempting to optimise around a possible bottleneck.
I have a server application that is serving objects from a database to applications remotely, who can work with 1 - n objects of 1 - n different types (where n can be a relatively high number) that all implement a common interface but may contain many unique properties on differe...
No attribute for Enum values is genereted in client side when code is generated using proxy generator in client side. how can i make them also in client side.
eg
In service or web service
[DataContract]
punlic enum Periods
{
[Description("2 months")]
[EnumMember]
TwoMonths,
}
(or)
[DataContract]
punlic enum Periods
{
...