Guidance on Getting Started
Posted on 2004-08-02
I am a long-time web developer in a myriad of different languages, including Classic ASP/VBScript. I have never been one for any sort of IDE, quite frankly, having cut my teeth developing web apps on early unix boxes using vi for an editor!
I am trying to get started with ASP.NET, and specifically VB.net, utilizing the Visual Studio .NET IDE, taking that plunge to the integrated graphical way of doing things.
Although I can find code examples (many of them that don't seem to utilize the code-behind method, which I sort of gathered was one of the points of .net), what I'm not getting is exactly how most people use this environment.
For example, how much of the visual portion of the IDE do you use? I want to learn RIGHT habits from the start. I can open up a text editor and copy/paste some of the example code I've found, but I don't want to start bad habits.
I just tried my first project, decided to create a web application with a datagrid control. I dragged a SQLDataAdapter and SQLConnection onto the work area. I have connected to my SQLServer database and 'tested' this connection. I have a pulldown field that I'd like to associate with that SQLDataAdapter which will 'drive' the selection of data into the DataGrid. Do you generally go straight to code to do this, or through the IDE? Can you point me to a nice visual guide on how to get started on this stuff?
I am looking for best practices sort of information, want to know HOW to do, not just get code samples. I know how to program, that won't be an issue, I just want to understand what's considered "right" in this particular environment.