| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
33 Articles match "How To","WCF"
| Related DevelopMentor Courses | MORE | | Roll Your Own REST-ful WCF Router Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. In fact, using the BasicHttpBinding with AspNetCompatibility enabled on the built-in WCF router results in a somewhat cryptic error : “Shouldn’t allocate SessionChannels if session-less and impersonating.”. Technical WCF DevelopMentor Courses - Tuesday, April 24, 2012 Building Scalable and Secure WCF Services The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Nevertheless, there is one wrinkle: by default the WCF HTTP bindings enable Keep-Alive , which can result in server affinity and thereby impede scalability in a load-balanced environment. Notice how the handshake takes place each time the service is called. DevelopMentor Courses - Monday, June 18, 2012 Certificate Validation and Setting up Service Bus 1.0 Beta for Windows Server There is a good walkthrough of the new beta in the MSDN documentation here including how to install it. Well if you install the beta on a Windows Server 2008 R2 box and you actually develop on another machine then there’s a couple of things not mentioned in the documentation that you need to do (having previously spent long hour glaring at certificate errors allowed me to resolve things pretty quickly). Certificate validation has a number of steps to it for a certificate to be considered valid: The issuer of the cert must be trusted. for Windows Server. DevelopMentor Courses - Wednesday, July 25, 2012 |
94 Articles match "How To","WCF"
| The Latest from DevelopMentor | MORE | | Side by side versioning of workflow services is the capability to version workflows and workflow instances. You get to choose what you want to do, either keep running existing instances with their original workflow definition or upgrade them to the latest workflow definition. In the previous blog post I described how to upgrade existing workflow instances to run with the last version. However there are cases where that is not what you want, instead you want to deploy multiple version of the same workflow side by side and use the original version for each instance. Enjoy! WF4 WF4.5 The Problem Solver - Thursday, October 11, 2012 Side by side versioning of workflow services is the capability to version workflows and workflow instances. You get to choose what you want to do, either keep running existing instances with their original workflow definition or upgrade them to the latest workflow definition. In the previous blog post I described how to upgrade existing workflow instances to run with the last version. However there are cases where that is not what you want, instead you want to deploy multiple version of the same workflow side by side and use the original version for each instance. Enjoy! WF4 WF4.5 The Problem Solver - Thursday, October 11, 2012 Certificate Validation and Setting up Service Bus 1.0 Beta for Windows Server There is a good walkthrough of the new beta in the MSDN documentation here including how to install it. Well if you install the beta on a Windows Server 2008 R2 box and you actually develop on another machine then there’s a couple of things not mentioned in the documentation that you need to do (having previously spent long hour glaring at certificate errors allowed me to resolve things pretty quickly). Certificate validation has a number of steps to it for a certificate to be considered valid: The issuer of the cert must be trusted. for Windows Server. DevelopMentor Courses - Wednesday, July 25, 2012 | -
| The Best from DevelopMentor | MORE | - How to build a Development/Test/Demo CA
So I ended up running Windows Cerificate Services which proved to be an easy to use, robust solution. just had to rebuild my Test CA (on Hyper-V) so I thought I'll document the important steps (for self-reference and whoever might be interested). They usually expire on the very day where you have to do an important demo. Now by default there is an entry pointing to the CA's Netbios name. If this network location cannot be accessed, many applications and frameworks will fail certificate validation (the default WCF binding security settings e.g.). www.leastprivilege.com - Thursday, August 14, 2008 - Roll Your Own REST-ful WCF Router
Recently I’ve been tasked with building a WCF routing service and faced the choice of whether to go with the built-in router that ships with WCF 4.0 , or to build one from scratch. However, as the MSDN documentation for the WCF Router states, “ The Routing Service does not currently support routing of WCF REST services. In fact, using the BasicHttpBinding with AspNetCompatibility enabled on the built-in WCF router results in a somewhat cryptic error : “Shouldn’t allocate SessionChannels if session-less and impersonating.”. Technical WCF DevelopMentor Courses - Tuesday, April 24, 2012 - Building Scalable and Secure WCF Services
The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity. Both BasicHttpBinding and WebHttpBinding, however, are sessionless and allow you to call a service multiple times without concern for which physical server responds to the call. Nevertheless, there is one wrinkle: by default the WCF HTTP bindings enable Keep-Alive , which can result in server affinity and thereby impede scalability in a load-balanced environment. Notice how the handshake takes place each time the service is called. DevelopMentor Courses - Monday, June 18, 2012 - WF4&WCF and message correlation
In the previous blog posts, here , here and here , I demonstrated how to use WCF from WF4. This same some more about sending multiple messages to the same workflow, AKA Workflow Correlation. One of the ugly parts of Windows Workflow Foundation 3 was the message correlation part when you used WCF to send multiple messages to the same workflow. When using WF3 you where forced to use one of the context bindings like BasicHttpContextBinding or WSHttpContextBinding. Tags: NET Workflow WCF DevCenter WF4 VS2010 Much better! Conclusion. The Problem Solver - Wednesday, September 2, 2009 - Using the WCF Web API in an ASP.NET MVC application
Warning: This post is based on a prerelease version of the WCF Web API In my previous blog post I showed how to add to and use the new WCF Web API a console application using NuGet. Now that works but it is far more likely that you will want to be using IIS and host the REST service as part of a web application. So in this blog post I am going to show how to do the normal thing I Created an ASP.NET MVC 3 app to host the REST service. Just like in this post we can add a reference to the WCF Web API to our project. The Problem Solver - Monday, June 13, 2011 - WCF Data Services versus WCF Soap Services
Someone recently asked me this question: When a company that has been using 2 tiers wants to move to n-tier, what are the considerations for choosing WCF and STEs [or Trackable DTOs] vs. WCF Data Services? This is a great question because it relates to a recent re-alignment of what used to be called “ADO.NET Data Services” (code-named Astoria) under the umbrella of Windows Communication Foundation (WCF), as well as the renaming of.NET RIA Services to WCF RIA Services. and WCF Data Services 4.0 Sweet. in Visual Studio 2010. Tony and Zuzana's World - Tuesday, April 13, 2010 - Custom WCF Credential Types
Every once in a while the question comes up how to extend WCF with custom credential types. It turns out that most of the time people don’t really want to invent custom tokens or credential types, but rather want to extend username/password style of credentials (e.g. Unfortunately the UserName token does not support this type of extensibility but there are several options to accomplish this: If your extensibility requirements are very simple you could try to encode all the information into the username and password fields of a UserName credential. www.leastprivilege.com - Monday, March 9, 2009 %>
| | |