We are developing a number of WCF services. requests will cross a domain boundry; that is, the clients are running in one domain and the servers handling the requests are in a different (production) domain. I know how to secure this link with SSL and certificates. We will aks the users for their usernames and passwords on the product...
Does somebody know why the output of this code is only : "Message Sended" ?
The thread of the input channel wait on channel.Recieve().
I have not this problem using basicHttpBinding with IRequest/ReplyChannel !
static void Main(string[] args)
{
WSHttpBinding binding = new WSHttpBinding();
binding.ReliableSession.Enabled = true...
I'm writing an App using WCF where clients subscribe to a server and then updates get pushed back to the clients.
The subscribers subscribe to the server using a DuplexPipeChannel calling a Subscribe() method on the server.
The server maintains a List<> of subscribers and when there is data to push out to the subscribers it calls a Pus...
I have created a WCF service with NetMsmqBinding, and hosted it in IIS7 using Windows Activation Service (WAS).
Current (works perfectly):
Hosted in IIS at: http://localhost/MyService/MyService.svc
With the service endpoint address: http://localhost/private/MyService/MyService.svc
And the corresponding queue: .\private$\MyService/M...
I've been coming up with a lot of dead ends on this question. Supposedly, .NET 3.5 SP1 has Support for ADO.NET Entity Framework entities in WCF contracts. But when I look for solid info on it I'm not getting a lot of answers. I found this one snippet on an MSDN thread. Does anyone have any experience with this? What happened to the [...
I'm modifying the code in this tutorial to build some basic subscribe push wcf client/server classes, and I've just hit a bit of a brick wall.
The server class in the tutorial is created using the following code:
class Program
{
static void Main(string[] args)
{
using (ServiceHost host = new ServiceHost(
typeof(...
I've finally got Intellisense working for JQuery by applying patch KB958502 to Visual Studio 2008 and including this line:
/// <reference path="JQuery\jquery-1.3.2.js"/>
at the top of my .js files. Now I'm trying to figure out how to get JavaScript intellisense for the client proxies generated by the ScriptManager's ScriptReference e...
I am working on a WCF application that will be deployed to various servers along the way and I would like to not have to remember to change the app.config every time I do a deployment. At first, my app.config serviceModel section looked like this:
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="false" /> ...
I will be deploying my first WCF service in the next few days on a Test server (MS Server 2003 O/S). This particular service will do nothing more than run some queries against a SQL Server 2005 (most likely on the same box) and return the values to the caller.
My question is, unlike the "classic" web services, with WCF I now have cho...
Hi,
My WCF service running on IIS7 seems to resolve at:
http://computername.mydomain.local/service.svc
My web.config doesn't reference any url.
What could be the cause?
...
Using the new syndication API, is there any smooth ways to read RSS 1.0 feeds? found http://www.clariusconsulting.net/blogs/kzu/comments/116679.aspx with an explination of how to read atom 0.3. Do we realy need to create our own xslt to transform the feed from RSS 1.0 to RSS 2.0?
...
I use the following code to call a wcf service. If i call a (test) method that takes no parameters, but returns a string it works fine. If i add a parameter to my method i get a wierd error:
{"ExceptionDetail":{"HelpLink":null,"InnerException":null,"Message":"The token '\"' was expected but found '''.","StackTrace":" at System.Xml.Xm...
I would like to ask people's opinion on methods and strategies for introducing Caching to WCF. In particular what i am most interested in, is injected SQL Cache Dependencies. Once a web application is copied to multiple application servers I want to synchronize the cache efficiently.
I am currently looking at the WCF Rest Starter Kit...
I need to hook into the WCF operation process to execute some code right before and right after each operation.
Some context:
I already have a custom servicehost, servicehostfactory and servicebehavior
all my services are based on a common base class
I've been snooping around and I think using a IParameterInspector would be the bes...
Hi,
I have a problem with WCF seemingly not including attributes such as Category when passing entities around.
I have a class wrapped around an EF entity, used to populate a property grid on a thick client.
I am trying to retrieve information from the server, using WCF, and to replicate the property grid on the client side. I have ...
Hi,
We have some XSDs in our project that define types that use attributes, as well as elements, to specify property values, e.g.:
<Instrument name="blah">
</Instrument>
I use these XSDs to define a schema used by a WSDL, but when I run it through schemagen, the generated code is unwrapped. For example:
public interface InstrumentSe...
If I have a class marked as a DataContract and a few properties on it marked with DataMember attributes I can serialize it out to XML easily, but it would use an output like.
<Person>
<Name>John Smith</Name>
<Email>[email protected]</Email>
<Phone>123-123-1234</Phone>
</Person>
What I would prefer is attributes, like...
...
Hello all,
I borrowed the following code to try to make an ajax-enabled WCF service work since I kept getting the 405 method not allowed error:
$('#btnSave').click(function(e) {
$.ajax({
type: "POST",
url: "AjaxWcf.svc/ConnectionTest",
contentType: "application/json; charset=u...
I have a web application that is talking to a WCF service hosted within a Windows Service. Every once in a while I will start seeing EventLog errors that stating that the request to the WCF service timed out after 1 minute. I understand that error (although why it would take that long to respond is a mystery). The error that really co...
Similar to this question, I need the ability to require username + password w/out transport security. But in my situation the actual IIS server doesn't have SSL, but the proxy in front of it does. This is where WCF has an issue - because the box hosting it won't allow this type of security w/out SSL. So in short - do I need to write m...