Archive

Archive for the ‘Tips and Tricks’ Category

Forms Authentication and Session Timeout

May 6th, 2009 No comments

Ran into an issue on a website where the Session was timing out yet the forms auth ticket was still valid which was causing errors. Here is one solution:

http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry

The GU also mentions some of this in the post and in digging through all the comments.
http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx

Categories: Programming, Tips and Tricks Tags: ,

Membership, Roles and Profiles

May 6th, 2009 No comments

Recently i’ve been researching the default providers in .NET for Membership, Roles and Profiles and came across this code which provides a custom implementation of the above with simple db structures behind them. http://altairiswebsecurity.codeplex.com/

Quick Example on Expressions vs. Reflection

May 5th, 2009 No comments
Categories: Tips and Tricks Tags:

Copy vista installation to larger hard drive

February 25th, 2009 No comments

Today I was investigating options in robocopy to move files from one folder to the next while preserving directory timestamps (/DCOPY:T) and came across something that may come in handy for those of you that tend to run out of space on primary hard drive.   It only requires your vista installation CD and no other tools.

http://geekswithblogs.net/lorint/archive/2006/12/07/100596.aspx

Categories: Tips and Tricks Tags: ,

Out-of-memory exception in Visual Studio

February 24th, 2009 No comments

There is a limit in 32-bit windows to only use up to 2GB of RAM. This site lists a hack to fix it both in the boot.ini (XP) and also in Visual Studio, although I haven’t been successful with the /LARGEADDRESSAWARE command yet.

http://stevenharman.net/blog/archive/2008/04/29/hacking-visual-studio-to-use-more-than-2gigabytes-of-memory.aspx

Added Google Friend Connect

December 15th, 2008 No comments

Removed Added Google Friend Connect from to the site this weekend. Not sure exactly how it works, etc. But, time will tell I suppose.

Missing “Open from SourceSafe” in Visual Studio 2008

August 18th, 2008 No comments

When you install visual studio 2008 along side Visual Source Safe 2005 you will need this update to enable the Open from Source Safe option from within visual studio.

http://msdn.microsoft.com/en-us/library/ms181038(VS.80).aspx