.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

AppFabric + WS-Discovery

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :WCF
Hello I would not present a problem and if this forum is the right place. If not I would support to address coorectament. I am currently developing a new system, along with the team to work. Rather use existing technologies, SQL Server 2008 R2, ADFS2.0, II7.5 AppFabric Windows 2008 R2 Visual Studio 2010, etc.. The solution divides the business through WCF services are hosted in IIS 7.5 and managed to AppFabric. The services are enabled to start automatically. Have discovery protocol (udpDyscovery) and its extreme enabled. We created a mini application to test the service discovery and the results are the following: If the run on the host, works fine, the service responds to UDP port 3702 packets. If the client does not run a station responds. We did not know if UDP packets from reaching the server. To check this, we created an application that captures the packages with the library PCAP.Net (Pcapdotnet.codeplex.com) and we run on the server. And yes, the packages arrive. But also when the application is running, the service also responds to requests for discovery (probeMatch) that makes the client station. What makes the application acting as sniffer plate is put in promiscuous mode network card. The server is virtualized with vmware 4.0 (vsphere). Can anyone find the answer to this? Thanks.

View Complete Post

More Related Resource Links

WCF Architecture: AppFabric Service Bus Discovery


Learn how to roll your own discovery mechanism as we walk you through a small framework the author wrote to support discovery over the service bus, bringing it on par with the built-in support for discovery in WCF.

Juval Lowy

MSDN Magazine October 2010

AppFabric Cache: Real-World Usage and Integration


Windows Server AppFabric provides a distributed cache for both web and desktop applications. Well show you how to integrate AppFabric caching into your apps, along with some hints for taking advantage of new cache features in the .NET Framework 4.

Andrea Colaci

MSDN Magazine June 2010

Foundations: Discover a New WCF with Discovery


Juval Lowy explains how the industry-standard discovery solution enables clients to discover available addresses for WCF calls at runtime, and he provides tools and helper classes to simplify the process.

Juval Lowy

MSDN Magazine January 2010

WF 4 with AppFabric?

Hi all, I want to know how Hosting WF in AppFabric? Can any one provide some usefull links? Thanks.

WS-Discovery match probe response with uuid

Hello, I am trying to make a service beeing discovered by a client which is not .NET based. I could configure the server based on .NET 4 to receive the probe message properly, but the probe match reply is not as the client expect it to be. The reply look like this: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <s:Header><a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches </a:Action><h:AppSequence InstanceId="1175946188" MessageNumber="5" xmlns:h="http://schemas.xmlsoap.org/ws/2005/04/discovery"/> <a:To s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:To> <a:RelatesTo>uuid:1f969bbc-4d9e-4151-ad7e-60bd7fa15a9a</a:RelatesTo><a:MessageID>urn:uuid:43fefd16-83ec-4f5a-a8ef-ad65f8e9cce4</a:MessageID> </s:Header><s:Body><ProbeMatches xmlns="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ProbeMatch><a:EndpointReference><a:Address></a:Address> </a:EndpointReference><d:Types xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns

WCF Discovery/Announcement using TCP and app.config problems

All, I have been using managed discovery for a while now doing all of the configuration in code.  I have been trying to port this to use app.config for the additional flexibility it provides.  I am having serious issues when it comes to discovery / announcement.  As can be seen from my code below, I am creating an Address and Binding and handing it to the DiscoveryEndpoint / AnnouncementEndpoint.  I am not quite sure how to do this in code.  All of the examples use some form of UDP broadcasting, and I'm just curious how I go about doing this using TCP. Here is the code:  private MyDiscoveryProxy _discoveryProxy;         private ServiceHost _discoveryProxyHost;         public void Start(IServiceController serviceController)         {             // Host the DiscoveryProxy service             _discoveryProxy = new MyDiscoveryProxy(serviceController);             _discoveryProxy.OnlineServiceAnnounced += new Action<IAmsServiceInfo>(_discoveryProxy_OnlineServiceAnnounced);             _discoveryProxy.OfflineServiceAnno

Service Registry, UDDI, WS-Discovery ... slippery slope ?

Hi, i work for a retail company, we are starting to make some internal software in. NET and of course using WCF to 'connect' applications, we have still a very long way to a SOA architecture but i am doing some deep researching on the path to SOA.   One thing i dont see a good solution is in how to implement some service registry, for human and software access, at this point of my research im not looking for a ESB or some robust and powerfull (and complex) middleware for services architecture, currently i want to publish services with associated documents for human acess and of course for client access, my initial requirement would be given a contract (Interface) determine a service endpoint based on parameters such as network response, debug/production, service quality, transaction support, etc. with this i start looking and of course first go to see UDDI, i use for research Windows Server 2003 and Windows Server 2008 and both gives me UDDI as a component of the OS, so i was happy to there, but i start read some microsoft documentation i began to doubt, the docs are poor for msdn standar, refers some requirements in terms of Netscape navigator... supports API v2.0 of UDDI and frm 2005 there is v3....   plus trying to use the UDDI wasnt very easy for an IT manager people, i have some gap between WCF services and the UDDI model, not easy to close... doing some more research i

