I have gone back in time this week to work on a legacy ISAPI application. The ISAPI application is being developed in C++ and makes use of MSXML to read an XML configuration file. Below is some code in C++ to open the XML file and read two text values, contained in element nodes: BOOL [...]
Archive for November, 2005
From C++ to C#
Posted in Everything, Software Development, tagged C#, Code on November 28, 2005 | 2 Comments »
WinFX CTP Available
Posted in Everything, Software Development, tagged WCF, WPF, WWF on November 21, 2005 | Leave a Comment »
Yippie! The a CTP version of WinFX is available for Visual Studio 2005 RTM. http://www.microsoft.com/downloads/details.aspx?FamilyId=E5376297-DA10-4FC3-967D-38C96F767FC4&displaylang=en What are you waiting for? Go download and start writing Avalon code.
Sony is still advising users to install their rootkit…
Posted in Everything, Miscellaneous, tagged Security on November 17, 2005 | 2 Comments »
Quoted from: http://cp.sonybmg.com/xcp/english/howtouse.html To install the software on this disc, you must have Administrator rights on your computer. Administrator rights are typically the default setting for home computers, however, in many work environments it is not the default setting. If you do not have Administrator rights, log out of your account and log in as [...]
VS.NET 2003 and 2005 on the same box
Posted in Everything, Software Development, tagged Visual Studio on November 16, 2005 | 1 Comment »
I have quashed a rumor that has been circulating around my office about not being able to install Visual Studio .NET 2003 and 2005 on the same machine. I had dinner with my friend Chris, this evening, who not only had both versions of VS.NET on his laptop (without any problems), but Chris also showed [...]
String.IsNullOrEmpty
Posted in Everything, Software Development, tagged Code on November 10, 2005 | 1 Comment »
C# 2.0 Tip: You no longer need to write the following code: if (null != someString && someString.Length > 0) { … } Instead you can now just write the following: if (String.IsNullOrEmpty(someString)) { … }
Avoiding Sony’s DRM Rootkit
Posted in Everything, Miscellaneous, tagged Security on November 10, 2005 | Leave a Comment »
It may not have escaped your attention that Sony has been featured in the news a lot recently, concerning proven allegations about Sony BMG installing DRM root kits on Windows computers, belonging to consumers: http://news.bbc.co.uk/2/hi/technology/4400148.stm Essentially, root kits are malicious pieces of software that are installed in the lower-levels of the Windows operating system, which [...]
Debugging ASP.NET as non-admin (LUA)
Posted in Everything, Software Development, tagged ASP.NET, Security on November 9, 2005 | Leave a Comment »
See my previous post about LUA, and why it is a good idea. Today I managed to get ASP.NET 2.0 to debug correctly, using Visual Studio .NET 2005 under LUA. Thanks to Andrew Duthie’s post. I needed to tweak my system a little, here are my steps in digest (II6 only): 1. Create a new [...]
Running as Non-Admin
Posted in Applications, Everything, tagged Security on November 9, 2005 | Leave a Comment »
I have recently converted my developer workstations over to running as non-admin. I was inspired to move over to a least-privilege user account after sitting in on a talk by Randy Hayes – president for the CMAP (Central Maryland Association of .NET Professionals) user group. The principle theme of Randy’s talk was about better protecting [...]
Mid-Atlantic Code Camp – an awesome event
Posted in Everything, Software Development, tagged Conference on November 1, 2005 | 1 Comment »
Happy November 1st, trust everyone enjoyed Halloween yesterday. I have been my usual busy self this last weekend. Saturday was host to the second Mid-Atlantic Code Camp in Reston, VA, the theme of the day was security. When it comes down to software security, I, like a lot of developers I know, tend to shy [...]
