:::: MENU ::::

Friday, May 22, 2009

I’ve had several people ask me lately about encrypting data in .NET.  I’m not sure why the question has come up a lot recently, but it’s definitely something good to know if you have any sensitive data that needs to be stored.  .NET provides two main encryption roads that you can travel down including symmetric encryption and asymmetric encryption.  Symmetric encryption relies upon a private key to encrypt and decrypt while asymmetric...

Thursday, May 21, 2009

It’s the next gen of next-gen applications. Download the Visual Studio 2010 Professional and Team System Betas and see for yourself how they’ve been designed inside and out to give you every advantage in creating groundbreaking applications — faster and easier than ever. Professional Visual Studio 2010 Professional Beta 1 – Web Installer Visual Studio 2010 Professional Beta 1 – ISO Team System Visual Studio Team System 2010 Team Suite Beta...

Wednesday, May 20, 2009

.Net Framework 4.0 provides us with a new class called Lazy<T>. As documentation sais then Lazy<T> provides support for several common patterns of lazy initialization, including the ability to initialize value types and to use null values. So it is construct that helps us implement lazy loading. I wrote a little code example on Visual Studio 2010 that illustrates how to use Lazy<T>. static void Main(string[] args){   ...

Tuesday, May 19, 2009

Unit Testing ASP.NET? ASP.NET unit testing has never been this easy.Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers.The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and Ivonna, the Isolator add-on for ASP.NET unit testing, for a bargain price.Typemock Isolator is a...
Unit Testing ASP.NET? ASP.NET unit testing has never been this easy. Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers. The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and Ivonna, the Isolator add-on for ASP.NET unit testing, for a bargain price. Typemock Isolator...

Friday, May 8, 2009

Sometimes you have to load jQuery, but you don’t know if it has already been referenced somewhere else in the website.  This tends to happen if you have a custom web control, delivered in an assembly, that relies on jQuery. This code has been ripped out of my application, and may have a typo or three, but it gives you the general idea.   var jQueryScriptOutputted = false; function initJQuery() {        ...

Friday, May 1, 2009

I'm editing in a link to Adam Machanic's blog on this. In the comments on this topic here you will see there are imperfections found in my methods. Reading Adam's blog shows this in more detail. http://sqlblog.com/blogs/adam_machanic/archive/2009/04/26/faster-more-scalable-sqlclr-string-splitting.aspx Thanks Adam! I wrote this short CLR split function awhile back based on a few other articles I read when 2005 was released. I decided to play...