Latest web development tutorials

C # environment

In this chapter, we will discuss create C # programming tools needed. We have already mentioned C # is part of the .Net framework, and for writing .Net applications. Therefore, before discussing running C # programs available tools, let us first look at the relationship between C # and the .Net framework.

.Net Framework (.Net Framework)

.Net Framework is an innovative platform that can help you write the following types of applications:

  • Windows Applications
  • Web Applications
  • Web services

.Net Framework application is a multi-platform application. Frame design approach makes it suitable for a variety of the following languages: C #, C ++, Visual Basic, Jscript, COBOL, and so on. All of these languages ​​can access framework, they can interact with each other to each other.

.Net Framework consists of a huge library of code, used in languages ​​such as C # client. Listed below are some of the components of .Net framework:

  • The common language runtime (Common Language Runtime - CLR)
  • .Net Framework class library (.Net Framework Class Library)
  • Common Language Specification (Common Language Specification)
  • Common type system (Common Type System)
  • Metadata (Metadata) and Component (Assemblies)
  • Windows Forms (Windows Forms)
  • ASP.Net and ASP.Net AJAX
  • ADO.Net
  • Windows Workflow Foundation (Windows Workflow Foundation - WF)
  • Windows displays the underlying (Windows Presentation Foundation)
  • Windows Communication Foundation (Windows Communication Foundation - WCF)
  • LINQ

For detailed information about each component, refer to the Microsoft (Microsoft) document.

C # integrated development environment (Integrated Development Environment - IDE)

Microsoft (Microsoft) provides the following development tools for C # programming:

  • Visual Studio 2010 (VS)
  • Visual C # 2010 Express (VCE)
  • Visual Web Developer

The latter two are free to use, it can be downloaded from Microsoft's official website. Using these tools, you can write a variety of C # programs from simple command-line applications to more complex applications. You can also use a basic text editor (such as Notepad) to write C # source code files, and use the command-line compiler (part of the .NET Framework) compiled code for the component.

Visual C # Express and Visual Web Developer Express edition is a customized version of Visual Studio, and has the same look and feel. They retain most of the functionality of Visual Studio. In this tutorial, we are using Visual C # 2010 Express.

You can choose from Microsoft Visual Studio for download on. It is automatically installed on your machine. Please note that you need a network connection is available to complete the Express installation.

Write C # programs on Linux or Mac OS

Although the .NET Framework is running on a Windows operating system, but there are some running on other operating system versions to choose from.Mono is an open source version of the .NET Framework, which includes a C # compiler, and can run on multiple operating systems, such as various versions of Linux and Mac OS.For more information, please visit the Go the Mono .

Mono's purpose is not just to run cross-platform Microsoft .NET applications, but also provide a better development tools to Linux developers. Mono can be run on multiple operating systems, including Android, BSD, iOS, Linux, OS X, Windows, Solaris and UNIX.