C# 3.0 in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))

Author: Joseph Albahari, Ben Albahari
4.7
All Stack Overflow 16
This Year Stack Overflow 2

Comments

by anonymous   2017-08-20

I'm not going to be able to help out with your MonoDevelop question and XSP2 since I haven't used Mono, but I can help with some of your other questions.

When you have an asp.net app, what are the executable scripts (ie. .php for PHP)?

ASP.NET pages have a .aspx extension (although this is configurable). When a page is first requested the ASP.NET run-time parses an ASPX file and compiles a class from it. This compiled class is executed within the ASP.NET application run-time.

.cs files are often associated with a .aspx file by development environments like Visual Studio (this isn't a requirement though you can have .aspx files independent of .cs files). The .cs file defines a class and the class compiled from the .aspx file inherits (or is a sub-type of) this class.

What would be the best way to set up my development box for asp.net development?

Again, I don't know about Mono, so I'll give my recommendation based on Microsoft tools. I'd recommend Visual Web Developer 2008 Express. It's available for free has a lot of the great features of the full-blown product and uses the built-in web server which makes configuring your environment less of a hassle.

I'd also recommend the Web Platform Installer. This will help download and install Visual Web Developer 2008 Express and get you up and running quicklu and easily with other things like the .NET Framework, IIS, SQL Server Express and even open source web applications. It's nice an easy to use.

Any general "non-newbieistic" help source apart from MSDN, on getting started with asp.net?

StackOverflow? :-)

If you're new to .NET I would recommend getting a good grasp on the language first and then ASP.NET specific stuff.

Best .NET books (in my opinion):

ASP.NET resources:

by anonymous   2017-08-20

read lots of code, write lots of code and keep a copy of C# 3.0 in a nutshell handy.

by anonymous   2017-08-20

The language itself will be the same whatever tutorial you use. Really you just need to know how to compile code using Mono instead of Visual Studio. The basic command line you'll want to use is:

gmcs Foo.cs Bar.cs

with these as the most important command line options:

  • -target - whether you want to build a console app (-target:exe), a Windows Forms app (winexe), a class library (library) or a module (module)
  • -r - add a reference to another assembly (e.g. -r:Foo.dll) - most of the common assemblies should be added automatically
  • -out - specify the output filename (e.g. -out:Foo.exe)
  • /? - find out about other command line options :)

In terms of reading material, I can recommend C# 3.0 in a Nutshell as it covers the language and the core framework classes.

by Jon Skeet   2017-08-20

What do you want to write? If you want to write a Windows client-side app, look into WinForms and WPF (no real need to learn WinForms before WPF, other than the way that a lot of tutorials/books will probably compare WPF concepts with WinForms concepts). If you're looking at a web app, then ASP.NET or ASP.MVC - I don't know whether you really need the "normal" ASP.NET before MVC.

Silverlight is a bit of both, in a way - rich client probably talking to a server for interesting data etc.

Before learning any of these though, I suggest you learn the fundamentals which are one step up from the topics you mentioned - things like how text works in .NET (including encodings and regular expressions), I/O, perhaps threading. Oh, and LINQ :) There are a few books which are very good on this front: