I have been using WIF for the last couple of years on a few of my projects and the STSTestCert gets a bit of a workout on my development machines. This certificate is only valid for 12 months. All the applications that use this test certificate will fail to execute authentication requests once this certificate has expired. Here is the easiest way to renew the certificate. Open up MMC and attach the Certificate Manager plugin for the local machine. Navigate to Certificates (Local Comput...
[More]
Tags: WIF
3e2f69a8-2b0a-4339-9ed1-82f2ea977a44|0|.0
The previous post discussed the pain points of putting validation into the UI sequence of an MSI package that require elevation. The outcome of some research was that a bootstrapper was the best way to get around this. To recap, my design requirements for a bootstrapper solution were: Seamless
Visual Studio integration and compilation Bootstrapper must be completely self-contained Bootstrapper must be quiet (no
UI) and simply execute the MSI package Automatically elevate the packaged MSI...
[More]
Tags: WiX
7523f398-72c3-40bb-8240-8dc920dd4089|0|.0
One of the tools missing out of the WF toolbox is the ability to run some retry logic. Applications often have known scenarios where something can go wrong such that a retry of the last action could get a successful outcome. One such example is a connection timeout to a database. You may want to try a couple of times before throwing the exception in order to get more success over time. The specific scenario I am addressing is a little different. I have created some custom MSF providers that wil...
[More]
Tags: WF, WCF, Sync Framework
2908e021-73fc-4a73-8c35-ccd3243687cf|0|.0
Content correlation in hosted WF services seems daunting but is surprisingly simple to use with the available designer support. Content correlation uses data from the workflow to link (correlate) multiple WCF service operations to the same hosted workflow instance. Content correlation is different to context correlation where WCF communication down at the binding level handles correlation. There is unfortunately a lack of detailed examples available on how to get content correlation to work. Thi...
[More]
Tags: WCF, WF
251f14a3-5c4f-4046-8dfa-a18cf0022283|2|4.5
The preparations for my CodeCampOz presentation have come a long way as has my understanding of the subject matter. I have tweaked my presentation abstract as a result. The new abstract is the following: Not a WIF of federation The Windows Identify Foundation (WIF) provides the latest Microsoft implementation for working in the claims-based identity space. WIF has particular strengths in providing federated security for systems that target users across multiple security domains, multiple ...
[More]
Tags: WCF, WIF, ASP.Net
6e903ae5-774d-49a6-aa17-e362147668f7|1|5.0
The previous post provided the high level design requirements for a custom WF activity that evaluates business failures. This post will provide the base classes that will support the custom WF activity. The first issue to work on is how to express a business failure. The design requirements indicated that a business failure needs to identify a code and a description. The design also defined that the code value must be generic in order to avoid placing an implementation constraint on the consumi...
[More]
Tags: WF
4bfcfcbc-a8ae-4ecd-88b8-0073eb090167|0|.0
I have finally marked my Neovolve.Toolkit project as stable for version 1.0. It includes the recent work I have done for WF4. The toolkit comes with the binaries, a chm help file for documentation information and xml comment files for intellisense in
Visual Studio. You can download the toolkit from the project on
CodePlex. The following tables outline the types available in the namespaces across the toolkit assemblies. The information here is copied from the compiled help file. Neovolve.Toolkit.dll ...
[More]
Tags: WCF, ASP.Net, Tracing, Unity
25abfddf-f85e-466a-ba92-51062df28ece|0|.0
Mitch has just posted the agenda for CodeCampOz that is running in November. Looks like it will be a really good mix of information being presented this year. I’ll be running a session on Windows Identity Framework and how to use it without federation. Here is the abstract for my session. Not a WIF of federation The Windows Identify Framework (WIF) provides the latest Microsoft implementation for working in the claims-based identity space. WIF has particular strengths in providing feder...
[More]
Tags: WCF, ASP.Net
34d1f45d-afcf-4aff-8947-a678a53206b3|0|.0
I’m going to be presenting at this months .Net Users Group in Canberra. The topic will be Unity injection for ASP.Net and WCF with some Unity extensibility added in as well. Here is the abstract for the session. Unity is the Microsoft Patterns and Practises implementation of an inversion of control (IoC) container. Using IoC containers facilitates the dependency injection pattern which helps to decouple code from its dependencies. A common way to implement IoC in ASP.Net and WCF servic...
[More]
Tags: ASP.Net, Dependency Injection, WCF, Extensibility, Unity
adca2959-d91a-466c-8857-68b2528f67e6|0|.0
I posted recently about my Unity extension that disposes build trees when a container tears down an instance it previously created. The extension makes an assumption that a Unity build operation will either succeed completely or fail completely. Normally you expect this to be the case. I have however now come up with an edge case. I am writing another Unity extension that adds support for injecting proxy instances as dependencies. Part of this design allows for custom proxy handlers to be inje...
[More]
Tags: Unity
538a36ef-3ddd-422c-b8dc-a047e6dad441|0|.0