I currently have a WCF service which provides an object graph of data on request. I want to have a mechanism where the client can compute a hash on the cached object graph it posses and can then supply this hash value to the WCF service to see if it matches the data the service possesses.
I tried this using a standard cryptographic algo...
I'm trying to build a web service using WCF. Since the service will ultimately be consumed by non-.net languages, I've been attempting to test it using "Add Web Reference" or using WSDL.exe instead of the svcutil way. I've been getting the following errors though:
From WSDL.exe
- Error: Unable to import binding BasicHttpBinding_IEchoSe...
I have a simple self hosted WCF Console windows app, and I can connect fine from my client.
I have a problem though sending large XML strings through to the server. I get the following error:
"System.Xml.XmlException: The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by ...
I know you can use multiple bindings, but if you implement a REST Service, must you use the webHttpBinding?
...
I am trying to create a custom ASP.NET Forms Authentication Service using WCF. I am calling it via a test page that contains only a single line of JS (except for the ScriptManager scripts). The problem is that the server returns response code 500 and the response body is empty. My breakpoints in the service method and in the Application_...
my DAL is something like this:
Database db = EnterpriseLibraryContainer.Current.GetInstance<Database>();
mylist = db.ExecuteSprocAccessor<EMyClass>("spMySP", param1, param2).ToList();
my SP in SQL-SEVER returns 4 normal fields plus a varbinary field that is an image
my EMyClass is:
public class EMyClass
{
public int aaa { get; ...
For proof of concept and learning purposes, I'm trying to do the most simple possible use of SecurityAction.Demand as follows:
[PrincipalPermission(SecurityAction.Demand, Role = @"MyDomain\MyGroup")]
public string GetData(int value)
{
return string.Format("You entered: {0}", value);
}
I wrote a console test program, and I'm getti...
A wcf service accessing an SQL database:
private void GetImagesDataFromDB(int imageIndex, int **extraParam**)
{
ServiceReference1.DbServiceClient webService =
new ServiceReference1.DbServiceClient();
webService.GetSeriesImagesCompleted += new EventHandler<ServiceReference1.GetSeriesImagesCompletedEven...
I have a self-hosted WCF service which is using the net.tcp protocol for an endpoint and it works fine on a PC with a normal LAN card.
However, I want to support PCs which have dual LAN cards and this gives me problems. I have assigned different IP addresses to the two cards (192.168.1.1 and 193.168.1.1). I then changed my app.config fi...
Every example I see uses the default Membership Provider with the userNamePasswordValidationMode, but can I specify MembershipProvider for userNamePasswordValidationMode in the ServiceCredentials for a WCF REST Service if I have a Custom Membership Provider? Is the following route the best to take if this is possible:
Create a custom ...
I've been beating my head against a problem for about a week and am now resorting to just a "is it even possible question".
Can other language connect to a web service that is written using .Net's WCF 4 framework?
When WCF first came out years ago (under .Net v3.0/winfx), I was able to connect a Java client to it using the basicHttpBi...
I have a WCF service hosted in a Windows Service. Clients from various platforms will access the service. Now I would like to add a basic security mechanism. Ideally, the clients should use username/password for authentication.
Which binding settings do I have to use in this scenario and how can I authenticate the client? Interoperabil...
For a few reasons, the bunch I'm working for don't want to use certificates and don't like the idea of a service that can be accessed by anybody with a valid logon.
My question is how can I authenticate an application as being an official application suited for use with these wfc services without using certificates?
They are trying to...
Hello Guys,
I have a WCF service that my iPhone app is connected to. Now I need to add an upload photo feature to my iPhone app. That said, I needed to have my WCF service to accept Images and save it to my server. Any idea how to achieve this?
I did googling for some possible solutions but neither of them works for me.
Your responses...
I am trying to write my first WCF Service. Right now I just want to take a bunch of properties of an object and write them to SQL Server.
Not all the property values will always be set so I would like to receive the object on the service side, loop through all the properties on the object and if there are any of a string datatype that ar...
I am trying to solve a problem where i have a WCF system that i have built a custom Host, Factory host, instance providers and service behaviors to do authentication and dependency injection.
However I have come up with a problem at the authorisation level as I would like to do authorisation at the level of the method being called.
For ...
I am trying to host a WCF service that responds to incoming requests by providing a json output stream. I have the following type
[DataContract]
[KnownType(typeof(List<HubCommon>))]
[KnownType(typeof(Music))]
[KnownType(typeof(AppsAndPlugins))]
[KnownType(typeof(Notifications))]
[KnownType(typeof(Scenes))]
[KnownType(typeof(Skins))]
...
Hello everyone.
I am using c# and VS2010.
My program is working client, server and agent.
Each programs are communicated with WCF.
But only agent is killed suddenly. and Server recives agent's fault event.
Generally, if exception is occured in vs 2010, vs2010 is breaked a line that occured a exception
But agent is not stopped. just kil...
Hi,
When I dispose wcf client proxy, is TcpConnection still available?
(netTcpBinding has been used)
...
Hi,
I've got WCF data service based on EF edmx model. My question is it possibel to implement a callbacks (like in duplex service)?
In order to consume live data coming from sql database.
cheers
Valko
...