Dynamic Routing with .Net4 WCF Router Service - wcf-binding

I'm looking for example for dynamic routing with .net 4 wcf service.
please help me.

Here are some resources that should help you get started:
Hello World routing sample
Bridging and Error Handling routing sample
Advanced Filters routing sample
Dynamic routing sample
Advanced error handling routing sample
Routing topic on MSDN -- full coverage of services, contracts, filters, and scenarios
Routing Rules! Blog -- the entire blog is about the routing service and the different scenarios it enables. Take a read through all the blog posts for sure.
Building a WCF Router, Part 1 on MSDN Magazine
Building a WCF Router, Part 2 on MSDN Magazine

Related

Web API vs Window Communication Foundation

I read bunch of articles about SOAP and REST(WCF and Web API).
And after all the reading I end up with understanding that WCF is more powerful, but lots of it's functionality can be implemented in Web API. For example for duplex communication in web API we can use SignalR or sockets. WCF gives you more security with WS-Security, but in Web API you can use HTTPs
So what can WCF give you that Web API cant, except working with lots of different protocols and data formats?
WCF supports more protocols and transports than Web Api, some of then very useful, like SOAP, FTP and MSMQ.
Here you have a table comparing both: https://msdn.microsoft.com/en-us/library/jj823172.aspx
Both has their own purposes, and the table above can help you to choose.
Both of them are using for different scenario WebApi uses full features of Restful services like Uri caching and various other features .Check the below difference I hope it will help you

WCF WSDL Page Missing

I have been following along with the Aaron Skonnard videos on creating a WCF service. I have completed the tutorial found here and when finished the WSDL page that would normally be available to a consumer of this service is not found (page states that "Endpoint is not found").
I have found many references to this issue including adding a 'mex' endpoint, adding httpGetEnabled, etc. but nothing seems to work. I believe this is because the tutorial removes the service files from the website code behind and instead uses a reference to another project.
I like the way the service is created with this tutorial but need to know how to get this WSDL page to display properly so others can consume my service. Is this no longer the correct way to create services in .NET 4?
I don't think REST based services (WebAPI) create a WSDL at all. I beleive the WSDL is only for the SOAP based WCF services.

Tutorial on consuming WCF 4.0 with Asp.net in Vs2010

I want a good tutorial with WCF on VS2010. This service will be consumed in an ASP.Net Mvc 2/3.
The development will be done in VS2010.
This is a good start, but still not exactly what I need.
Can anyone recommend a good tutorial?
The link you have provided is very good, it has shown all the steps of creating and consuming WCF service. The only difference in your case is, the client. You want consume WCF service in ASP.Net MVC, and in the tutorial the client is console app.
Following are some of the links which might help you
Scott Guthrie's Nerd Dinner walkthrough to get a really good understanding of MVC basics.
How to Configure wcf service programatically
Blogs on how to write a Layered ASP.NET MVC Applicaiton with a WCF Service
Part I (General Concepts)
Part II (Building a Repository)
Part III (Building The Service)
Part IV (Using The Service)
Hope this helps you.

WCF 4 Routing service wif

Does anybody know would be the configuration of the routing service for one scenario like the one described here http://zamd.net/2011/02/08/silverlight-claim-based-security/?
Regards
My answer is not complete since I have not fully tested yet. However the following link seems interesting : WCF4 routing with WIF
Also this

Detailed guidance about WCF Security

Guys, I'm looking for some detailed guidance about WCF Security. I've read Juval Lowy's book and WCF Security Guide, but I'm still looking for verbose manual.
I'm especially interested how some WCF security options influence on SOAP messages (cause clients of my services aren't .NET applications).
Could you point to any similar books/blogs/articles?
You have already read two main sources. You can also check official WCF Service Interoperability site. It contains some white papers which are not related only to security. But if you really want to dive deep into WCF interoperability, learn to use Fiddler, WCF tracing and message logging and study WS-Security specifications.
I also recommend Yaron Naveh's blog.