.NET news » Testing Testing Rss Feed

ZeroMQ via C#: Introduction

An Introduction to ZeroMQ, a very lightweight message queuing open source software.Then exploring and testing in a very easy way its main communication patterns using C#.
4 Nov 2012, 06:26:00   Source: ZeroMQ via C#: Introduction   Tags: Testing

Numerics: Testing Math Functions in Microsoft Cloud Numerics

Suppose you are writing a computer program that calls a library to compute sin(x). You'll get a numeric answer containing up to 16 decimal digits, but how do you know the answer is correct? Learn how the math functions in the new Microsoft Cloud Numerics math library are tested.
30 Sep 2012, 18:00:00   Source: Numerics: Testing Math Functions in Microsoft Cloud Numerics   Tags: Testing

Testing and the CODE Framework

The CODE Framework provides a set of tools for developing n-tier, service-oriented applications. In addition, there is a set of recommended patterns and practices that provide guidance in enabling developers to achieve Rapid Application Development, Contract-First implementation, and a system that allows you to change a contract without breaking an implementation. However, one question which has been repeatedly asked throughout our trainings and seminars is, “How do I Unit Test when I’m using the CODE Framework?” This article will examine the question and attempt to answer it.

15 Aug 2012, 18:00:00   Source: Testing and the CODE Framework   Tags: Testing

Enabling Bitlocker on Microsoft Windows 7 Professional 64 Bit

Recently I added a new thin laptop to the fleet of Windows 7 laptop and workstations that I have in active use. The other devices run Windows 7 Ultimate 32 bit with Bitlocker security encryption enabled. However I ran into a problem getting Bitlocker to work on the 64 bit version of Windows 7 Professional.

Yes I know I should not be using Windows and I also have plenty of iDevices and other Apple products lying around. Likewise to the security pros and security arm-chair quarterbacks I know I should not be using Bitlocker, instead using Truecrypt of which I have done some testing and may migrate too in the future along with self-encrypting device (SED). However lets stay on track here ;).

Image courtesy of Lenovo.com

The problem that I ran into with my new Lenovo X1 was that it came with Windows 7 Professional 64 bit, which has a few surprises when trying to turn on Bitlocker drive encryption. Initializing and turning on the Trusted Platform Module (TPM) management was not a problem, however for those needing to figure out how to do that, check out this Microsoft TechNet piece.

The problem was as simple as not having a tab and easy way to enable Bitlocker Drive Encryption with Windows 7 Professional 64 bit. After spending some time searching around various Microsoft and other sites to figure out how to hack, patch, script and do other things that would take time (and time is money), it dawned on me. Could the solution to the problem be as simple as upgrading from the Professional version of Windows 7 bit to Windows 7 Ultimate?

Windows 7 image courtesy of Amazon.com

The answer was going to the Microsoft store (or Amazon among other venues) and for $139.21 USD (with tax) purchase the upgrade.

Once the transaction was complete, the update was automatically and within minutes I had Bitlocker activated on the Lenovo X1 (TPM was previously initiated and turned on), a new key was protected and saved elsewhere, and the internal Samsung 830 256GB Solid State Device (SSD) initializing and encrypting. Oh, fwiw, yes the encryption of the 256GB SSD took much less time than on a comparable Hard Disk Drive (HDD) or even an HHDD (Hybrid HDD).

Could I have saved the $139.21 and spent some time on work around? Probably, however as I did not have the time or interest to go that route, however IMHO for my situation it was a bargain.

Sometimes spending a little money particular if you are short on or value, your time can be a bargain as opposed to if you are short on money however long on time.

I found the same to be true when I replaced the internal HDD that came with the Lenovo X1 with a Samsung 256GB SSD in that it improved my productivity for writing and saving data. For example in the first month of use I estimate easily 2 to three minutes of time saved per day waiting on things to be written to HDDs. In other words 2 to three minutes times five days (10 to 15 minutes) times four weeks (40 to 60 minutes) starts to add up (e.g. small amounts or percentages spread over a large interval add up), more on using and justifying SSD in a different post.

Samsung SSD image courtesy of Amazon.com

If your time is not of value or you have a lot of it, then the savings may not be as valuable. On the other hand, if you are short on time or have a value on your time, you can figure out what the benefits are quite quickly (e.g. return on investment or traditional ROI).

The reason I bring the topic of time and money into this discussion about Bitlocker is to make a point that there are situations where spending some time has value such as for learning, the experience, fun or simple entertainment aspect, not to mention a shortage of money. On the other hand, sometimes it is actually cheaper to spend some money to get to the solution or result as part of being productive or effective. For example, other than spending some time browsing various sites to figure out that there was an issue with Windows 7 Professional and Bitlocker, time that was educational and interesting, the money spent on the simple upgrade was worth it in my situations.

Ok, nuff said for now

Cheers Gs

Greg Schulz - Author Cloud and Virtual Data Storage Networking (CRC Press, 2011), The Green and Virtual Data Center (CRC Press, 2009), and Resilient Storage Networks (Elsevier, 2004)

twitter @storageio

All Comments, (C) and (TM) belong to their owners/posters, Other content (C) Copyright 2006-2012 StorageIO All Rights Reserved

read more

17 Jun 2012, 13:14:00   Source: Enabling Bitlocker on Microsoft Windows 7 Professional 64...   Tags: Testing

ASP.NET: Unit Testing in the Navigation for ASP.NET Web Forms Framework

The article will demonstrate the benefits of having a consistent approach to navigation and data passing in a Web Forms application, showing how this bears fruit when building Single-Page Interfaces. Although all the current buzz is around ASP.NET MVC, it will present a compelling argument for using the Navigation for ASP.NET Web Forms project I host on codeplex together with standard ASP.NET Ajax and DataBinding.
31 May 2012, 18:00:00   Source: ASP.NET: Unit Testing in the Navigation for ASP.NET Web...   Tags: Testing

ObjectPresenter - How to Generate an Object's Testing GUI from a Given Object

In this article, I explain step by step, how we can create a WPF custom control that gets an object and, generates a GUI that enables editing that object's properties and invoking that object's methods.
10 May 2012, 17:42:00   Source: ObjectPresenter - How to Generate an Object's Testing GUI...   Tags: Testing

Simulated Annealing and Testing

James McCaffrey explores an artificial intelligence technique based on the behavior of cooling metal.
2 Jan 2012, 18:00:00   Source: Simulated Annealing and Testing   Tags: Testing

Agile C++: Agile C++ Development and Testing with Visual Studio and TFS

One aspect of Agile development includes writing automated tests, but that gets complicated when your project mixes C# and C++ code. We'll show you how one team at Microsoft uses Visual Studio and Team Foundation Server to streamline native and managed development.
31 May 2011, 19:00:00   Source: Agile C++: Agile C++ Development and Testing with Visual...   Tags: Testing

Diffusion Testing

The doctor prescribes a little-known technique that—under the right circumstances—lets you automatically generate new test case data from existing test cases that yield a pass result, saving time and work.
2 Mar 2011, 18:00:00   Source: Diffusion Testing   Tags: Testing

Unit Testing of Javascript Functions

This article is all about Unit Testing of Javascript Functions
13 Feb 2011, 21:09:00   Source: Unit Testing of Javascript Functions   Tags: Testing
‹ Previous1234Next ›