Tag Archives: .NET
Creating Your Own Glimpse Plugin
Last weekend I created a Glimpse plugin for PetaPoco. It was surprisingly easy. In this post I’ll show you how to create your own. Please note as Glimpse is still in Beta, this example may change. but I will endeavour … Continue reading
A Glimpse into PetaPoco
Last week I blogged about upcoming performance statistics that enable you to see all the Sql’s that were executed by PetaPoco in the current request. It was also just over a week ago that I learned about Glimpse from this … Continue reading
Getting Back In Touch With SQL
I’ve always used native SQL for my applications. Approximately a year or so ago I finally decided to give NHibernate a look and see what all the hype was about. I gave it a test run on a new project … Continue reading
Dynamic Dot Less Css With Asp.net MVC 2
I have been having a look at the best way to theme a asp.net mvc website in the last few weeks. I heard about dot less css late last year but hadn’t had time to integrate it into a project … Continue reading
Fluent Validation Model Binder – Asp.net MVC
A few weeks ago I found the Fluent Validation framework by Jeremy Skinner. I needed to conditionally validate a model depending on an application setting. eg. Description field mandatory / not mandatory depending on the clients business requirements. I loved … Continue reading
Integrating xVal Validation with Linq-to-Sql
In a previous post I showed you how you can use xVal and the IDataErrorInfo class to add validation to your Asp.net MVC website. In this post I will extend that to Linq-to-Sql and the classes it generates. The northwind … Continue reading
Transforming one-to-many Sql into Nested Class
Back in the days of Classic ASP, when you had a one too many relationship displaying the data was pretty painful. You would do things like var reference_number_old = "$##%@"; while (recordsExist) { reference_number = String(rs(0)); if (reference_number_old != reference_number) … Continue reading
Running ASP.NET MVC Applications Under IIS6
Yes…Finally…I have full control of my HTML again, but am still able to work with a great language like C#. MVC is here and its great. I’m absolutely loving it. But how the heck do you get it to work … Continue reading
Dataset, Datatable to Json
After my previous posts about returning data to the client as a JSON object, I decided to have a go at returning a generic Datatable/Dataset. This however is not as easy as simple returning a Datatable in your code behind … Continue reading
jQuery Plugin for ASP.net Ajax (jMsAjax)
After my recent post on jQuery, JSON and dates in asp.net I decided that there must be a better solution so I set out writing my first jQuery plugin. And after a few hours I had it working to my … Continue reading