Main Contents

Dynamic Dot Less Css With Asp.net MVC 2

Schotime @ July 2, 2010

.NET | Comments (5)

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 [...]


book mark Dynamic Dot Less Css With Asp.net MVC 2 in del.icio.us submit Dynamic Dot Less Css With Asp.net MVC 2 to digg.com


Fluent Validation Model Binder – Asp.net MVC

Schotime @ May 11, 2009

.NET | Comments (2)

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 I [...]


book mark Fluent Validation Model Binder – Asp.net MVC in del.icio.us submit Fluent Validation Model Binder – Asp.net MVC to digg.com


Integrating xVal Validation with Linq-to-Sql

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.
After [...]


book mark Integrating xVal Validation with Linq-to-Sql in del.icio.us submit Integrating xVal Validation with Linq-to-Sql to digg.com


Transforming one-to-many Sql into Nested Class

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)
{
[...]


book mark Transforming one-to-many Sql into Nested Class in del.icio.us submit Transforming one-to-many Sql into Nested Class to digg.com


Running ASP.NET MVC Applications Under IIS6

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.
Option [...]


book mark Running ASP.NET MVC Applications Under IIS6 in del.icio.us submit Running ASP.NET MVC Applications Under IIS6 to digg.com


Dataset, Datatable to Json

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 break [...]


book mark Dataset, Datatable to Json in del.icio.us submit Dataset, Datatable to Json to digg.com


jQuery Plugin for ASP.net Ajax (jMsAjax)

Schotime @ July 1, 2008

.NET | Comments (10)

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 safely [...]


book mark jQuery Plugin for ASP.net Ajax (jMsAjax) in del.icio.us submit jQuery Plugin for ASP.net Ajax (jMsAjax) to digg.com


jQuery, AJAX, ASP.NET and Dates

Schotime @ June 19, 2008

.NET | Comments (6)

Just recently I discovered jQuery and I have to say….I’m a huge fan already. So I decided to setup my first AJAX call through jQuery and call a page method. After some playing around I finally had it. Thanks also go out to www.encosia.com. Thanks Dave. The only problem was that I could not parse [...]


book mark jQuery, AJAX, ASP.NET and Dates in del.icio.us submit jQuery, AJAX, ASP.NET and Dates to digg.com


Slow TcpClient Connection (sockets)

Schotime @ May 27, 2008

.NET | Comments (4)

Recently I have been experimenting with Sockets and trying to communicate with a windows service both with a console app and a website.
After managing to get some lines of communication going between the client and server applications, I couldn’t help but notice that it was taking a little bit longer than it probably should have. [...]


book mark Slow TcpClient Connection (sockets) in del.icio.us submit Slow TcpClient Connection (sockets) to digg.com


Binding A String to a Checkbox

Schotime @ April 2, 2008

.NET | Comments (6)

In a recent project I was attempting to list data from a configuration settings database table. The values were boolean but stored as a ‘Y’ or a ‘N’ so that only one set of SQL’s was needed to be written, as the product supports both Oracle and SQL Server.
When I first put the GridView [...]


book mark Binding A String to a Checkbox in del.icio.us submit Binding A String to a Checkbox to digg.com



Feed
6,652 spam comments
blocked by
Akismet