2

I am wanting to learn ASP.Net and am just a beginner. I have done some windows c# forms development before but have no experience of web development.

I have looked at the ASP.net website but beyond this, does anyone have any ideas as to good learning resources particulary in relation to the differences to windows development. For instance, It seems that the way events work is quite different under ASP to windows forms.

Thanks you all.

Thank you very much. I will have a look at MVC. It looks even more complicated but if this is the way things are going then I would be better maybe to invest my learning in this.

7 Answers 7

4

I would advise you at this stage in ASP.NETs life to instead direct your attention at ASP.NET-MVC. This url http://www.asp.net/mvc/ is a very good resource for learning.

ASP.NET Forms do a good job of hiding the nature of a connection-less HTTP/browser based technology and presenting a familiar Form with controls and lots of useful events environment that Windows Forms developers are used to.

However this approach comes with a price. For any serious project there is no avoiding getting under the hood of ASP.NET forms and properly understanding the underlying technology. At this point you start to realise the significant compromises the ASP.NET Forms has had to make in order to make Windows Forms developers feel at home.

ASP.NET-MVC, on the other, makes no such compromises. Learning MVC means learning how HTTP works up-front. It also has the advantage of being a much more test friendly approach which when used properly will save you days of debugging.

Sign up to request clarification or add additional context in comments.

2 Comments

@Luke: Good term for it, "worst of both worlds" it is that!
+1, Absolutely. No reason to bang your head against the WebForms wall if you're just starting out now. (Although WebForms were supposed to ease the transition from desktop to web development, they managed to be the worst of both worlds.)
3

ASP.NET website - seriously, it's a really good resource.

Comments

2

I'd seriously consider starting with ASP.NET MVC. You'll end up learning what you need from ASP.NET "classic" but you'll pick up all the goodness of MVC (testability, seperation of concerns in your code etc) instead of learning bad habits.

Google for "ASP.NET MVC", check out ScottGu's blog, Scott Hanselmans's blog, or search StackOverflow for ASP.NET MVC (use the ASP.NET MVC tag too).

One good place to start...

http://weblogs.asp.net/scottgu/archive/2009/04/01/asp-net-mvc-1-0.aspx

Comments

1

I know they are a bit out of date, but I still think the two Fritz Onion books give a great look at what's happening in ASP.NET under the hood.

1 Comment

+1. These are excellent books. I wouldn't say they are out of date at all, esp. the second one. They don't cover MVC and only breifly cover AJAX, but the content is still valid for general ASP.Net knowledge and if you really want to know the details these are the best books on the topic.
0

Some resources:

asp.net (as you mentioned)

channel9

scott hanselman's blog (some useful entries)

Windows Client Homepage

W3Schools Tutorials (Useful for more than just .NET, but this is the .NET page)

Comments

0

I've been a .NET Windows Forms (not Web forms) developer for 1 and a half years. Then I switched jobs and started using WebForms for like... 2 years. Then I discovered ASP.NET MVC (January 2008) and since then although I still master ASP.NET WebForms I will always prefer ASP.NET MVC.

My recommendation also goes into ASP.NET MVC. You will have to learn HTTP, HTML and a bit of Javascript but after these you will master web development on ALL PLATFORMS.

Comments

0

A great alternative to ASP.NET MVC is ASP.NET Web Pages with Razor syntax. In fact, the latest release of ASP.NET MVC and the latest release of ASP.NET Web Pages both use the same view engine.

Here is a link to the complete ASP.NET Web Pages book:
Getting Started with WebMatrix and ASP.NET Web Pages

Also, here is the complete WebMatrix Content Guide:
WebMatrix Content Guide

Here's the description: WebMatrix is a free, lightweight set of web development tools that provides the easiest way to build websites. It includes IIS Express (a development web server), ASP.NET (a web framework), and SQL Server Compact (an embedded database). It also includes a simple tool that streamlines website development and makes it easy to start websites from popular open source apps. The skills and code you develop with WebMatrix transition seamlessly to Visual Studio and SQL Server.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.