LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 August 15 2014

rolf
Member

Getting starting with C# for web

Hello,

I come from a PHP background. I've done things the PHP way, for a long time.
In PHP you basically write your code in whatever editor you want, then feed it to the web server (Apache + mod_php, usually) and see what comes out. Simple.
ASP.NET seems to be a little more complicated.

Anyway, I've managed to set up Visual Studio Express 2013 and IIS express, somehow. Without making comments about the install process, I have a file in VS and can press F5 and have it run in ISS and see the result in a browser.

Now what?

Offline

#2 August 15 2014

Kassem
Member

Re: Getting starting with C# for web

What exactly do you need help with?

If you are asking about what you should learn now, if you are already comfortable writing C# code I would say go to www.asp.net and get started with ASP.NET MVC and Web API.

Enjoy.

Offline

#3 August 16 2014

rolf
Member

Re: Getting starting with C# for web

I am not comfortable with writing C# code, that's what I'm trying to achieve.
I tried to download MVC but I'm not sure how that went, then I figured I should learn plain C# first.

I'm asking for any pointers or tips on how to go from here, to learn C# for building websites.

Last edited by rolf (August 16 2014)

Offline

#4 August 19 2014

rolf
Member

Re: Getting starting with C# for web

Well anyway, I found this:
http://www.csharp-station.com/Tutorial/ … Setup.aspx

In addition to the official online reference from Microsoft.

Offline

#5 September 8 2014

mmk92
Member

Re: Getting starting with C# for web

I'm sorry for the late reply, but I was in your exact situation! My server-side skills mainly involved PHP, I found the language very error prone and messy to use. I recently took up an internship with 0 experience in C# and ASP.NET. I was recommended two readings, first was "C# Coding Standards for .NET" by Lance Hunt, it goes over many of the language's features and conversions which are VERY straight forward and support many paradigms. I was reading the book while tampering around the template ASP.NET MVC in Visual Studio. Then I started reading "Professional ASP.NET MVC 4" which is a great book that goes over each and every feature of ASP.NET MVC and although it may seem like you need prior experience in asp.net, it does not require any. Developing ASP.NET MVC in Visual Studio is breeze, the framework itself has many conversions that won't only organize your modules, but also make your solution much more maintainable and expandable. The template language they use for Views is Razor, which is basically regular C# code within an HTML template. VS also has many macros and shortcuts to do mundane tasks that make you a much more efficient programmer.

If you want SQL support in your application look up Entity Framework. It abstracts the way you communicate with your DBMS, and combined with LINQ (syntax for writing SQL statements on the fly in C#) it is very very powerful.

Offline

#6 September 8 2014

nosense
Member

Re: Getting starting with C# for web

Thanks for the interesting info and references @mmk92.

Offline

#7 September 9 2014

MAS
Member

Re: Getting starting with C# for web

I would recommend after reading some C# books to start with video tutorials, and especially from channel9
this will help you a lot!

Offline

#8 September 9 2014

rolf
Member

Re: Getting starting with C# for web

Thanks for all the answers, now I have more options to start with.

Offline

#9 September 9 2014

nosense
Member

Re: Getting starting with C# for web

This is an updated version of the link @MAS provided , the same guy made the series again in 2014 and the 2011 series is considered out of date
http://channel9.msdn.com/Series/C-Funda … -Beginners

Offline

Board footer