Jan 29 2012

Refreshing an expired STSTestCert WIF certificate

Category: .Net | Applications | PersonalRory Primrose @ 18:32
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:

Jul 19 2011

Creating a simple bootstrapper - Proof of concept

Category: .Net | ApplicationsRory Primrose @ 12:00
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:

Feb 21 2011

WF Retry activity

Category: .Net | ApplicationsRory Primrose @ 06:49
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: , ,

Nov 8 2010

Hosted workflow service with content correlation

Category: .Net | ApplicationsRory Primrose @ 11:33
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: ,

Nov 3 2010

Updated CodeCampOz presentation abstract

Category: .Net | IT Related | ApplicationsRory Primrose @ 06:38
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: , ,

Oct 12 2010

Custom Workflow activity for business failure evaluation–Part 2

Category: .Net | ApplicationsRory Primrose @ 08:28
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:

Oct 1 2010

Neovolve.Toolkit 1.0 RTW

Category: .Net | Applications | My SoftwareRory Primrose @ 10:15
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: , , ,

Jul 18 2010

Speaking at CodeCampOz

Category: IT Related | .Net | ApplicationsRory Primrose @ 04:19
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: ,

Jul 12 2010

Canberra .Net Users Group Presentation next week

Category: .Net | ApplicationsRory Primrose @ 17:32
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: , , , ,

Jul 7 2010

Unity build failure recovery for DisposableStrategyExtension

Category: .Net | ApplicationsRory Primrose @ 17:41
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: