Loading, please wait...



C# .Net Environment Setup

Aug 10, 2019 C#, C# .Net, .Net, 68 Views
In this article, we have to learn how to do Environment Setup for C# .Net.

C# is used for the server-side execution of all the applications like web, windows form or console, etc. In order to use C# with your .Net application, you need two things, .NET Framework and IDE (Integrated Development Environment).

The .NET Framework:

The .NET Framework applications are multi-platform applications. The .NET Framework is a platform where you can write different types of web and desktop-based applications. You can use C#, Visual Basic, F# and Javascript to write these applications. If you have the Windows operating system, the .NET framework might already be installed on your PC.

The various components of the .NET Framework:

  • Common Language Runtime (CLR)
  • The .NET Framework Class Library
  • Common Language Specification
  • Common Type System
  • Metadata and Assemblies
  • Windows Forms
  • Net and ASP.Net AJAX
  • Net
  • Windows Workflow Foundation
  • Windows Communication Foundation (WCF)
  • Windows Presentation Foundation
  • LINQ

 

Integrated Development Environment:

An IDE is a tool that helps us write a program. Visual Studio is an IDE provided by Microsoft to write the code in languages such as C#, F#, VisualBasic, etc.

The CLR is the foundation of the .NET Framework. It manages code at execution time, providing core services such as memory management, code accuracy, and others.

 

 

 

The Class Library is a collection of classes, interfaces and value types that enable us to accomplish a range of common programming tasks like data collection, file access and working with text.

Please consult Microsoft’s documentation for more details of each component. Here is the link https://docs.microsoft.com/en-us/dotnet/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework 

 

For Running C# codes on other Operating Systems like LINUX or MAC OS:

The .NET Framework runs on Windows Operating System but there are alternates made to work on other operating systems. Mono is an open-source version of the .NET Framework which has a C# compiler and can be run on several operating systems like Windows, LINUX, MAC OS, Android, BSD, IOS, OS X, Solaris, and UNIX.