ASP.NET Web Matrix ate my code
Now, this isn't so much a rip on Microsoft ASP.NET Web Matrix as it is on my own company's negligence into proper infrastructure and IT planning. Short story ==> power outage, data corrupted, work re-hashed.
Exhaustive story ==> earlier today, I was working on a code module for an upcoming project and was making a minor tweak to a page displaying customized data through cookies and database calls. We had a semi-large power spike, which, of course, due to the skimpy fact that no one around here runs any UPS or battery back-up systems of any variety - thanks so much - my workstation was kicked totally offline, while the file in question was open in Web Matrix. Upon rebooting, the file I was working on was blank when opened, despite being 6K in size. After messing with it some more, I figured it got corrupted and gave up...I re-wrote the thing from scratch, trying to painstakingly re-create the logic, in about 45 minutes. Thank goodness it's still a test module I've been working with for the last 2 months. I can't imagine how I'd get around working with corrupted production code that I hadn't seen/touched in months.
At any rate, I'm not sure if this is something common to Web Matrix, as this has never happened in any other program in similar situations. I've read stories in the past about cannibalistic IDEs, but I wasn't able to correlate power outages and data corruption.
Anyone have a clue?