Hi
I have a WCF service and client. I connect to WCF via
ChannelFactoryBase<(Of
<(TChannel>)>)..::.CreateChannel
Method
Then I have a reference to ICommunicationObject
WCF service may be not working when connecting or closed later. What is correct
way to check if WCF service is working. One direct way is to use CommunicationE...
I am setting up a desktop WPF application with my BLL running as a WCF service on a separate application server. I'd like to set up a server farm and load balance the BLL. What is the recommended method to accomplish this? Does WCF include any features that help with load balancing?
...
hi guys,
I been getting a really nasty error when updating a "Service Reference" for a WCF web service when using VisualStudio 2010 Beta 2 so I have switched to using SLsvcUtil.exe to generate the client proxy to use in my Silverlight 3 application.
Problem is that I noted that before, when using "Add Service Reference" from within Vi...
Hi,
Lately I've run into the following problem. I've started using Workflow 4.0, one of the challenges now is to have the workflow run on the correct user, the one who's actually starting it. In WCF we use a sort of flowing-headers behaviour wich does the trick, but in WF it doesn't work obviously because the workflowhost spawns (almost...
I have some WCF log entries that have an action of http://tempuri.org/IConnectionRegister/Duplicate with a corresponding http://tempuri.org/IConnectionRegister/DuplicateResponse. Could someone shed any light as to what these are please? They seem to contain socket information, but I am curious as to the name "duplicate".
Thanks
...
I tried timeouts and throwing exceptions in the service implementation, but it didn't caused the channel to enter a faulty state as it happens in my production code.
How could I force this event to happen for testing purposes?
The following code throws an exception for the first request, making it fail, but the subsequent requests succ...
I am creating a service reference to a WCF service using VS2008 but the generated reference file has 2 classes defined representing the same object. Any ideas why this would be? See result below - THView and THView1 were generated while I'm expecting only THView.
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Comp...
I created an MSI to install a WCF web service. It's running fine, but
when I run the MSI, it defaults to install as MyCompany.RCT.WCFWebServicesSetup instead of MyCompany.RCT.WCFWebServices.
1) I would prefer to force the name of the virtual directory, and not even let the user change it, or
2) I would at least like to provide the...
I'm trying to deploy my WCF RIA services application to our in-house server for testing. I've been following the instructions and comments from this blog site:
http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx
At the end someone points to this question:
http://stackoverflow.com/questions/1528324...
I have a scheduled task which executes a powershell script every hour. The powershell script must make a call to a one-way WCF service operation. Essentially it just needs to kick off an operation. My question is how do i go about doing that? I thought that just executing the url would in fact kick off the request but apparently that...
hi all,
I have a strange situation in my application.
I have a service that needs to return some value from the DB.
My service calls to some method in a singleton (by using the GetInstance method).
For the purpose of debugging i wrote logging messages in every method along with a view of the call stack.
While debugging i noticed somet...
Well guys, as described above I'm implementing a multi-tier architeture to work with WCF and Entity Framework 4 (with poco). Since I'm already have persistence ignorance with POCO I do need implement DTO or I can use WCF in its pure way.
The main quote is - I do need DTO to pass a lightwheight object in the network or I can use my POCO e...
I have a custom intranet application that has no interoperability requirements. We programatically construct a NetTcp channel in duplex mode for passing messages. We wanted to change the message encoding but haven't been able to figure out how to make that happen.
The approach we have taken (unsuccessfully) has been to extend the NetT...
I have a solution that uses CSLA for Business Layer and LINQ to SQL on another. We need to use WCF so that we can host our database on remote servers but it seems that the application cannot read the web.config file in WCF project using ContextManager. We tried using ConnectionManager and somehow it worked. Is there a known issue with Co...
I'm trying to execute a wcf service operation from PowerShell using the following script.
$uri = "http://myserver.com/myservice.svc?wsdl"
$proxy = New-WebServiceProxy -Uri $uri
$proxy.CleanupExpiredTransactions()
However, I am getting the following exception.
Exception calling "CleanupExpiredTransactions" with "0" argument(s):
"Object...
Sometimes it will be a SocketException:
Stack trace: at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
And sometimes it is throwing the following C...
Hi guys!
I have a .net4 application using EF4, I Expose my model through WCF using BasicHttpBinding (but this can be changed) that every time I try invoke this method my web server process start to grow in memory and the process die.
The problem is when the DataContractSeralizer trying to serialize my Entity (has some relationships) ...
When a single ClientBase<T> instance is used for multiple WCF service calls, it can get a channel into a faulted state (ie. when the service is down).
I would like to heal the channel automatically when the service comes up again. The only way I found is to call the following code before each method call:
if (clientBase.InnerChannel.St...
I would like to access to multiple web services with a WPF application (Facebook, Twitter, etc...).
I'm not familiar at all with WCF and I was wondering what should I use and why (pros and cons) ? WCF or something else more traditional (like HttpWebRequest) ?
...
I have IIS 6.0 on Windows Server 2003.
I installed .NET 3.5 and 4 beta 2. "Normal" ASP things are working (perfect). But when I try to navigate to my service (/myServer/MyService.svc) I get a 404. Page not found.
To be exact, I got a 404 2 "Web service extension lockdown policy prevents this request."
I used ServiceModelReg.exe /ia t...