Basic Concept In C Sharp Day 16

Lecture 16 : Basic Concept In C Sharp

C Sharp :


  • C# (pronounced see sharp, like the musical note C♯, but written with the number sign) is a general-purpose, multi-paradigm programming language encompassing static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

  • C# was developed around 2000 by Microsoft as part of its .NET initiative and later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO (ISO/IEC 23270) in 2003.

  • It was designed by Anders Hejlsberg, and its development team is currently led by Mads Torgersen, being one of the programming languages designed for the Common Language Infrastructure (CLI).

  • The most recent version is 9.0, which was released in 2020 in .NET 5.0 and included in Visual Studio 2019 version 16.8.

C-sharp musical note :


  • "C sharp" was inspired by the musical notation whereby a sharp symbol indicates that the written note should be made a semitone higher in pitch.

Anders Hejlsberg :
  • Anders Hejlsberg (born 2 December 1960) is aprominent Danish software engineer who co-designed several popular and commercially successful programming languages and development tools.

  • He was the original author of Turbo Pascal and the chief architect of Delphi.He currently works for Microsoft as the lead architect of C# and core developer on TypeScript.

Programming Languages :

1)Turbo Pascal :


Turbo Pascal 7.0 Interface on DOS

  • Turbo Pascal is a software development system that includes a compiler and an integrated development environment (IDE) for the Pascal programming language running on CP/M, CP/M-86, and DOS.

  • It was originally developed by Anders Hejlsberg at Borland, and was notable for its extremely fast compiling times.

  • Turbo Pascal, and the later but similar Turbo C, made Borland a leader in PC-based development.

2)Delphi :

         
Delphi
  • Delphi is a software product that uses the Delphi dialect of the Object Pascal programming language and provides an integrated development environment (IDE) for rapid application development of desktop, mobile, web, and console software,[3] currently developed and maintained by Embarcadero Technologies.

3)C # :


C# 
  • C# (pronounced see sharp, like the musical note C♯, but written with the number sign) is a general-purpose, multi-paradigm programming language encompassing static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.


4)TypeScript :
                                                                                  TypeScript
  • TypeScript is a programming language developed and maintained by Microsoft.

  • It is a strict syntactical superset of JavaScript and adds optional static typing to the language.

  • TypeScript is designed for the development of large applications and transcompiles to JavaScript.

  • As TypeScript is a superset of JavaScript, existing JavaScript programs are also valid TypeScript programs.


.NET Core :

  • .NET Framework (pronounced as "dot net") is a deprecated (in favour of .NET Core) software framework developed by Microsoft that runs primarily on Microsoft Windows.

  • Install .NET Core SDK for Windows :

  • .NET Core Runtime and .NET Core SDK are different things.

  • .NET Core Runtime is only used to run .NET Core application, whereas .NET Core SDK includes tools and libraries to develop .NET Core applications. 

  • To set up a development environment, we need to install .NET Core SDK for the platform we use for development such as Windows, Linux, or Mac. Here we will install .NET Core SDK because we are preparing a development environment for building .NET Core applications. 

  • If you are aiming to run .NET Core application, then install .NET Core Runtime on your server or cloud or client desktop.

  • Click on the Download .NET Core SDK button to download the latest version of .NET Core SDK installer.

  • It will download .NET Core 3.1 SDK as of this writing.

  • After downloading the installer, click on it to start the installation.

  • Click on Install button and follow the wizard to install .NET Core 3.1 SDK.

  • After installation, you can now develop .NET Core/ASP.NET Core applications.

Visual Studio 2019 :

  • Microsoft has released the latest version of its flagship IDE – Visual Studio 2019. 

  • Visual Studio is probably the best IDE available for application development on the Windows platform.

Step 1 – Download and install Visual Studio installer :

  • This is pretty straight forward. The way it works is that you have to first install the Visual Studio Installer. After it installs, Run it and select the individual or all of the components to install.

  • Visual Studio 2019 is huge. There are no official offline installers but Microsoft has provided ways to get the offline installation files and it all starts with the web installer.

  • I would recommend using the web installer as it is way more simpler. With web installer you also have the option to download the offline installation files first and then install.

  • Please note that these offline installation files downloaded using the web installer can be used to install Visual Studio on the same computer on which it was downloaded.

  • In case you you want to download the offline installations file to install Visual Studio on multiple computers, you have to use the command line utility provided by Microsoft. In this blog we will be using Web Installer only.

