The Technical Adventures of Adam Weigert
-
PowerShell: Using PowerShell to Debug .NET Class Libraries
PowerShell is so wicked cool. I love it more and more each day I use it. Latest trick is using it to debug or my class libraries without having to have a supporting unit test or console project.
-
PowerShell: Convert Active Directory IADSLargeInteger to System.Int64
This PowerShell function will convert an IADSLargeInteger ComObject to a long/Int64 value. Extremely helpful when trying to work with Active Directory attributes like "pwdLastSet" or "lastLogonTimestamp".
-
SqlViewState - C# Code
using System;
-
SqlViewState - Database Code
USE ASPState
-
SqlViewState - The Path To Better ViewState Storage
A while ago, several colleges of mine were having a terrible time with the loading times of some pages of their web application. Come to find out, they were suffering from ViewState bloat. ViewState was something I always tried to stay away from in the past because of this factor. Sure, it was very helpful but I found ways around it.