WCF discovery finds the endpoint but the address is localhost

Hi,   I have a wcf discoverable service called "GetNameService" which is hosted on a PC @ It is hosted with wsHttpBinding and is discoverable thru' UdpEndpoint. I also have a client @ which discovers for such services in the same network. When I ran the client, I am able to discover the service but the end point of the service discovered is having localhost in it. How can this happen, please help me out in this.   Some more information,   App.config used <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" /> </system.web> <!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> <system.serviceModel> <services> <service name="NameService.GetNameService"> <host> <baseAddresses> <add baseAddress = "" /> </baseAddresses> </host> <!-- Service Endpoints --> <!-- Unless fully qualified, address is relative to base address supplied above --> <endpoint address ="" binding="ws

WS-Discovery and encryption


I would like to encrypt the WS-Discovery information that is being sent out.

I am currently only using NetTcp for the protocol on the service, and have all the clients connecting up to it.

For the security on the service, I use client certificates.

Each client also has a our top level certificate installed so chain certificates work.


what I would like to do is encrypt the WS-Discovery info using the top level certifcate.

I would like to do this so anyone sniffing on our private network can not just see the info and be able to try and connect.

Support for Oracle as Persistence-, Tracking and AppFabric-Monitoring-DB as a product


Hi all,

we did many large scale projetcs for international customers. Most of them use ORACLE in their database infrastructure. Hence our product must be able to use ORACLE as database backend. We are now working on extending our product in order to enable our customers creating, managing and running business processes. We would love to have this based on Workflow Foundation 4.0.

Unfortunately Microsoft offers only interfaces that we would have to implement for using an ORACLE database backend. We think that the implementation of these interfaces should be a product on its own -- done in professional development and providing professional support. In my opinion the acceptance of WF will depend highly on being able to support ORACLE custumers. No offense considering SQL Server, but most of our large scale customers will never agree to use a database infrastructure other than ORACLE.

Are there any plans to provide an implementation of these interfaces for ORACLE as a product by Microsoft or another vendor?

Best regards,



IIS Workflow persistance without AppFabric


My question is about automatic resuming/hydrating persisted workflows that are hosted in IIS7.
Is that impossible to achieve out-of-the-box without installing AppFabric (I have not succeeded)?

Some people have said that AppFabric is required, but then, how is it possible that IIS7 alone cannot handle the resuming of persisted workflows, while it works perfectly using the VS2010 Development Web Server/Cassini? Does the VS Dev server have builtin AppFabric-logic or what?

I have seen some discussions touching this topic, but never got any clear answers.


Providing multiple Managed Discovery Proxies... Avoiding single point of failure


I have created a service with multiple discovery proxies, hoping that if one of them is offline the other one will do the job.


     Uri announcementEndpointAddress = new Uri("net.tcp://app1/Discovery.ServiceActivation/DiscoveryService.svc");
     AnnouncementEndpoint announcementEndpoint = new AnnouncementEndpoint(netTcpBinding, new EndpointAddress(announcementEndpointAddress));

     Uri announcementEndpointAddress2 = new Uri("net.tcp://app2/Discovery.ServiceActivation/DiscoveryService.svc");
     AnnouncementEndpoint announcementEndpoint2 = new AnnouncementEndpoint(netTcpBinding, new EndpointAddress(announcementEndpointAddress2));

     ServiceDiscoveryBehavior serviceDiscoveryBehavior = new ServiceDiscoveryBehavior();

     // add the discovery behavior at the service with the proxy address 

However I noticed the service will not host unless both Discovery Proxies services are running. Is this normal? how can do that multiple registry proxies can be susbcribed, and if one of them is down the other takes over.

I don't want to start using an NLB for this...

what is the best approch

Discovery on IIS hosted WCF service no endpoints found untill site is visited


I have a problem which makes the whole discovery (.net 4) idea useless.
I got self-hosted wcf services with discovey working so I now at least something about it, however, when I create a website with a .svc file, configure the web.config well and host it in IIS something goes wrong.

I have my windows forms client program to test the discovery and it doesn't return any endpoints, not after iisreset, not after checking twice, tree-times with long timeouts. I have to manually "visit" my .svc file in the website by browser to kind of activate it and than my client recogizes it immediately.

Because you have to visit the service first, you already have to know what the url is and makes discovery pointless in this case (and I need it so much)

What can I do about this?

Cloud Cache: Introducing the Windows Azure AppFabric Caching Service


Windows Azure AppFabric Caching service provides an easy-to-use cache in the cloud that you can employ for application data, maintaining session state, and other tasks. We'll show you how to start using the Cache service in your apps today.

Wade Wegner, Karandeep Anand

MSDN Magazine April 2011

Customizing ASP.NET 4 Session Provider for AppFabric Caching


Hi ,


I would like to customize the yet to be released ASP.NET 4 Session Providers for AppFabric Caching which supports ItemLevel staorage of Session Objects of instead of a whole Session object as a BLOB. 

How can i customize this session provider or extend it . 


thanks for your reply

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend