I'm planing a larger project,so i'm considering some technology options.
The project will use the 3 tier architecture design. The presentation layer will be ASP.NET but it could be some other technology. This doesn't matter for now.
My questions are:
For the aplication server should i use a windows service or just a normal applicati...
Hello,
I was having a problem sending video data to a WCF restful service using post, my contract looks like this
[OperationContract]
[WebInvoke(Method = "POST",
ResponseFormat=WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "UploadMovie")]
string Up...
Hello,
I am working on a Silverlight v3 web app and I would like to secure access to the WCF service I am using to fetch my data. I currently have the WCF working just fine, but it doesn't require any user credentials.
I'm not very experienced with this aspect of WCF, so my first idea was to add username and password parameters to eac...
Duplicate
This is a close duplicate of Dealing with a longer running process in WCF. Please considering posting your answer to that one instead of this.
Original Question
I'm implementing the business layer of an application that must run some background processes at scheduled times. The business layer is made up of several WCF services...
this occured when I called my WCF Service
as follows:
hosted WCF Service in IIS in name 'testWCF'.
web application name is 'webWCF'.
gave scriptreference as :"http://localhost/testWCF/mywcf.svc"
In JavaScript called the method 'GetSerivceCharge' as
var x = new thetest.Backoffice.IBackofficeService();
var y = x.GetSerivceCharg...
I'm trying to return an EF object from a WCF REST service.
It works fine when I do not eagerly load any child objects but once I do, I get a 404 error when I try browsing the service using Internet Explorer 7.0.
...
I am trying to implement authorization for a WCF service but I have run into some significant difficulties. I think I need to use a hybrid solution combining custom authentication and claims, but I am not sure if this is correct.
My application uses Windows authentication to connect to the application. Once the user has been authorize...
Hi guys
I'm a newbie with WCF services, and I'm trying to figure out if is there a better way to update a WPF UI element (like a Label control) when I'm calling asynchronously my WCF service.
Here's a piece of code:
private void button1_Click(object sender, RoutedEventArgs e)
{
int result;
CalculatorServiceCli...
I have wcf service using net.msmq protocol but service fails to activate with following error. What could be wrong?
Looks like it is trying to find machineid or something in AD but why?
Sevice name is like net.msmq://localhost/private/myservice.svc
A connection with Active Directory cannot be established. Verify that there are suffic...
We have a WCF (Windows Communication Foundation) client and service application. We're using Windows Authentication with Kerberos.
The issue is that the service may be run under one of many accounts (maybe Network Service, maybe a specific user account -- depends on the IT group). This account is not not likely to change daily, but ...
I'm implementing a RESTful web service using WCF and the WebHttpBinding. Currently I'm working on the error handling logic, implementing a custom error handler (IErrorHandler); the aim is to have it catch any uncaught exceptions thrown by operations and then return a JSON error object (including say an error code and error message - e.g....
I have an application with the architecture like client/server/db. Communication between client and server is WCF (has been migrated from asmx) and database is SQL Server 2005.
The project has a requirement, that you cannot update an order, which have been changed (updated) by another user after your initial read. A common requirement i...
Is there a way to tell a WCF service to response to a request (with or without aborting it's processing) after a certain amount of time, even if it didn't finish yet, something like a server-side timeout policy?
...
I have a nettcp WCF service that supports single callback method.
I want to add new callback methods by adding new interface that contains the new methods without breaking the old one as there is another things depend on the old interface.
I tried to add new interface that inherits from the old one but the gerenated proxy in the the cl...
Picture, if you will, a Visual Studio 2008 WPF application with a single window containing a ListBox. This application contains a method, outlined below, that binds the ListBox to the contents of a database table.
This application also happens to implement a WFC service contract, hosting said WCF service.
The data binding method below...
I am currently reviewing some code for colleagues on a different project and they are using a WCF ReST web service.
My concern is that for each of their methods, only the HTTP protocol POST has been specified. This is true whether the actual method is responsible for getting, updating or creating records.
Should web services at all ti...
Hi guys!
I'm working in a WCF project and we need to reuse some legacy components from vb6.
In the service, we need to mantain state for each user as we need to store one COM Interop object (per user) which is costly to construct. The project can grow in the future so it's possible we may need to use StateServer/SqlServer-based sessio...
I appear to be having an issue with the following snippet of code in that, when I come to specifying what the Item is (eg CashInHand), the actual type CashInHandPayment is not available because it hasn't been carried across when I generate the proxy class (most likely because it doesn't read in XmlElementAttributes).
Is there any way to...
Hallo,
I have a dataset with a datatable which is frequently transmitted via WCF (with NetMsmqBinding) to a service in order to store the changes in the database.
In order to keep the message size small I would like to transmit only the changed records to the service (DataRow.RowState != Unchanged). I have tried to use the IDataContra...
Hi! I have a WCF service that I secure with a custom UserNamePasswordValidator and Message security running over wsHttpBinding. The release code works great. Unfortunately, when I try to run in debug mode after having previously used invalid credentials (the current credentials ARE valid!) VS2008 displays an annoying dialog box (more ...