No excuses

Lazy Polar BearsI’ve spent a short while today upgrading my Pub Finder to use the Google Maps 2.0 API. I’ve also added indexes onto the data set to improve the speed.

Finding any one of the 5,149 pubs now in the database is now even quicker so there’s no excuse to drink in a dodgy pub.

Advertisements

Visual Studio, SSL and projects

Spent a while trying to get sub-projects opening within Visual Studio today where the root project has SSL security setup. Every time VS tried to open the sub-projects it would error with the message “Secure channel failed”.

Figured it out eventually – you need to add a location element to the web.config for the get_aspx_ver.aspx to allow anonymous access in the sub-projects.

E.g. your webroot is ~/ and you have the authorization element set to deny anonymous users:

[xml]

[/xml]

Then your subproject is within the folder ~/ProjectA. When you open ProjectA .NET will redirect to the login page for the web root. If that login page is under SSL, then VS.NET will fail. So add this to your web.config:

[xml]

[/xml]