Suppose I have a WCF service which I need to host on a server in a country which blocks access to many sites.
So if I host my WCF for testing purposes on a server that is not in such a country, it works perfectly — but whenever I try to deploy it to any server in this country I can’t access it.
Are there any workarounds for that?
...
Suppose I have a WCF service which I need to host on a server in a country which blocks access to many sites.
So if I host my WCF for testing purpose on a server that is not in such a country, it works perfectly — but whenever I try to deploy it to any server in this country I can’t access it.
Is there any workaround for that?
...
Hey,
I am attempting to get the WCF Rest Service Template 40 (CS) which is an online template in VS 2010 to deploy to IIS 7.5 on Win Server 2008 R2. We havn't changed the template at all and are trying to get this call to work:
public class Service1
{
// TODO: Implement the collection resource that will contain the SampleItem insta...
I have a WCF service that I need to run over SSL, I am calling it from a webpage (using jQuery) which may or may not be a secure page. The problem is, if I make the call from a secure webpage on my site, the call runs exactly how I would expect...however, if I make the call from a non-secure page on my site, to the secure web service (u...
Hello,
The book Domain Driven Design by Eric Evans describes pattern called value object. One of the important characteristics of a value object is that it is immutable.
As an example I have a value object "Clinic" which must have a name and an id. To make it a value object I do not provide setters on name and id. Also to make sure th...
how can i set my WCF service to use proxy on server side ?
is there is any way for that ?
...
One of my WCF service is returning a XElement object. Visual Studio, the client web app, is keeping showing this message
Cannot convert source type 'System.Xml.Linq.XElement[Service.Contracts, Version=1.0.0.0, Culture=neutral]' to target type 'System.Xml.Linq.XElemnet[System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b7...
Hello,
What should i return from a WCF service when using Linq?
Eg :-
var res = from q in context.cust select q;
The Linq follows Deferred Execution and thus the statement doesn't do anything until a for loop is ran. This means i can't just return res. Then what should i return? Do i need to write a for loop and populate objects an...
Guys,
I am having problems creating WCF client proxy for service code like in this example:
// data classes
[KnownType(typeof(ClassA))]
[KnownType(typeof(ClassB))]
public abstract class BaseClass : Dictionary<string, ITest>
{
}
public class ClassA : BaseClass
{
}
public class ClassB : BaseClass
{
}
public interface ITest
{
}
// se...
Hi, I would like to know the best way to deal with long running processes started on demand from an ASP.NET webpage. the process may consist of various steps (like upload files to the server, run SSIS packages on them, execute some stored procedures etc) and sometimes the process could take upto couple of hours to finish. if I go for asy...
Hi,
i have an, i hope it is an simple, problem with wcf and the soap xml response of my service. How i can change
i use .net 4.0, c#, basicHttpBinding and messagecontracts
thanks in advance
br
waldi
...
can i install WCF (windows service) on client machine and call this service on asp.net web page(on the server machine)?
...
I have a WCF Werbservice and i want to reach him via HTTP and HTTPS.
This is my actual try. But i can't reach the Service anymore not with http and not with https. :( Pls help
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="DefaultBinding" closeTimeout="10:01:00" openTimeout="10:01:00" receiveTimeout="10:10...
Hello
I have a message in a Journal of a Private queue (.\Private$\theQueue\Journal$)
The message was created by WCF and processed (thus on the Journal).
The problem is I want to get the message (the body is too large to view in the Admin Tools) so i have created the following code
MessageQueue myQueue = new MessageQueue(txtQueueNam...
When using a HTTP binding in WCF, I need to grant myself special permissions to be able to bind to that port/path. I understand this is because WCF accepts HTTP traffic through the http.sys driver.
In the olden days, we could new up a socket and bind to any old port that wasn't in use, without being an admin. NetTcpBinding is still abl...
I am trying to build a generic MSBuild script that will be called programmatically from ASP.Net page. This script should do the following:
1) Check out the source code (all projects are asp.net projects) from SVN.
2) Build and publish the web project.
3) Run a c# component which will do some manipulation on the published...
I've run into a particularly nasty bug where an ASP.NET website attempts to make a call to a WCF service method that sends IIS into a death spiral...that ultimately brings down the associated app pool. It never gets to our log4net code that outputs unhandled exceptions.
I was watching w3wp.exe processes spin up and die, so I figured I'...
I guess when I generate the entities, they don't have [DataContract] attribute, so I cannot pass the object to client.
...
I have a mobile application that interacts with a WCF service.
Do I have to host the wcf in IIS in order for the mobile to connect to it via internet?
...
I have a WCF that is being secured using a custom UserNamePasswordValidator. I need to access what normally would be available in:
OperationContext.Current.RequestContext.RequestMessage.Headers.To
so I can parse the URL.
However, OperationContext.Current is null. Is there a way to get at the message header without OperationContext?...