Schotime @ May 10, 2011
.NET
|
Comments (5)
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 to update the post when and if the interface changes. This plugin is based on [...]
Schotime @ May 9, 2011
.NET
|
Comments (1)
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 Mix video by Scott Hanselman. And wow what an impact. Anthony van der Hoorn (@anthony_vdh) [...]
Schotime @ May 1, 2011
.NET
|
Comments (1)
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 as there is really nothing like real world requirements to show you what a tool [...]
Schotime @ July 2, 2010
.NET
|
Comments (11)
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 until now. Integrating dot less css is pretty easy by default, as shown on its [...]
Schotime @ May 11, 2009
.NET
|
Comments (8)
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 the simplicity of the framework and the separation from the model it provided. Since then [...]
Schotime @ March 31, 2009
.NET
|
Comments (0)
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 database has a suppliers table. The info contained below is using that table with linq-to-sql. [...]
Schotime @ January 22, 2009
.NET
|
Comments (1)
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) { Response.Write(reference_number); reference_number_old = reference_number; } //Do more stuff } Sooo very very painful, and [...]
Schotime @ October 18, 2008
.NET
|
Comments (8)
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 under IIS6. What if I want extensionless URL’s? Here is a few options for you. [...]
Schotime @ July 27, 2008
.NET
|
Comments (12)
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 method or web service. There is a solution though and here it is. If you [...]
Schotime @ July 1, 2008
.NET
|
Comments (13)
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 delight. It not only accepts a raw JSON object as input for method parameters, but [...]