wcf

How are STA COM components handled when used in a WCF service hosted in IIS (7+)?

From what I understand, when a COM component marked as using STA is used from a MTA thread, the calls are supposed to be marshalled to an STA thread and executed from that dedicated thread. In the case of a Windows client application, this would mean that it would execute on the UI thread (if marked as STA), and that callbacks from the C...

Ws-basic profile 1.0 vs Ws-basic profile 1.1

what is the difference between Ws-basic profile 1.0 and 1.1. ...

How to find attachment is there or not in the mail using Exchange web service without GetItem() method operation.

Hi, I'm able to find/determine the attachment is there or not in a mail using Exchange Web Service Binding using GetItem() method. But using GetItem() method leads to costlier operation in terms of performance and not recommended in our project requirement. I would require information that by passing ItemID alone without GetItem() met...

WCF in StreamInSight

How to implement the StreamInsight server, Input Adapter and Output Adapter as WCF Service? Please provide me some sample projects.. ...

.NET Memory usage by module

I have a silverlight application and using WCF to communicate to the backend SQL Server using entity framwork. I want to know what portion of my application is using the most memory. What tools can I use for uncovering memory usage? ...

SOA Question: Exposing Entities

I would like to incorporate SOA pattern in my 3 tier structure. I created a Service layer (WCF Host) between the BLL and the UI. My structure setup is now looks like this UI <> WCF <> BLL <> DAL <---[Entities] ---> The problem is, I have my entities in separate DLL (ANd it was visible in ALL Layers except on the UI) Now, I ne...

MVC, WCF ASP.NET 4.0 & JQUERY

Hello, I've spent the past few days getting frustrated with WCF, so I've decided to post for help on here because.. well.. I don't have a clue where to start!.. any help would be appreciated! Firstly: When creating a WCF Service in .Net 4.0, which template should I use if I want to be able to create a service that will accept data from...

WCF impersonation is not impersonating an administrator

I am trying to use WCF to do some remote user management things. I and reusing some code I had on a server 2003 box and worked fine, but on my windows 7 test box when I check to see if the user who called the function is administrator it says it is not. [OperationBehavior(Impersonation=ImpersonationOption.Required)] public string SetPas...

REST uri for POST and return(GET)

Sorry for the strange title. Here is my situation. I have a table of products with the name and display order of each product. The client can change the display order of the products. The table is generated using jQuery.tmpl and the data is pulled using GET under WCF. The products pulled from the db are by CategoryID. When the user...

What is the preferred way to implement serializable classes in C#

I've seen many different ways to serialize objects in C# that I'm not sure which one to use and when. In the current situation I'm serializing for exposure through WCF so I'm guessing the [DataContract] attribute is the way to go. Currently I'm reading in some XML, then exposing the resulting object through WCF. So I am deserializi...

Is there any way to get a MetaDataType generated from my WCF service

How do I get DataAnnotations from the WCF server to the Silverlight client, (note: not using RIA Services) ...

WCF NetDispatcherFaultExcption when passing byte array from Service to Client

I am trying to pass a file (byte array) from the service to the client. I receive "the formatter threw an exception while trying to deserialize Expecting state 'Element'.. Encountered 'Text' with name '', namespace ''" error. Any ideas on how to fix it will be much appreciated. Thanks, Raja ...

How to show feedback while streaming large files with WCF

I'm sending large files over WCF and I'm using transferMode="Streamed" in order to get this working, and it is working fine. The thing is sometimes those files are just too big, and I want to give the client some sort of feedback about the progress. Does anybody have a godd solution/idea on how to acomplish this? EDIT: I don't comman...

WCF / WCF Data Services / WCF RIA Services

Not to add another SO post regarding the different WCF stacks, but I want to make sure I'm heading in the right direction before I waste more development time... My scenario - Our company has a number of web apps that all access the same series of databases. All the apps were basically developed independently, so there's a ton of busine...

Custom MTOM binding and Max upload size

I'm using the binding configuration below for my upload service, <binding name="FileUploadSTSBinding"> <security authenticationMode="UserNameOverTransport" requireDerivedKeys="false" keyEntropyMode="ServerEntropy" requireSecurityContextCancellation="false" ...

wcf windows integrated security

Hi, I have active directory and several client computers joined the active directory. In the client computers I have installed wcf clients. On the server the wcf service is hosted in IIS. I use message secyrity with windows credentials. Everything is working fine. But I have heard that there are some programs than can extract the pa...

How to call a WCF Service methods on a test server (without VS2010) in C#

i created a WCF service that also writes into a log file. i put it On the IIS and run the SVC file to check if it runs ok and it does. how do i simulate its methods? do i create another web site that calls its methods, and use the log file to trace its steps ? can i install WCFTestClient on the test server ? what is the best way to si...

Check silverlight's code-signing certificate in asp.net

Hi, is there a possibility to check the certificate (issuer, subject, etc.) of a signed XAP-Silverlight file in a asp.net hosted wcf service? Thanks, Sven ...

Why WCF cannot be invoked in wcftestclient?

I built up a WCF service, it works good in IE addr, but once i add it to wcftestclient and invoke a method, an error was prompted and shown as : Failed to invoke the service. Possible causes: The service is offline or inaccessible; the client-side configuration does not match the proxy; the existing proxy is invalid. Refer to the stack ...

Improve on this pattern for handling how a mobile app knows how to find it's server

I'm considering how to identify server(s) to an app on a mobile device that utilises a wcf/web service. (1) I anticipate all going well that I will need to migrate the server between hosts from time to time to handle load. I'd like to be able to do this without service disruption. (2) I also anticipate that all going well I will want t...