Visual Studio Community :

  • A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services.

  • You have three options, Enterprise, Professional and Community Edition.

  • Community Editions is free to use while the other two requires licence.

  • Since the process to install any of the version is the same, I will show you how to get setup with the Enterprise Edition so that you can play around with some premium features of Visual Studio.

  • This will install the Visual Studio Installer and from there on the process is pretty simple.

  • Select what components you want to install and have lots of patience and wait for the process to complete.

Step 2 – Install Video Studio Installer :

  • The process is pretty straight forward.Double click on the installer file to start the installation process. Below are the screenshots of the installation process.

  • Select the components you want to install. You have to click on the checkbox to select.

  • Once you have selected the components to install, you will see the disk space required.

  • Click on install to start the installation process. If you want to download the offline installer file, select download and then install before clicking install.

  • Wait for the installation process to complete. It will take a long time based on the components you have selected. if you select all the components, it will take around 2 hrs.

  • You will be asked to restart your computer after the installation completes.

  • After restart, search for visual studio from start menu to launch Visual Studio 2019.

  • You will asked to sign in. Click on may be later for now to continue.

  • Now you will be asked to select the color theme. Leave it as it is and click on Start Visual Studio. You can change the color theme later on also from visual studio settings.

  • That’s it VS 2019 is installed. Now you can create a new project or open an existing one.

How to modify or update Visual Studio :

  • To modify or update Visual Studio, for example remove or install a new component or just update VS 2019, open Visual studio installer from the start menu and check or uncheck the boxes based on your requirement and click on install to make the changes.

Software Release Life Cycle :

  • software release life cycle is the sum of the stages of development and maturity for a piece of computer software. 

  • Cycles range from its initial development to its eventual release, and include updated versions of the released version to help improve software or fix software bugs still present in the software.


Stages of Development :

Pre-alpha :

  • Pre-alpha refers to all activities performed during the software project before formal testing.

Alpha :

  • The alpha phase of the release life cycle is the first phase of software testing (alpha is the first letter of the Greek alphabet, used as the number 1)

Beta :

  • Beta, named after the second letter of the Greek alphabet, is the software development phase following alpha.

Perpetual beta :
  • Some software is kept in so-called perpetual beta, where new features are continually added to the software without establishing a final "stable" release.

Open and closed beta :
  • Developers may release either a closed beta also called private beta, or an open beta also called public beta; closed beta versions are released to a restricted group of individuals for a user test by invitation, while open beta testers are from a larger group, or anyone interested.

Release candidate :
  • release candidate, also known as "going silver", is a beta version with potential to be a stable product, which is ready to release unless significant bugs emerge.

Stable release :
  • Also called production release, the stable release is the last release candidate (RC) which has passed all verifications / tests.

Release :
  • Once released, the software is generally known as a "stable release". The formal term often depends on the method of release: physical media, online release or a web application.

Release to manufacturing (RTM) :

  • The term release to manufacturing (RTM), also known as "going gold", is a term used when a software product is ready to be delivered.

General availability (GA) :
  • General availability is the marketing stage at which all necessary commercialization activities have been completed and a software product is available for purchase, depending, however, on language, region, electronic vs. media availability.

Release to the Web (RTW) :
  • Release to the Web (RTW) or Web release is a means of software delivery that utilizes the Internet for distribution.

There are two separate Nutanix AOS tracks =>

Long Term Support Releases (LTS) and Short Term Support Releases (STS).

LTS :

  • Each LTS release is maintained for 3 months after the release date of the later LTS release.

  • The next LTS release is upgrade followed by an additional 6 months of troubleshooting support.

  • Long-term support (LTS) is a product lifecycle management policy in which a stable release of computer software is maintained for a longer period of time than the standard edition.

  • The term is typically reserved for open-source software, where it describes a software edition that is supported for months or years longer than the software's standard edition.

STS :
  • Each STS release is maintained until the next release.

  • The next LTS or STS release is upgrade followed by an additional 3 months of troubleshooting support.

  • Short term support (STS) is a term that distinguishes the support policy for the software's standard edition. 

  • STS software has a comparatively short life cycle, and may be afforded new features that are omitted from the LTS edition to avoid potentially compromising the stability or compatibility of the LTS release.

Comments

Popular posts from this blog

VS Code In JavaScript Day 6

ASP.NET MVC Interview Questions Part - II Day 26