How to always have drivers around

July 24, 2008 at 11:54 PMalex

Consider that when installing the devices on new computer or just connecting a printer to another computer, one could not find the appropriate in the miriad of the CD-ROM disks. You will save a lot of time by creating a folder called Drivers on drive C: of your primary computer and every time you buy a new device, copy all drivers for operating system to that folder. This way you would always be able to locate the approriate driver very quickly.

Posted in:

Tags:

Unit testing user controls in ASP.NET applications

May 30, 2008 at 4:43 PMalex

 

After trying several times to start writing a testing framework for UI layer in one of my applications, which I should acknowledge were not really successful, I finally came across the Scott's blog post on best practices related to reusing the user controls between the projects at http://msdn.microsoft.com/en-us/library/aa479564.aspx. The trick is to reuse the user control from the application in another project, which implements the test harness. In just under an hour, the working prototype was created in Visual Studio 2005. And this does not require any third-party tools such as NUnitAsp and could be build from the scratch, which I prefer over the bloating the code with unnecessary dependencies on the external tools. Alright, so that means that the work can be done in truly test-driven approach and result in to the higher quality of code.

Posted in: Development

Tags:

New blog up and running

April 24, 2008 at 12:45 AMAdministrator
I've decided to migrate to new a blog engine and retire BlogX. It was very interesting to run BlogX all these two years, be able to port the engine to .Net framework 2.0 and add some custom code to tailor it to my specific needs. Now its time to have a better standards compatibility, add a new features to the blog, support RSS 2.0 feeds and use community recognized blog engine.

Posted in: Development

Tags:

Html overflow problem

November 2, 2007 at 12:03 AMAdministrator

Recently, I was challenged by the task of managing the overflow of the post on this site, for example in the following post: Visual Studio 2005 Class Diagram for Web Site. The problem is that there is no easy way to shorten the text and add ellipsis to the end, because the actual html of the post has complex structure. So, I decided to parse the code to a graph and work on this graph until it satisfies the condition. In this case, the condition was to have the length of the source not greater than some constant N, for example, N=1000 characters. So, I wrote the following class and validated it using several test cases.

More...

Posted in: Development

Tags:

Genesis Turn It On Again Tour

October 4, 2007 at 11:56 PMAdministrator

Just got back from the Genesis concert at United Center called Turn It On Again Tour. Phil Collins rocks! The performance was awesome, sound was perfect and visuals are excellent. He performed the best songs including Invisible Touch, Mama, Turn It On Again of course and many other well-known songs.

Posted in: Entertainment

Tags:

Visual Studio 2005 Class Diagram for Web Site

October 4, 2007 at 11:56 PMAdministrator

If you try to add class diagram to Web Site in Visual Studio 2005 and create a diagram of code-behind classes of web controls, the following messages will appear preventing from creating the diagram for such classes:

Visual Studio allows only classes in Add_Code folder and its subfolders added to class diagram and to manipulate such classes. This is a limitation in current release of Visual Studio because development team decided to take an opportunistic approach and limit the functionality of class designer only to static classes, not dynamic classes such as code-behind ones in web site projects.

More...

Posted in: Development

Tags:

Vista ReadyBoost

February 17, 2007 at 11:54 PMalex

You asked... Vista ReadyBoost requirements etc at http://blogs.technet.com/james/search.aspx?q=readyboost&p=1

Posted in:

Tags:

Blogging around CLR

February 17, 2007 at 11:53 PMalex

Posted in: Development

Tags:

Microsoft Windows Vista Signature Edition

February 17, 2007 at 12:10 AMAdministrator

Still didn't get my own copy of the Vista, but found this one and was thinking it might be worth to get this one:

image

PS. http://www.gotw.ca/publications/C++CLIRationale.pdf

Posted in: Development

Tags:

Mystic Microsoft

February 15, 2007 at 11:48 PMAdministrator

Interesting book by Kraig Brockschmidt: Mystic Microsoft: A Journey of Transformation in the Halls of High Technology

HTML version: http://www.mysticmicrosoft.com PDF version: http://www.mysticmicrosoft.com/MysticMicrosoft_ebook.pdf

Posted in: Development

Tags: