Using xml in your html, to configure your external scripts.
Using xml in your html, to configure your external scripts.
Expressive Configuration Files with Evaluators I’ve not played around too much with WPF, but one of the things I do like about it, is the expressive binding syntax you can use to declaratively apply binding to elements, e.g: <ListBox Name=”entryListBox” ItemsSource=”{Binding Source={StaticResource RssFeed}, XPath=//item}” /> It lead me to think, could we provide something similar, [...]
I’ve been playing around with Glimpse recently, and knowing that my favourite tech at the moment is the Managed Extensibility Framework (MEF), I decided to put together a Glimpse plugin that would allow you a glimpse (ahem) into what is going on inside your composition container. The plugin is implemented as a series of decorators [...]
An early look at RazorEngine v3 Finally, I’ve started making progress on getting RazorEngine v3 out into the wild. Last night I pushed an early version of v3 to RazorEngine’s new home at GitHub. There is still a lot of stuff I need to get done, but there is at least something you can start [...]
Using dynamically compiled assemblies generated by Razor using Sql Server CLR stored procedures.
It’s been a while since I’ve blogged any MEF stuff, and having never blogged anything to do with WCF, I thought it could be good to share something I’ve been playing with these last few days. The Premise I’m already using MEF now in quite a few production projects, but also a lot of work [...]
I’ve been doing quite a lot with Razor lately, namely still working on RazorEngine vNext, but also reading a lot of Andrew Nurse’s blog to understand what the Razor parser is doing under the hood. Turns out, its an elegant synergy of two separate parsers, one which handles code, one which handles markup. The two [...]
Facebook-style Search with Knockoutjs and JQuery I recently stumbled across Knockoutjs, a MVVM framework for Javascript that allows us to declaratively add two-way data binding to html elements with minimal markup and no tedious event registration. Now there are plenty of examples of using Knockoutjs on the project website, but what I want to see [...]
I remember looking through some of the included VS2008 samples (here), and there is quite a nice little DynamicQuery project demonstrating the ExpressionParser demo type. It wasn’t long until I started having a play with how we could take advantage of this in code. The first step was to make a few modifications to the [...]
Subtemplating with @Include ASP.NET MVC3 includes the Razor view engine, which was the starting point for the RazorEngine project. Razor views (like their WebForm counterparts) support the ability to include partial views in the parent view. In doing so, it allows you to modularise your views into logical sections. Much like the Razor view engine, [...]