Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Net tutorial 2

Status
Not open for further replies.

craigward

Programmer
Nov 13, 2007
230
GB
Hi,

Not sure this is the place to ask this but i have been using classic ASP for many years and i now want to get in to some .net programming using C#.

I have searched the internet for tutorials but I’m not seeing anything that I would call useful for a beginner. I have setup Visual Studio and created a project have Sql all connected up and now I just want some good working example tutorials that cover all the basics that I need to get me started.

Does anyone have any good recommendations of a site that covers this?


Thanks for any help
 
I'm sure there are plenty of good examples out there. You just have to be Google savvy. If you are interested in a book, I've always like the books by Wrox.
 
if you want to learn asp.net you don't need a database. asp.net is just an http pipeline(handlers, modules, context, request, response, cookies, session etc.) this is the essence of asp.net. from there the common thing to do is build a webpage. There are 2 distinct approaches to solving this problem

1. webforms: this is both an html engine and page controller framework. there is not much room for extensibility and for simple tutorials VS can write most (if not all) of the markup and code for you. this framework is the common approach for "asp.net" developers because it was the only option available when .net was first introduced.

2. MVC: this is a concept where the parts (Model, View, Controller) are independent and interchangable. The API is very clean and simple. There are 2 main frameworks that support MVC.
2.1. Castle.Monorail
2.2. MS MVC
MVC has been gaining ground in recent years, especially since MS introduced their own MVC framework. both have an number of extensibility points where you can replace the default functionality.

the 2 approaches are radically different and there are a lot of opinions on the topic. I would encourage you to spend an 1 or 2 just researching asp.net. then look into the two approaches to generating thml (webforms & MVC). then begin putting a webpage together.

I wouldn't bother with a database either. that just confuses the issue. get comfortable with asp.net and web/html frameworks before you introduce other frameworks (ado.net, etc)

as you search the web you will probably find alot of information on asp.net as it relates to webforms. you will even find the terms interchanged. that's unfortunate since aps.net != webforms.



Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Thanks for the detailed response. I will go through that and research the web some more.
 
Thanks ca8msm, that is a great site and the videos are very well explained.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top