Hi, i have the latest SDK of azure and i downloaded Microsoft azure WCF samples. when i try to compile the solution, i get this error:
The type or namespace name 'ServiceHosting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
and i can't find it anywhere.
what do you suggest i should do?
tnx
...
I am developing a WPF application in .NET 4.0 which calls a WCF Service hosted on the server developed in .NET 4.0.
I want to use windows authentication for this purpose and it seems that it is not working and keep on giving me following error.
The provided URI scheme 'http' is
invalid; expected 'https'. Parameter
name: via
I...
I use this function in javascript to call web service (WCF):
function Do(caller)
{
MyService.GetClient(some_id, CallBackGetClient);
}
function CallBackGetClient(WebServiceResult)
{
var result = WebServiceResult;
etc.
}
Now I want to pass parameter (caller) to CallBackGetClient function so I can make dictinction who called Do...
I'd like to be able to create standard POCO service that I can use in two distinct workflows:
in-process i.e. consumed by my ASP.NET webforms application
remotely via an exposed WCF endpoint to be consumed by other applications
Is there a way to re-use the same service and its return data types in both scenarios above? Ideally, my co...
I have a WCF client for which I need to log messages. I need the complete SOAP envelope of both requests and replies.
My app.config file has logging set up thusly:
<diagnostics>
<messageLogging logMalformedMessages="false" logMessagesAtServiceLevel="true"
logMessagesAtTransportLevel="false" logEntireMessage="true"
...
I have a .xamlx Workflow Service that I would like to secure so that it can only be called by clients that have obtained a token from my STS (ADFS v2.0). Normally this is very easy to do if you're using a "Web Site" project template, and you've added a .SVC service - the "Add STS Reference" wizard will find the service you want secured a...
I'm designing a WCF service that will return a response code (such as 0 for success, or another number for errors). Also, all methods of the web service will perform several common validations (such as authenticating an apiKey).
I am wondering if there is a best practice approach or organizing and retrieving these response codes and mes...
I keep getting an error when I have an interface with more than one method tagged with the XMLSerializerFormatAttribute and I'm not sure why...
[ServiceContract(Namespace = "http://www.mysite.com/Services/Foo", ConfigurationName = "IFoo")]
public interface IFoo
{
[OperationContract(Action = "http://www.mysite.com/Services/Foo/Select...
I have multiple services that have to run under one website. Two of the services have a net.tcp endpoint. The addresses are formatted as follows:
net.tcp://backend.ourcompany.com:9080/Product1/2010/09/Service1/Service1.svc
net.tcp://backend.ourcompany.com:9081/Product1/2010/09/Service2/Service2.svc
net.tcp://backend.ourcompany.com:909...
I am trying to deploy a WCF service to IIS. I would like to offer both HTTP and HTTPS endpoints, but Im not guaranteed that the IIS servers will have HTTPS available. If its not, then my service will fail start.
Is it it possible to test if an endpoint is viable before adding it to the service? Right now i am limited to using .NET 3....
I've created and configured an SSL certificate as per these instructions from MSDN. I'm getting the error message that this question lists, but am not sure how to map the accepted answer in that question to my App.config file. The content of the config file, and the service itself worked correctly over http, it's just over https that the...
I have a WCF service written in .net 4, and exposed over net.tcp. Any time I try to set the MaxConnections property of the binding configuration to something higher than 10 I am AddressAlreadyInUseException.
Why would that be getting thrown on the MaxConnection setting?
(if it matters, I am on Server 2008 R2 Standard with a 4 core CPU ...
Hi,
I have the following WSDL
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:tns="${namespace}" xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapen...
I'm experimenting with writing Javascript/JSONP queries against an WCF oData API. For performance reasons, I'm trying to keep the responses succinct. The default seems to be for the oData endpoint to return uri and type metadata with every returned result. This information can take up a significant portion of response payload. Is there a...
Hello
I'm very new to silverlight and I'm thikning which way to go. I'm in planning phase of my new project which should be built on silverlight. The problem is that I want to have my own DAL -> BLL on server side, and WCF service, which will talk to Silverlight should be consumable by other applications too, including other technologie...
Hi guys,
I'm calling a WCF service on my asp.net site. sometimes this service is down and it takes 30seconds to timeout, which slows down my page as I'm calling syncronously.
What's the best way around this? decrease timeout? is there a way to see if the service is down before calling?
Thanks
...
I'm facing problems trying to expose a simple WCF 4.0 service as a restful. It's SOAP part works fine. My operation contract is marked with [WebGet(UriTemplate="example/{param}")]
and my web.config contains the folowing
<services>
<service name="Service1">
<endpoint address="data" binding="webHttpBinding" behaviorConfigurati...
I'm on the process of creating an API in much the same way Hanselman showed it could be done for Stackoverflow. I have a bunch EntityObject Entity Framework generated classes and a DataService thingy to serialize them to Atom and JSON. I would like to expose some generated properties via the web service. Think FullName as generated by co...
I would like to implement WCF service with server and client certificates.
When I try to connect to service on IIS I get the following error:
Test method
TestProject1.UnitTest1.TestMethod1
threw exception:
System.ServiceModel.Security.SecurityNegotiationException:
Secure channel cannot be opened
because security negotiati...
I have a .NET 2.0 .asmx web service that looks something like this:
[WebMethod]
[return: XmlArray("FileInformations"), XmlArrayItem("FileInformation")]
public FileInformation[] GetFileInformation(
[XmlElement("Path")] string path)
When I try to call this web service from a silverlight windows phone 7 app (beta). I get an Inva...