I want to learn ASP.Net 2.0/3.5/4.0 shall i start with ASP.Net 2.0 and then cover the rest? [closed]
Want to improve this question? Upda开发者_开发技巧te the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this questionActually I want to clear that shall i do ASP.Net 2.0 first and than move to 3.5 and 4.0 ?
OR
I start with ASP.Net 3.5/4.0 and most of ASP.Net 2.0 will also be covered in it, and the rest should i cover afterwords?
I'm concerned about the fact that, if i start covering ASP.Net 2.0, will i be studying outdated stuff ?
Which approach will be better, I'm an experienced c# developer and I do have a little knowledge of web development but i never build a professional web application.
Edit: I'm aware of the fact that there are already too many learning questions, but mine is specifically about a single point, relating to what to cover first when things are changing rapidly, and i guess many people may be facing the same question..
Stay away from ASP.NET (Webforms) entirely.
Go with ASP.NET MVC.
ASP.NET Abstracts away what it means to be a web programmer. It may seem 'Rapid' right now, but it will hurt you in the long run, both with projects and dealing with how the web actually works.
Start with the newest version of the language syntax e.g. C# or VB.NET for sure because you will likely be expected to put those features to immediate action. Even the latest syntax is found increasingly in code samples posted on the Internet to help you learn. I'd suggest the same for the framework and its contents like the ASP.NET classes.
If you run into a situation where an older/lesser version is used, you will still know all those older features having built on them when studying the newer concepts. Quite often newer syntax is a conceptual extension or variation on older concepts.
For example, with the function pointer concept
- Older version of the framework = only learn about delegates as function pointers.
- Newer version = learn about delegates + followed by anonymous methods + followed by lambda expressions, ...
In the newer versions there's a lot more "syntactic sugar" to do the same things quicker and with less code, maybe even (seemingly) more dynamically than before; however you can always recreate the newer concepts in older version of the framework by using older syntax when needed.
The world moves fast. Stick with the latest if you can.
Edit: The latest includes ASP.NET MVC and technology recommendations that other posts have mentioned.
Each framework is built on the successes and failures of the last one. You should learn 2.0, but don't spend too much time focusing on the details. Learn the CLR, the language syntaxes, and the basic methodologies applied. If you're looking to start in the web, learn the ASP.Net event lifecycle. If you're going to be doing winForms, cover the use of generics, threading, events.
As you discover things that are extremely useful you'll also discover things that are extremely frustrating. Just keep an open mind and focus on the basics and best practices. The rest will iron itself out through usage.
Start with ASP.NET 3.5, MVC and LINQ. Because in .NET 3.5 you'll get all the new stuff and syntax.
Very best,
Since you want to learn ASP.NET (Web Forms), start with the most recent non-beta version unless you have a specific need to support older software.
As you are already a C# programmer, you'll already be acquainted with most of the C# language changes since .Net 2.0.
As others have commented, also take time to learn ASP.NET MVC. In my opinion of using both, while neither is perfect, ASP.NET MVC is a good platform that scales really well and is more in line with how web pages operate. Done correctly, you end up with leaner, faster pages that are far more standards-compliant.
Client-side scripting is such a big part of web programming, and no comment would be complete without mentioning jQuery. Not only is jQuery fantastic for scripting the UI, but it will be shipped with Visual Studio and supported by Microsoft. jQuery is not MVC-only and can be used with Web Forms as well.
The video resources at www.asp.net can help you get up to speed quickly.
精彩评论