Beginning ASP.NET and C# - c#

I guess the title gives most of my question away, I have a university project in which I must design and create a website in php or asp.net I have chosen the asp.net path since I am pretty familiar in php and I prefer C# to php.. Could someone please reference some good online places to visit to do some further learning, and recommend some books would appreciate it thanks.

Here are several questions from StackOverflow that may help:
Best way to learn C#
How can I learn ASP.NET?
What’s the best way to learn C# quickly?
Quickest approach to learn C# programming

-MSDN Library
-Book: CLR via C#, Apress Pro ASP.NET MVC (for ASP.NET MVC), and Pro ASP.NET 3.5 (Webform)

I think the Wrox Problem-Design-Solution books are always good if you like tutorial style books.
ASP.NET 3.5 Website Programming: Problem - Design - Solution
If you're looking at MVC, Microsoft has the excellent Nerddinner tutorial
Nerddinner

MVC is overkill for a basic university project site. Get a basic site similar to what you need (Website or Web Application project), perhaps from the free community projects on the ASP.NET home site, and then follow the video tutorials there using the freely downloaded site as a starting point :-)

Related

Is there a Perfect/Model ASP.Net Website for Learning Purposes?

I'm looking for a 'model' website/application written in ASP.Net that illustrates current best-practices of architecture, design, code etc. that could be used as a blueprint for development?
I'm working in ASP.Net webforms, but would like to get into MVC so examples from both would be very welcome.
Thanks.
Nerd Dinner might be worth a look for MVC, it comes with a 185 page pdf walkthough of the code with screenshots. I think it was built as an example for the book ASP.NET MVC 1.0.
There's a bit more info on Scott Guthrie's blog
You can have a web site that uses ASP.NET MVC and ASp.NET Webforms at the same time. Google it and you'll find dozens of samples. But if you weant to see an example of how to implement MVC Pattern* in ASp.NET Webforms projects, take a look at: http://www.codeproject.com/KB/aspnet/mvcwebforms.aspx
It is very hard to find full blown best open source asp.net MVC sites. Here's the ones that go beyond beginner concepts.
Code Camp Server
Kona
Orchard
Kobe... where are you?

Learning C# prior to learning ASP.NET MVC?

With only mild programming experience in the past, I was wondering about C# and ASP.NET MVC..
Do you guys think it's a better idea to learn C# before learning ASP.NET MVC? I've already delved a little into both of these already, but I still need some help deciding.
I think I would be a much stronger MVC user if I had more knowledge of the C# language itself.
What do you guys think?
Thanks!
If you're going to use C# to code your ASP.NET MVC Models/Controllers/etc. then yes, learn C# before you dive into ASP.NET MVC.
That way, you'll be able to better handle the language issues you're going to run in to when composing your .NET MVC application. Otherwise you're going to be trying to learn two things at the same time and not get a good grasp on either one.
Master C# first, then go to ASP.NET, then learn MVC and other patterns. Don't bite off more than you can chew, newbie mistake.
I agree with your third paragraph with C# at your back you'll be a stronger ASP.NET MVC developer; but I also think that they (C# and ASP.NET MVC) make great co-learning tools. And if you're going to try to pick up both tools, doing it together makes a lot of sense.
ASP.NET MVC is a pretty tough framework to start out on. It assumes you are already versed in ASP.NET, and ideally you even have a little bit of Ruby on Rails or similar experience too (ASP.NET MVC was really influenced by rails). On top of all of that good knowledge of C# is also very helpful.
I guess it depends on what your needs are. Are you going to create a mission critical webapp that your business depends on? In that case, yeah really learn ASP.NET and C# well. If this is just for a hobby and/or learning, then I say just go for it and learn C# as you go.
I jumped into Rails and Django without learning Ruby or Python first.
You learn what you need to know pretty quickly and everything you do learn is always guaranteed to be practical and immediately useful.
If you already understand MVC you already know which piece of code does what.
Knowing C# before jumping into anything .NET related is very recommended if not required. MVC is only a way of making webpages with the tools of ASP.NET which uses C# and VB as its backend languages. MVC is actually called ASP.NET MVC. Think of C# as the equivalent to PHP or Ruby in "Ruby on Rails".
Learn C# first. C# will be around for years to come; MVC may or may not be (Microsoft has a long history of handling web site code with flavor-of-the-month paradigms that don't age particularly well).
I have to disagree with Matt Greer about any assumption for MVC that you are already versed in ASP.NET. Nearly all of the tutorials and/or books that I've come across definitely do not start from an assumed ASP.NET knowledge base. In fact, for a junior developer, I'd think that knowledge of ASP.NET would be detrimental and confusing, as ASP.NET adds a whole bunch of stuff (designers, viewstate, abstractions, etc) that really is sort of the antithesis of ASP.NET MVC development.
ASP.NET MVC, however, is a framework that definitely requires knowledge of C# or VB to implement properly. In the end, any of the code that drives the site will be written in C#. The ability to properly write .net code is a definite requirement.
I'm personally very partial to Apress books, so I'd recommend the following:
Apress Beginning C# 2010:
http://www.apress.com/book/view/9781430231714
I'd also recommend from experience
Apress Pro ASP.NET MVC 2:
http://www.apress.com/book/view/1430228865
Another really great series for learning ASP.NET MVC 2 is the screencast series available from tekpub at:
http://www.tekpub.com.
Asp.net MVC is a framework for web development on top of .net developed in C#.
So if you want to know the priorities(not necessarily in a waterfall model, you can learn them in parallel):
First you must learn C#(some oo priciples and the way you must structure your code).
Second you must learn the rules and techniques
in web development (Html, Css, javascript, Web Architecture and the way it works(concepts like session management, cookies, etc) ...)
and Last learn
the Asp.net MVC

