Category: .NET Development

.NET development content.

webTiger Logo Wide
  • Serialising and De-Serialising Workflows (in Windows Workflow 4)

    Workflow

    There may be occasions when you’ll want to save the XAML version of a workflow (root activity) while persisting it. In my case this is normally to ensure that when I persist a workflow and later want to reload it, I’ve got the exact workflow structure I started with. This article discusses how to do just that.

    (more…)
  • Replacing ASP.NET AJAX Control Toolkit With Bootstrap and jQuery UI in MVC

    Many ASP.NET 2 projects will have utilised the AJAX Control Toolkit for more dynamic behaviours and the performance gains of partial page refreshes. A common issue with having used that toolkit when upgrading an ASP.NET 2 project to ASP.NET MVC is how to replicate the controls it offered without adding a lot of additional work to the upgrade project.

    (more…)
  • Adding Expression Editor Auto-Completion To A Re-Hosted Workflow Designer

    Workflow

    One of the clear advantages of using Visual Studio for editing workflows over a custom implementation is the readily available auto-completion features of the IDE. A similar style of auto-completion can be added to your re-hosted workflow designer by implementing your own ‘editor service’ and publishing it to the workflow designer control.

    (more…)
  • Loading Assemblies in a Re-Hosted Workflow Designer

    Workflow

    The basic re-hosted workflow designer solution described in re-hosting the workflow designer article provides a baseline for a bespoke application that can be used for designing workflows, but without some further enhancements it is quite limited. By default it will only allow you to create and edit workflows that use the Framework’s built-in set of activities.

    (more…)
  • Adding Visual Debugging to a Re-Hosted Workflow Designer

    Workflow

    The basic re-hosted workflow designer solution described in this article provides a baseline for a bespoke application that can be used for designing workflows, but without some further enhancements it is quite limited. A relatively straightforward addition to a re-hosted workflow designer is visual debugging.

    (more…)
  • Re-Hosting the Workflow Designer in Your App

    In Windows Workflow 4, basic re-hosting of Microsoft’s Workflow Designer WPF control is a simple task. Microsoft has provided a set of controls that can be inserted directly into your own application. This article will guide you through creating your own workflow editor application by re-hosting the System.Activities.Presentation.WorkflowDesigner WPF control.

    (more…)
  • Generating In-Code Representations Of An XML Schema

    Generating an in-code representation of an XML schema is pretty straight-forward, using native classes in the .NET Framework. This article covers how to read the XML, and generate the appropriate class files to support that.

    (more…)
  • REGEX Reference List

    This article provides details of some of the more complicated Regular Expressions I’ve needed to compose for various projects, etc. It is a living document that I’ll update with any complicated regular expressions I have to develop.

    (more…)
  • Simplifying the WCF Configuration Hell

    Anyone who’s done much in the way of programming in Windows Communications Foundation (WCF) will be well aware of the problems that can occur due to even minor configuration inconsistencies between client and service endpoint settings. The fact those settings are normally defined within application configuration files means that a typo, or one or more settings that are different between files can grind connectivity to a halt.

    (more…)
  • Password Hashing

    Password hashing is a valuable security feature that helps to ensure users’ passwords are encrypted at rest when saved in user data stores, such as databases. Hashing works on the principle of reliable/repeatable one-way encrypting of data.

    (more…)