Author: webTiger

webTiger Logo Wide
  • Reloading Workflows With VB Expressions In A WCF Host

    Workflow

    Loading (well, reloading) workflows that include Visual Basic expressions in a WCF hosted service is not as straightforward as one might expect. If you have created your XAML workflow based on an ActivityBuilder or a DynamicActivity then the Visual Basic settings aren’t configured automatically.

    (more…)
  • 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…)
  • Using AngularJS

    This article provides an introduction to AngularJS, how to get started, and the programming structure to follow. Update: It is worth noting this was written for AngularJS, and the framework has moved on and the newer version is called simply ‘Angular’, and maintained independently. (This article is being retained for historical reasons.)

    (more…)
  • Jasmine JS Unit Testing

    The Jasmine JavaScript test framework is a simple to use solution for unit testing your heavily JavaScript-based Rich Internet Applications (RIA).

    (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…)