Jump to content



Photo

learn c# first or asp.net?


  • Please log in to reply
11 replies to this topic

#1 ultimate99

ultimate99

    Neowinian Senior

  • Tech Issues Solved: 1
  • Joined: 20-August 02
  • Location: ON, Canada
  • OS: Win 8.1 Pro
  • Phone: Nokia Lumia 920

Posted 22 April 2014 - 22:08

If I want to learn C# and eventually asp.net, but not interested in desktop applications or windows store app development, but more into a web solution, what should I do at this point? I have no experience in either languages. Generally, very little experience, as this is not a profession. I've been exposed to java, html, css, and sql. I don't have a specific project now, but I'd like to safeguard myself and be prepared.

 

 

If I should I start with C#, i've looked at these books, which would you recommend?
 
 
PS: I already started taking this course: https://www.udemy.co...rs-in-csharp/#/



#2 +PmRd

PmRd

    Neowinian

  • Joined: 30-December 01
  • Location: Granby, QC
  • OS: Microsoft Windows 10
  • Phone: Microsoft Lumia 1020

Posted 22 April 2014 - 22:12

ASP.net uses C#...



#3 Andre S.

Andre S.

    Asik

  • Tech Issues Solved: 14
  • Joined: 26-October 05

Posted 22 April 2014 - 22:31

ASP.NET is not a language but a web development framework. It can be used from any .NET language including C#, VB, F#, etc. 

 

You definitely should learn the language before the technology. Both books seem pretty good, I'm not personally a fan of the Head First series as it's too diluted for my tastes but some swear by it.



#4 +LogicalApex

LogicalApex

    Software Engineer

  • Tech Issues Solved: 8
  • Joined: 14-August 02
  • Location: Philadelphia, PA
  • OS: Windows 7 Ultimate x64
  • Phone: Nexus 5

Posted 22 April 2014 - 23:00

I would recommend you learn the way I like to learn (as everyone will do when you ask a question like this)...

 

The way I taught myself programming wasn't to focus so much on the language or the framework per say. That is an OK way to start I'd imagine, but it gives you too much information too soon. As you won't understand the importance of X before having exposure to Q or something... I tend to come up with small projects that I want to make and then learn as I build out this project. I prefer this approach because once I get around to reading detailed information on the language or the framework I can better understand the value of certain things and the pitfalls of others. Otherwise, I feel I would be at the mercy of the author...

 

ASP.NET is a very large framework. IMHO don't go near Web Forms unless you need it for you current job. I have always hated it and it really teaches horrible programming practices. Go to ASP.NET MVC if you go ASP.NET.

 

Don't be shy of MSDN documentation either. Dig into it as you go along and get a real good feel for the language and the conventions of the community.



#5 elenarie

elenarie

    Newbie .NET / game dev

  • Tech Issues Solved: 2
  • Joined: 23-March 14
  • OS: Windows 8.1 Pro x64
  • Phone: Lumia 920 Yellow

Posted 22 April 2014 - 23:46

Go to ASP.NET MVC if you go ASP.NET.

 

As an alternative, he may want to try out ASP.NET Web Pages first. It is bit simpler compared to MVC since for that one you kind of also have to know the pattern, Web Pages would give him an idea about how the basic principles and concepts of ASP.NET work. Afterwards he could always move up to MVC if he feels that Web Pages is a bit too PHP-like or too "unstructured".

 

Agree with the part about Web Forms, it is based on very old ideologies that most people nowadays try to get away from.



#6 Kalint

Kalint

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 16-January 07

Posted 23 April 2014 - 00:44

Have fun with MVC routing...



#7 Kami-

Kami-

    ♫ d(-_-)b ♫

  • Tech Issues Solved: 3
  • Joined: 28-July 08
  • Location: SandBox

Posted 23 April 2014 - 11:49

Have fun with MVC routing...

Why? it's a piece of cake...



#8 Kalint

Kalint

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 16-January 07

Posted 24 April 2014 - 13:16

Why? it's a piece of cake...

If you say you've never had routing mismatching issues either your project was too small or you're a witch in case I'll burn you at the stake for witchcraft.



#9 Zedox

Zedox

    Neowinian

  • Joined: 12-August 09

Posted 24 April 2014 - 13:32

You can learn both at the same time...it's easier knowing the language first so you understand what's going on. If you already have knowledge of one "main" programming language, you really shouldn't have a problem learning another. You said you've been exposed to Java...C# is VERY similar to Java...just some minor differences.



#10 Kami-

Kami-

    ♫ d(-_-)b ♫

  • Tech Issues Solved: 3
  • Joined: 28-July 08
  • Location: SandBox

Posted 25 April 2014 - 11:34

If you say you've never had routing mismatching issues either your project was too small or you're a witch in case I'll burn you at the stake for witchcraft.

Better get your firelighters ready then, huge international project... ;)



#11 Dav-id

Dav-id

    Neowinian

  • Joined: 06-July 03
  • Location: GB

Posted 25 April 2014 - 12:04

Take a look at the MS Virtual Academy for some free courses, for example: http://www.microsoft...ions-jump-start

 

Personally I find the most effective way to learn how to do something is to work towards solving a defined goal. For example if I want to learn how to write code in a new language I will either port existing code I have written into that language or I will start from scratch and build a new project that I define rather than following some tutorials. This will force me to problem solve rather than copy and paste code. Copy and pasting code is fine and we all do it but it will not force you to understand what it does and ultimately learn.

Visual Studio does so much for you, especially if you use extensions like ReSharper you will become a pro in no time.

 



#12 Kalint

Kalint

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 16-January 07

Posted 25 April 2014 - 14:29

Better get your firelighters ready then, huge international project... ;)