Storing Data using jQuery

May 14th, 2010 No comments

A lot of developers tend to store additional data in HTML attributes which are not meant to store data. In order to solve this issue jQuery offers a data method with which you can store any data you might need.

Read more…

Categories: Javascript, Web Design Tags:

HTML 5 Presentation

May 3rd, 2010 No comments

Here is a great presentation about HTML 5 new features by apirocks.com.
You can view it by clicking here.

You have to use browsers that fully support HTML 5, like Chrome or Safari in order to take a look at all new features.

Categories: Web Design Tags: ,

ASP.NET validators and javascript can do beautiful things…

March 31st, 2010 4 comments

Here is a small recipe about making some things a little more beautiful using asp.net Validators and some javascript.

What do we need:

  • ASP.NET Validators like RequiredFieldValidator
  • jQuery
  • jQuery Tooltip
  • A nice tooltip image and some css

Read more…

Categories: ASP.NET Tags: , ,

Asp.net handlers and IRequiresSessionState

March 22nd, 2010 No comments

This is a small one :)

By default when you create a new asp.net handler (.ashx) it implements the interface IHttpHandler. If you want to access information about user and other things stored in session you need also to implement the IRequiresSessionState.

IRequiresSessionState specifies that the target HTTP handler requires read and write access to session-state values

Categories: ASP.NET Tags: ,

Compare Generated Sql Query using NHibernate, LinqToSQL, Entity Framework

February 20th, 2010 1 comment

Ayende Rahien posted a very interesting article comparing the generated sql query using NHibernate, Linq to SQL and Entity Framework (3.5 and 4.0).

Here is some interesting photos about the sql query execution plan.

NHibernate


Linq To SQL


Entity Framework 3.5 and 4.0