Useful SSL Certificate Tools

As of late I’ve had to deal with a lot more SSL certificates and ensuring they’re setup properly. That came with some problems. Creating a Certificate Signing Request (CSR) and installing/renewing a cert isn’t too difficult and browsing to the site afterward will generally let you know if it’s functional. However, ensuring the certificate chain [&hellip

Read More…

Windows Task Scheduler: The Directory Name Is Invalid (0x8007010B)

I ran into some interesting behavior with the Windows Task Scheduler on a Windows Server 2008 R2 box. When I setup my schedule I had to specify the “Start in (optional)” path because my app needed to access some folders local to the app. Every time I tried to run the job it would get [&hellip

Read More…

Deploying an MVC app to IIS 6

Trying to figure out how to deploy an MVC app to IIS 6 (MVC 2,3, or 4) can be quite a nuisance. If you Google it you’re bound to end up with a lot of suggestions that don’t actually work. One trick is to change the Global.asax when delpoying to an IIS 6 box, which [&hellip

Read More…

ViewBag, ViewData and TempData in ASP.NET MVC3

When using ASP.NET MVC 3 Razor I couldn’t help but wonder… when should I use ViewBag vs. ViewData vs. TempData? Finding an answer to this questions seemed oddly difficult. Different forums or blog posts contradicted each other. It’s not rocket science, but when you’re just getting started with MVC 3 it’s just one more thing that’s [&hellip

Read More…

Using jQuery to show a plain text watermark on a password textbox

I’ve found plenty of jQuery plugins to have a watermark for a textbox. However, when the textbox type is password the watermark will be displayed with asterisks instead of plain text. The trick I found is to use 2 textboxes: 1st Textbox will show the watermark 2nd Textbox is the password textbox So declare 2 [&hellip

Read More…

Visual Studio Tricks

A compilation of 5 neat little shortcuts/tricks in VS: 1. Incremental Search Incremental search can also be thought of as live search. The cursor highlights the first finding as you’re typing the search term. [CTRL]+[I] = Incremental Search [CTRL]+[SHIFT]+[I] (Back Search) [F3] – Find Next [SHIFT]+[F3] – Find Previous 2. Show and Hide White Space in [&hellip

Read More…

Adobe Edge Inspect (a.k.a. Adobe Shadow)

Wirelessly pair multiple iOS and Android devices to your computer. With Edge Inspect (a.k.a. Shadow), you browse in Chrome, and all connected devices will stay in sync. It allows you to see what your website looks like on actual mobile devices and not just emulators. Other perks are being able to press a single button [&hellip

Read More…

Dummy SMTP Server

A useful little tool is smtp4dev. It sits in the system tray and does not deliver messages you send to it. The messages in the queue can then be viewed, saved and checked out for structure or layout problems. Very handy should your dev machine not have rights to use a real SMTP server and [&hellip

Read More…

Team Foundation Server Project Portal – Access Issue

Have you ever inherited a project in Team Foundation Server (TFS) and struggled getting full access to the SharePoint project portal? It took me a few hours to figure out why I didn’t have full access to the project. I had admin access on the local TFS server and thought I’d just have to log [&hellip

Read More…

PowerShell MessageBox

If you want to display a dialog box / MessageBox from PowerShell rather than spitting out console text try this function: function Show-MsgBox { param ( [Parameter(Mandatory=$true)] [String]$Text, [String]$Title = 'Message', [String] $Icon = 'YesNo,Information' ) Add-Type -AssemblyName 'Microsoft.VisualBasic' [Microsoft.VisualBasic.Interaction]::MsgBox($text, $icon, $title) } Show-MsgBox -Text 'Reboot system?' -Title 'Warning' -Icon 'YesNoCancel,Question' $result = Show-MsgBox -Text [&hellip

Read More…