Hello,
I am using the WCF IClientMessageInspector to send information in a header to a WCF service (wsHTTP). I am using the IDispatchMessageInspector to receive the information and populate a String property.
I verified the header is sending the information properly as I use the FindHeader within my specific method but I'd rather just...
I asked another question stating that the I am unable to use WCF in a new Web Service project and have come to see that it seems to be the technology to use in regards to extensibility and security.
My question is a simple one:
How can I persuade management (and developers for that matter) to move over to using WCF as opposed to other ...
Hello,
I have an ASP.NET page that calls to a WCF service. This WCF service uses a BackgroundWorker to asynchronously create an ASP.NET page on my server. Oddly, when I execute the
WCF Service
[OperationContract]
[WebInvoke(Method = "POST", BodyStyle = WebMessageBodyStyle.WrappedRequest, RequestFormat = WebMessageFormat.Json, Respons...
Background information:
.Net Website which calls a service (aka external service) facade on an app server in the DMZ. This external service then calls the internal service which is on our internal app server. From there that internal service calls a stored procedure (Linq to SQL Classes), and passes the serialized data back though to th...
I had a perfectly working WCF service that I used for a custom AutoCompleteExtender but when I updated the AjaxControlToolKit.dll the service no longer works. I changed nothing else but removing the old DLL and adding the new one.
Is there something else I need to update that I am missing?
I can access the service so I know it's wor...
I am getting the following stacktrace and have no idea what I am looking at and how to debug and fix it: Here is the error:
Description: An error occurred during the parsing of a resource required to service
this request. Please review the following specific parse error details and modify your
source file appropriately.
Parser Error...
When I deployed my WCF Data Services to production hosting I started to get the following error (or similar depending on which auth schemes are active):
IIS specified authentication schemes
'Basic, Anonymous', but the binding
only supports specification of exactly
one authentication scheme. Valid
authentication schemes are Di...
I created a WCF service (.NET 3.5) that grabs data from a db and returns a list of objects. It works just fine. I tested it using the WCFTestClient application and got the desired results.
Now, I tried to create an ASP.NET web application and consume the service. After enabling <serviceDebug includeExceptionDetailInFaults="true"/> in th...
Hello all.
We are currently doing a review of our WCF service design and one thing that is bothering me is the decision between Per-Call and Per-Session services. I believe I understand the concept behind both, but I am not really seeing the advantage of Per-Call services. I understand that the motivation for using Per-Call services is...
I am developing a WCF service that receives the user's credentials in the SOAP header. These credentials are read on the server side using a MessageInspector. So far so good.
I want to set the Thread.CurrentPrincipal to a custom principal (CustomPrincipal), but when I do this from the MessageInspector, it gets overridden by the time the...
We have a Silverlight application client and a WCF Service hosted as Managed Window Service and exposing Service Contracts on BasicHttpBinding.
We are sending FaultContract on the wire in case of exception is caught with the WCF Service Code. We are facing following problem as:
A. If we have Synconized proxy call (in case of Window or W...
Hello everyone,
I was wondering if there is a way to rename a parameter in a WCF client interface method ,just the same way I can rename methods or enumerations:
Renaming methods:
[System.Runtime.Serialization.DataMemberAttribute(Name = "intError")]
public int ErrorCode {...}
Renaming enumerations:
public enum MyEnumeration...
Hello,
I was profiling my .net windows service.
I was trying to discover OutOfMemoryException and discovered that my stack size
is huge and is growing because the the number of threads keeps growing.
Each thread gets 1024 KB on Windows x64 machine. Thus when my app has 754 threads the stack size would be 772 MB. The problem for me is ...
I'm developing a new user store for my organisation and am now tackling password storage. The concepts of salting, HMAC etc are all fine with me - and want to store the users' passwords either salted and hashed, HMAC hashed, or HMAC salted and hashed - not sure what the best way will be - but in theory it won't matter as it will be able...
in my silverlight page I am fetching the data through WCF
WCF is returning an BusinessEntityCollection that is the collection of rows
SqlParameter[] sqlParameter = new SqlParameter[]{new SqlParameter("@recordType",recordType)};
MenuEntity menuEntity;
MenuEntityCollection menuEntityCollection = new MenuEnt...
I've been running around the interwebs for a fair few hours now and I don't think I'm getting anywhere fast.
Here's my situation and problem, I have a WCF web service and a ASP.net website, both C# back end.
When developing ASP.net websites in the past I've used the built in ASP.net configuration manager to do setup user roles and rule...
We have a WCF service that makes a good deal of transactional NHibernate calls. Occasionally we were seeing SQL timeouts, even though the calls were updating different rows and the tables were set to row level locking.
After digging into the logs, it looks like different threads were entering the same point in the code (our transaction...
I have a windows service which uses the ServiceHost class to host a WCF Service using the net.tcp binding. I have done some tweaking to the config to throttle sessions as well as number of connections, but it seems that every once in a while my "Calls outstanding" and "Call duration" shoot up and stay up in perfmon. It seems to me I ha...
Is there a way to dynamically change the WebResponseFormat on a method given a parameter passed by the client? I default my WebResponseFormat to XML, but I want to give the client the opportunity to specify a format as JSON or XML and if none is specified, default to XML.
Currently I am doing the following:
[WebGet(UriTemplate = "objec...
A "Silverlight-enabled WCF service" was added into existing ASP.NET web-application. On attempt to add reference from the Silverlight Application to the service the following error was received:
Object reference not set to an instance of an object.
How can I add reference?
Thanks.
...