Manchester Developer Blog
Posted by Englestone
| Filed under ASP.NET
Want to clear out temporary asp.net files via command line?
Put this in a batch file and away you go.
iisreset /stop
for /d %i in ("%systemroot%\Microsoft.Net\Framework\v2.0.50727\Temporary ASP.NET Files\*") do RD /q/s %i
for /d %i in ("%systemroot%\Microsoft.Net\Framework\v4.0.30319\Temporary ASP.NET Files\*") do RD /q/s %i
iisreset /start
Posted by Englestone
| Filed under WP7
I've never won a photography competition. Until now!
I've been notified that one of my entries into the Great British Summer Photo Competition has won the main prize (An HTC Mozart Windows Phone 7).
I'd like to take the time to thank everyone that voted for my photo. It was very much appreciated.
The Competition
The competition theme was 'Great British Summer' so photos submissions should have been along those lines.
Unfortunately, there were a large number of submissions that were of very poor quality which almost won, this highlighted the problem with having a photo competition based on public votes. Feedback was given by a number of people to encourage the competition organisers to have judges next time.
My winning entry
This photo is of a couple walking through an avenue of trees in Lyme park one summers day.
The prize - An HTC Mozart Windows Phone 7I was intending on upgrading my iPhone 3GS to this very phone in September. I am very excited by the Windows Phone 7 operating system especially its latest update codename
MANGO.
Posted by Englestone
| Filed under
Hi All,
Could you please help me win a Windows phone 7?
I've entered a competition ran by Windows Phone UK to win a Windows Phone 7. Basically it's a photo competition with the theme being the 'Great British Summer'.
The top 3 photos with the most votes by July 31st win a Windows Phone 7. So it's about popularity, not quality (you'll see what I mean). I've entered 3 photos.
Please please please vote on the 3 photos? My photos are currently in 4th place and 2 of the leading photos are shockingly bad! and are taking advantage of the fact that this has become a popularity contest and not a good photo competition!
The urls to the photos are below. To vote you press the thumbs up icon.
You'll probably have to register with LiveShare but it's pretty painless only requiring an email and password.
My Photos
Purple Flowers
http://www.liveshare.com/#&id=1433848&mediaid=282572
Sheep over Windermere
http://www.liveshare.com/#&id=1433848&mediaid=282567
Avenue of Trees
http://www.liveshare.com/#&id=1433848&mediaid=282566



Thanks,
-- Lee
Posted by Englestone
| Filed under Testing Internet
There is a new website for checking whether a users cookies are enabled or not.
If you are like me, then you have had the awkward conversation with users asking them to check whether their cookies are enabled for them to only reply.. "What? how do I check my cookies are enabled?".
Now all you have to do is direct them to www.AreCookiesEnabled.com and it will tell the user whether or not their cookies are enabled or not. It will also tell the user what browser and browser version they are using.
I hope this helps both fellow developers like me and users having problems with their cookies.
-- Lee
Posted by Englestone
| Filed under Tools Software Development Visual Studio 2008
If you want to attach to w3p.exe to debug as much as i do it feels so slow going..
1) Debug (from toolbar)
2) Attach To Process
3) Find w3p.exe
4) Attach
Even with the keyboard shortcut....Alt+D, P, W, A
as it highlights the relevant toolbar, opens the relevant window, navigates to the first process beginning with W, then attaches.
But i've found something i'm going to be using a LOT so thought i'd share..
The following link gives you the code to create a Macro in Visual Studio and tells you how to bind the Macro to a keyboard shortcut
http://blog.lavablast.com/post/2008/01/11/Attach-to-Process-with-one-shortcut.aspx
So now I just go Ctrl+Alt+K and book im attached to the process in less than 1 second, no windows, no mess
Fantastic.
-- Lee