ASP.NET MVC 2.0 Tutorial (Like Nerd Dinner)

Are there any tutorials like Nerd Dinner but for MVC 2.0? I've seen MVC Music Store but I'd prefer something that moves a little more swiftly.
If not, are there any reccomendations for more advanced tutorials that go over specific topics?
Side note: I really liked the style of the NetTuts CodeIgniter Series. Something like that but for ASP.NET MVC 2.0 would be great.
Here is a complete and quite advanced (technically) website develop with asp.net mvc 2.0: Who Can Help Me? To find out more about it I suggest you read blogs of the authors.
NerdDinner has also been updated for ASP.NET MVC 2 and runs on ASP.NET 4 and Visual Studio 2010 in the updated version of the book.
The updated source code is available on CodePlex: http://nerddinner.codeplex.com/
The updated book is available at... stores :)

Been a LAMP developer for years, now transitioning to the Microsoft Web Stack. Where do I begin?

I've always worked with the standard Linux web stack (linux, apache, php, python, mysql) but have been given a great job opportunity working with a group that works with the Microsoft Web Stack (IIS, ASP.NET, MSSQL, C#).
There seems to be a pretty good Microsoft following here on SO. Where should I begin? Specific books, tutorials, online resources are appreciated.
ASP.NET MVC will probably seem more familiar to you than ASP.NET WebForms. And honestly, I think that most pro-shops are going to move towards it over the next 5 years.
There are some really good tutorials (the kind that WebForms still doesn't have) at this site.
http://www.asp.net/Learn/mvc/
MSSQL (other than some tweaks to syntax) and IIS will probably be less of a hurdle, unless you'll specifically be administering them. I'd focus on learning C# and ASP.NET.
A good resource for C# is the MSDN C# tutorials.
A good resource for ASP.NET is the ASP.NET Quickstart Site.
RampUp is Microsoft's intro learning site. There are learning paths based on the background of the developer (like you for a LAMP stack)
http://msdn.microsoft.com/en-us/rampup/default.aspx
Additionally, the Asp.Net site has a bunch of tutorials and videos
http://www.asp.net/learn/
The data access tutorials available here from the ASP.NET website are as good a place as any for the experienced IT professional to learn about SQL Server data access in ASP.NET.
Would recommend www.learnvisualstudio.net great for staters.
If books are your best learning source then some I found helpful:
Pro C#
Pro ASP.NET
CLR via C#
The third book is about the common language runtime (what executes compiled C# code).
ASP.Net has a few different approaches. There's inline coding (much like PHP and ASP Classic), code behind and MVC.
To start out I would just stick with inline coding. Working with ASP.Net controls and view states is pretty hairy at first so I'd get familiar with the syntax to start and then move on.
Lot of good web sites in this SO thread. I very much lke MSDN Virtual Labs. They have them on just about every technology in the stack and they let you get your hands on the technology and play around.
You should definitely read a good quality book, about C#, I would recommend a C# 3.0 in a Nutshell, Third Edition book, from O'Reilly.
Then you should look into some MS stack specific pages, as is the CodeProject (www.codeproject.com/) site.
At the end you should start read some interesting blogs, on technologies you will work with.
You definitely should not miss the following ones:
weblogs.asp.net/scottgu/
www.hanselman.com/blog/
haacked.com
That would be for a start. :)
(sorry for missing links, but SO say I am a new user, and I can post only one link. :( )
I would suggest you read C# in Depth by Jon Skeet, who is a user here at SO. It will definitely help you master C#. The rest is gravy.

Learn .NET 3.5

What are the best resources for a C#/.NET 2.0 developer for learning .NET 3.5? I'm struggling to learn ASP.NET MVC and I feel that a lot of my stumbling blocks have to do with not ever having explicitly studied 3.5.
Note: I know there are already these questions, but they both seem to focus on ASP.NET
Learning C#, ASP.NET 3.5 - what order should I learn in / what to skip?
https://stackoverflow.com/questions/276229/best-book-on-aspnet-35-c-programming
MVC has really changed the game on how everything works if you come from traditional ASP.NET Web Forms. I would recommend the following books:
ASP.NET MVC 1.0 Website Programming
Professional ASP.NET MVC 1.0
ASP.NET 3.5 Website Programming
I highly recommend reading "C# in Depth" by Jon Skeet. While it's focus isn't specifically the .NET framework, it gives a great overview of the changes of the C# language over time and introduces all of the new stuff in C# 3 (which overlap the .NET framework 3.5).
NOTE: Nothing specific to ASP.NET here, but again, it gives you the foundation.
You could try browsing MSDN from What's New in the .NET Framework Version 3.5.
Free PDF: Free ASP.NET MVC eBook Tutorial
From the author:
I wrote the first chapter of the book – which is a 185 page end-to-end tutorial that walks-through building a small, but complete, ASP.NET MVC application from scratch. The agreement I made with Wrox was that I’d write it for free in return for them also making it available as a free PDF download.
Should get you started at least

Categories

Resources