Categories
- Active Directory
- Apache
- ASP.Net
- Attributes
- Batch Files
- C#
- FireFox
- Generics
- IIS
- Internet Explorer
- JavaScript
- jQuery
- LINQ
- Microsoft AJAX
- Microsoft Office
- Microsoft TechNet
- MS Build
- MS SQL Server
- MVC
- Regular Expressions
- SSIS
- Subversion
- T-SQL
- Team Foundation Server
- This and that
- Visual Studio
- WCF
- Web Services
- Windows 7
- Windows Server 2008 R2
- WinForms
- WordPress
Archives
- January 2012
- October 2011
- September 2011
- August 2011
- June 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- May 2006
- March 2006
- January 2006
Meta
Monthly Archives: October 2007
Quickly Clone a Serializable Object in C#
Here’s a quick way to get a clone of your serializable object in C#: public static object GetClone(object cloneThis) { BinaryFormatter bf = new BinaryFormatter(); MemoryStream ms= new MemoryStream(); bf.Serialize(ms, cloneThis); ms.Flush(); ms.Position = 0; return bf.Deserialize(ms); }
Posted in C#
5 Comments
Fix FireFox SLOWdown on Vista while Debugging localhost
If you use FireFox to debug on Windows Vista, you most likely have noticed how ridiculously slow it is rendering localhost requests versus Internet Explorer. No, this isn’t a conspiracy, just an issue with IPv6, FireFox, and Windows Vista. To … Continue reading
Posted in FireFox, Visual Studio
Leave a comment
Format Document – The Quick HTML and Code Organizer
I have encountered a lot of bad HTML formating in my days, and one quick way to organize the HTML files via Visual Studio 2005 is to use the Format Document option from the Edit menu. One thing about the … Continue reading
Posted in Visual Studio
Leave a comment
Regex to Clean Out HTML from Text
Ahh, the power (and sometimes slight confusion) of regular expressions. This seems to work well to remove HTML from text: string htmlstring = { some chunk o html infested text }; Regex cleanOutHtml = new Regex(@”
Posted in C#, Regular Expressions
1 Comment
Change Internet Explorer’s “View Source” Editor
To change the default editor for Internet Explorer when you right click on a page and choose “View Source”, do the following: 1) Open up regedit 2) Browse to HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Internet Explorer\ 3) If they don’t … Continue reading
Posted in Internet Explorer
Leave a comment
Recycle an Application Pool from the Command Line
Sometimes it is a whole lot nicer to recycle the specific Application Pool of concern rather than recycling IIS with “iisreset”. There is a handy script in %windir%\system32 called iisapp.vbs and you can just run : D:\>C:\WINDOWS\System32\iisapp.vbs /a “My Pool” … Continue reading
Posted in IIS
Leave a comment
October 2007 Issue of TechNet Magazine: IT Toolbox
The October 2007 issue of TechNet Magazine is out on the website. Check out my IT Toolbox column here: http://technet.microsoft.com/magazine/3e23e94e-804a-4a57-8b32-c1a273899a14 In this issue I covered: PowerShell Analyzer More Powerful Scripting Auslogics Disk Defrag Defrag Disks FileZilla Transfer Files PE Explorer Edit Executables Endpoint Security (Book … Continue reading
Posted in Microsoft TechNet
Leave a comment