I am trying to call a method in my service that is as below, from an ASP.NET application.
public bool ValidateUser(string username, string password)
{
try
{
// String CurrentLoggedInWindowsUserName = WindowsIdentity.GetCurrent().Name;
// //primary identity of the call
// String CurrentServiceSecurityCon...
I'm upgrading a restful service, and am now using the DataContractSerializer to output the response. The previous version just used custom serialization w/ XmlSerializer. Because that version used attributes a lot, and DCS never does, I'm seeing that the new response size is 1.5x the size of the previous version when compressed with gz...
I have an interesting problem: I can get results back from my WCF service to my Silverlight code as a DataTable. Problem is, Silverlight doesn't support DataTable objects. I've been poking around with what I can do, and the best I can come up with is passing it back as a List.
Great, right? Nope. Now I'm getting the same problem as ...
I am creating a Silverlight with WCF connectivity. I would like to create and maintain a session after user login in Silverlight and do the following.
On successful login, create a session object and store session id, user id, user name, session status
On further calls with WCF, the session information needs to be passed from Silverlig...
Hi guys, I am trying to work on a home project so I can get some practice working on WPF & WCF applications. Can anyone give out suggestions on a sample WPF and or WCF applications that I can develop?
Ideas are greatly appreciated.
Thanks
...
I have to port a VB 6.0 app to VB.Net (Framework 3.5). The application uses MSMQ heavily. I'm trying to figure out what are the advantages of using WCF over good ole System.Messaging. Are there any potential showstoppers when going with System.Messaging?
...
I have a WCF process hosted in a windows service.
I am wondering if I can safely have multiple WCF processes that do different things hosted in the same windows service.
Do I have to worry about ports?
I am using a mex endpoint
...
I am going to write out a separate log for each time I do a certain process in my WCF service. I have a standard log for the entire application already using log4net. Should I just add an appender and filter for the particular process, then remove it? This process deals with processing a file that was uploaded. Any other ideas???
...
Hi guys
I have the following code:
public virtual void Initialise()
{
this.AddHeader("SystemContext", this.UserSettings.SystemContext);
}
public virtual void AddHeader(string key, object value)
{
var customHeader = MessageHeader.CreateHeader(key, this.SystemSettings.SystemServiceNamespace, value);
OperationContext.Current...
Since the development server doesn't support the use of any bindings besides HTTP (http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/c7f173ea-61dc-4338-8883-60d616adc18f/), then how does one debug a NetNamedPipeBinding?
Right now, when I change the binding type with the Microsoft Service Configuration Editor from basicHttpBinding...
I have a WCF service.
I am trying to host the service in a console application.
I am following all the directions here
Now everything compiles fine, but I get an exception at runtime.
The contract name 'IMetadataExchange' could not be found in the list of contracts implemented by the service Indexer. Add a ServiceMetadataBehavior to ...
I need to transfer large Excel files over a WCF service. Our project requires generating some reports for the clients, and we use Excel to generate the reports.
Right now the project uses net.tcp binding, but we are considering switching over to http binding.
I read another post on SO about transferring large images and the answers a...
I am trying to use custom ASP.NET MembershipProvider and RoleProvider to handle security for my service. The service is self-hosted in a console app, not in IIS.
I use webHttpBinding with Basic Authentication. I configured serviceCredentials and serviceAuthorization to use providers. Providers really get initialized. But WCF seems to ig...
I have written a custom WCF binding which replies to requests over HTTP from a different source.
In the Channel's ReceiveRequest method, it's possible to receive a bad request from a client (for example, if he does not send HTTP etc..) However, due to the non-existance of a RequestContext at this time point (ReceiveRequest should return...
Hi folks,
this is going to steal my sanity. I've been gone through almost everything I found on the web and went no single step forward. Frustration is not strong enough to describe this errormessage come popping up regardless of what I am doing.
But one after the other.
I have a 64bit W2008 Server machine with VS 2008 SP1 german ver...
I'm writing a C# WCF service that publishes an endpoint using a WSHttpFederationBinding. We have our own security token server providing tokens, for which callers need to use a custom binding.
This is all working fine for a C# client I've written: this has a custom binding in its app.config like so:
<bindings>
<customBinding>
<bi...
I am trying to write a test and need to create a Message object with the IsFault property set to true. However, this property only has a getter. Does anyone know the best way to create a message where this property would be set to true?
Thanks
...
We need to implement a WCF service on a machine that can only run .Net 2.0.
The machine is a Windows XPe POS terminal, and we have not found a way to install .Net 3.0. We can't really format it with a new XPe image because there is a proprietary POS application and drivers installed.
Is there any way to do implement a WCF service on ....
Hi,
we have several sites for several different clients, each with several different databases.
Some of the databases are at client location, some are on our site.
I have been tasked with creating a few sharepoint sites that will display information from the databases.
Is it okay to call stored procedures from my sharepoint sites? S...
Hello everyone,
I am using Silverlight 2 and new to Silverlight 2. I want to develop a ASP.Net web application which uses Silverlight at client side (in browser) to let end user select a file to upload to server side. The server is running ASP.Net 3.5 on IIS 7.0. A special requirement is I want to control the upload speed, for example, ...