A very handy function to grab any query string using Javascript:
A very handy tool to compress the annoying webresources.axd script. http://madskristensen.net/post/Compress-WebResourceaxd-in-ASPNET.aspx
Enterprise Library is a very useful component developed by Microsoft to help developers solving many common tasks. One that I use a lot is the data access block, which allows you to run data access query in just one line of code! (Saves all the work in writing a command and pass to a reader, etc).
How to convert data to xml file? Here is a very useful command to convert dataset or datatable to an XML Document:
When using ORM, should always keep in mind that only one object scope is used. The example came with the package doesn't really explain this well. Should always declare a page_init call which declares the object scope and store it in session and try to keep using it for any business operations:
For a method or properties to be overridable, it must has a virtual property in its base class set as true as well, is final must be set as true. To determine whether a method is overridable, it is not sufficient to check that IsVirtual is true.
I stumbled upon an error when deploying a web application onto IIS7 running on Vista. After days of trying to solve, it's actually due to the fact that the application is set to medium trust but it actually needs Full Trust due to using Reflection in the code.
Telerik's RadUpload control doesn't come with many documentation. The default comes with multiple file slots, with add and delete button but sometimes we might only need just one uploader.
Somehow Javascript complaint about Unterminated string constant when I tried to add a line break (\n) into a string variable. If viewed in source, it looks alright. After all, do something like that fix that problem:
When using ORM, after we have setup the business objects, it's useful if we create some generic methods which can be used in many places.