I have set up a few new PCs lately in the course of getting set up on my new job. Here is what I install:
Windows XP SP3 - Vista too much friction
Use BlackViper's Safe config
Turn off System Restore
Pop a shortcut to Start Menu in my SendTo folder for easy/lazy Launchy indexing)
Set up my folder views [...]
Q: How do I install self-signed SSL certificates on two IIS 6 websites on the same server where both sites use port 443 and are configured with host headers?
A: Multiple SSL sites on a single IIS server using host headers. <- the answer.
Basically, use SelfSSL or SSLDiag to create a cert with CN=*.example.com, then [...]
Q: How do I install a self-signed SSL certificate on an IIS 6 website?
A: Use the SelfSSL utility that comes with the IIS Resource kit!
http://codeforeternity.com/blogs/technology/archive/2008/02/15/creating-self-signed-ssl-certificates-on-iis-6-0-and-windows-server-2003.aspx
Q: How do I install self-signed SSL certificates on two IIS 6 websites on the same server?
A: SelfSSL.exe is bugged. Install SSLDiag and use its embedded SelfSSL tool.
The problem with two [...]
If you are curious about Linq to NHibernate and want to quickly check it out, here is an easy way to do it.
Check out a copy of the CodeCampServer source (svn). CodeCampServer is easy to work with because it has good tests on an already-working NHibernate implementation.
Check out a copy of NH Contrib (svn), open [...]
For months I have been suffering from long delays when I delete a file from solution explorer in Visual Studio.
Minutes… slow, dreadful minutes.
I thought it was Resharper’s fault or VisualSVN's but nay. It’s because I have a large recycle bin, which is fully scanned every time you delete a file. After I emptied the recycle [...]
Dan North, in a recent article about DRY tests, says:
[Tests] are the documentation narrative that will guide future programmers (including yourself when you come back to change this code in three months time and you’ve forgotten what it does). In this case, clarity of intent is found in the quality of the narrative, not necessarily [...]
In this post I am talking about auditing for the business, not the technical infrastructure. As an example story, users will want to see certain fields highlighted on a grid if that field has changed in the last week, and the info about the change (who, when, what) should be a tooltip for the cell.
Database [...]
Bil Simser just released Tree Surgeon 2.0.
TreeSurgeon automates the creation of a new project development tree, complete with a VS solution, a test project, a console project and a "core" project. It also automates the creation of a Nant build file which is set up to generate an Ncover report.
The first thing I wanted [...]
I am building a simple "single sign-on" ASP.NET application that interprets the current user's ASP.NET integrated security credentials to a vendor site's credentials. One of the services I wrote required the IIdentity as a constructor parameter to begin the interpretation process.
This was straightforward with regards to TDD - I simply mocked the IIdentity and [...]
To turn on visual indicators of whitespace in Visual Studio, use the keyboard chord (Ctrl-R, Ctrl-W) (setting found in Tools > Environment > Options):
Instead of nothing:
You can now see:
By default, when I set the insertion point on line 12 and hit Enter, Visual Studio inserted spaces instead of tabs:
To turn this off, change [...]