Sunday, 27 January 2013

Remove ASP.NET Membership Provider objects from SQL Server Database

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe



Tip:
This also exists for .NET framework 2.0 in the equivalent directory

Wednesday, 23 January 2013

Simplest way to add a password strength indicator




Using ASP.NET AJAX Control toolkit:

<asp:TextBox ID="TextBox_Password" runat="server" Width="220px"></asp:TextBox>
<ajaxToolkit:PasswordStrength ID="PasswordStrength_Password" runat="server
   TargetControlID="TextBox_Password"
   DisplayPosition="RightSide"
 
   StrengthIndicatorType="BarIndicator"
 
   PreferredPasswordLength="8"
   MinimumNumericCharacters="1"
   MinimumSymbolCharacters="1"
   RequiresUpperAndLowerCaseCharacters="true"
 
   TextStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent"
   BarBorderCssClass="barIndicatorBorder"
   StrengthStyles="barIndicator_VeryPoor; barIndicator_Weak; barIndicator_Average; barIndicator_Strong; barIndicator_Excellent"

   CalculationWeightings="50;15;15;20" />


Styles in css:

/*Password strength bar*/
.barIndicatorBorder {
    border: solid 1px #c0c0c0;
    width: 200px;
}

.barIndicator_VeryPoor {
    background-color: red;
}

.barIndicator_Weak {
    background-color: orange;
}

.barIndicator_Average {
    background-color: lightblue;
}

.barIndicator_Strong {
    background-color: greenyellow;
}

.barIndicator_Excellent {
    background-color: green;
}


Tuesday, 15 January 2013

Feature I would not like to see in: Visual Studio (2012)

Awful default light, gray-scale color scheme and icons!

A workaround Microsoft quickly introduced:
http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05


Update 2 Feb,2013:

Visual Studio Blue Theme
Fortunately, the Visual Studio team well listened and incorporated it into Update 2.
http://blogs.msdn.com/b/bharry/archive/2013/01/30/announcing-visual-studio-2012-update-2-vs2012-2.aspx


Sunday, 13 January 2013

To identify shared folders on your Windows machine

Start -->
Control Panel -->
Administrative Tools -->
Computer Management (System Tools --> Shared Folders --> Shares)


Screenshot from Windows 7 box.

Tuesday, 8 January 2013

Feature I would like to see in: iPhone

A notification led rather than illuminating the screen to check whether any notifications are residing there.
That would be only be an efficient, and time saver feature, but also a battery saver one.  

Monday, 7 January 2013

Rearrange Apple TV HomeScreen icons


Press the Select button (the middle one) till the icon jiggles
Move the icon to the new desired location and press Select button again

Notes:
Tested on 5.1.1update only.
You cannot rearrange the top row!!

PMP Exam updates based on PMBOK Guide 5th edition

PMP®
CAPM®
PMI-SP®
PgMP®

You are taking your exam ON or AFTER this date 31 August 2013 --> Use PMBOK® Guide 5th Edition

http://www.cornelius-fichtner.com/index.php/pmp/588-new-pmp-exam-starts-july-31-2013



Show\Hide icons in the Apple TV Home Screen

Settings--> Parental Controls --> Show\Hide

Of course, the existing icons depend on your location.


N.B. I selected Hide for the iTunes Match; however, the Music icon is still shown on the Home Screen!!

Wednesday, 2 January 2013

Features I would no longer want to see in: iTunes, iPhone, iPad

- Syncing the device with a single iTunes library.
Alternative: Providing a more intuitive method to add content such as Books, Movies, Songes and Tones using Copy\Paste or file transfer rather than the obsolete way of syncing the device directly with a single iTunes Library.