Day 5: Writing ASP.NET applications
Friday 27th May 2005 – Chapter 5 – Writing ASP.NET applications
Once you’ve got it into your head that writing ASP.NET is
a) No different than writing windows forms (With a few exceptions)
b) Totally different than ASP
c) Tons easier than classic ASP once you get over the learning hump
You’ll find yourself whizzing along. Jason leads you through writing very quick form page and then points out the files that are created for you, in particular the web.config, Global.asax, Styles.css, AssemblyInfo and vdisco. So what’s changed in VS.NET 2005?
First thing I noticed is that it asks you if you would like debugging turned on in the web.config. I also noticed that my simple page, a textbox, button and label, didn’t bloody work. Part of my problem is that I have SQL2005 installed, as opposed to SQL Express but I can’t seem to find where or how I can add in my local server instance as opposed to the expected SQL Express instance…
So I’m no longer whizzing along, and seeing as I'm off to France in the morning, I have no time to figure out what or how I can get round this. Clean install of XP Pro and VS.NET/SQL2005 so there shouldn't be any lingering issues with old beta's etc. Sob.
Anyway. Off to France (YAY!!)
Ok - resumed. The thing I was missing was... ASPNET_REGSQL.EXE which lives in your Microsoft.NET\Framework\v2.0.50215\ directory (Or whatever version).
So now I'm whipping along again. Awesome...