Loading...
Friday 10 April 2020

Introduction to Visual Studio - VS IDE

What is IDE (Integrated Development Environment)?

IDE stands for Integrate Development Environment , is any software which is used to build software application programs or web application programs. Why the software development environments are called IDE, this is because, they provide complete tools for software development such as, editor to type or edit code, translator such as compiler or interpreter to translate the written program into computer language, debugger to debug or find errors in the program, linker which links the source code with libraries , loader which loads the program into memory while execution etc. Here Integrated means the integration of tools to make it whole, development means development of application and environment means platform where we develop the software application.

What is C# IDE? 

Visual Studio is the IDE for C# , which is not only IDE for C#  but is is a common IDE for all Microsoft languages. 

What is Visual Studio IDE? 

As already discussed IDE stands for Integrated Development Environment is any environment which is used for software development. Microsoft Visual Studio is a common IDE for all .net languages such as C#, Visual Basic, Visual C++, F# etc. by Microsoft corporation. It is common for all Microsoft languages  which means it is only for C# but it is also used for other programming languages like Visual Basic - VB, Visual C++, F# etc. It is used by all programmers which use Microsoft technologies such as Visual Basic Developers, Visual C# Developers, Visual Basic Developers etc.
The common tools which are required to develop software are (Editors, Translator, Debugger, Linker)

  • Editor: used to type / edit code
  • Translator: The programs , such as interpreter or compiler which translates the code written in any high level language to machine language. 
  • Debugger: which is used to check and fix code errors 
  • Linker: which links the program object codes with libraries 
  • Loader: which loads the program to ram for execution. 

What are Main Parts of Visual Studio IDE? 

Start Page The window which opens at start up visual studio
New Project Dialogue Box: The dialogue box which is used to create any type of project. it appears when you click New Project button in Start Page or File -> New -> New Project (Ctrl + Shift + N)
Solution Explorer: The windows which contains All The files of Solution and some other buttons.
Designer Window (Shift + F7) : This window is container of your application, means we design our Software on this window.
Code Window (F7): The window is used for coding.
Intellisense: The menu which appears during typing any code, which produces its relevant  methods, properties etc.
Properties Window(F4): The window which is used to set Properties of controls. Properties are settings of controls.
ToolBox: Toolbox contains controls which are used to create application.
Error List: lists the errors and warnings in Program 

Visual Studio 2019 features 

Visual Studio 2019 provides a lot to like, it offers best-in-class services and tools for any platform, app and developer. Here's a high level quick of what's new:

  • Develop: improved code cleanup, instant code, performance and better search results which enable developer stay focused and productive. 
  • Collaborate: Collaborate through Git-first-workflow, debugging, code reviews and editing 
  • Debug:Navigate and highlight specific values, take automatic snapshots of applications's executions and optimize memory use. 

10 new features and improvements in Visual Studio 2019

  1. New Start Page 
  2. Live Share
  3. Improved refactoring 
  4. Enhanced search experience 
  5. Search while debugging 
  6. Intellicode 
  7. Code clean up with one click
  8. Per Monitor Aware Rendering (PMA)
  9. Test Explorer 
  10. .Net Core 

New Start Page 

Start Page is the first start window as you open visual studio 2019,  in visual studio 2019 this start page has improved, it is major change in this version which you can notice.

visual studio 2019 start page
visual studio start window

Live Share

It is developer service in vs 2019 that enables to share code context and debugging process with your team and allows to get live access within Visual Studio yourself like Google document services. it enables your team to read, edit, debug and navigate the developing project securely in a natural way.

visual studio 2019 live share
Visual Studio 2019 live share

Improved refactorings 

In visual studio 2019 refactoring has came up with new advance features and these are used to organize your code in a structured manner. These refactoring shows suggestions in the light bulb icon and contains actions such as moving members to base class or interface, make change in the namespaces which matches folder structure, conversion of foreeach loop  to linq queries and more, Press Ctrl+. to invoke refactorings and select the action that you want.

visual studio 2019 refactoring feature
visual studio 2019 refactoring feature

Enhanced Search Experience 

One of the very useful feature in vs 2019 is the updated search box, formerly known as Quick Launch. It is more quick and effective.It shows search results dynamically as you type. Search results which you will get often contains keyboard short cut for commands which helps yo to memorize them for future use. The new search feature make it easier for developers to find anything regard less of typos, whether developers look for documentations, settings, commands or any other useful things, the new search feature make it easier and quicker. 

visual studio 2019 enhanced search experience
visual studio enhanced search experience 

Search while debugging

You may already know that debugging is the process of finding and eliminating errors from software. 
In Visual Studio 2019 searching while debugging is added Watch Windows, Autos and Locals used to search objects and values. 
search while debugging feature in visual studio 2019
search while debugging feature in visual studio 2019

IntelliCode

Intellicode is an extension for Visual Studio, it enhances the software and web development using AI (Artificial Intelligence). IntelliCode in visual studio 2019 provides suggestions and coding objects in the development. It has gain 2000 open source projects on github each with 100 starts to generate its recommendation. IntelliCode in Visual Studio 2019 enhances productivity by delivering context-aware code completions , Guide programmers adhere styles and patterns of their team, focusing on code reviews with drawing attention to areas that matters.
Intellicode in Visual Studio 2019
IntelliCode in Visual studio 2019

Code clean up with one click

Visual Studio 2019 new code cleanup command , paired with new document health indicator is used to detect and then fix both suggestions and warnings with one-click button. It helps you to format the code and apply any code fixes as suggested by the current settings and .editconfig files. It also enables you to save the collections of fixers as a profile, such as if you have a different dynamic collection of fixers to apply before a code syntax review, you can configure different profiles to address the different tasks. 
visual studio 2019 code clean up feature
Code clean up with on click

Per Monitor Aware Rendering (PMA)

In previous visual studio , if you had worked with monitors that was installed with different scale factors or these were connected remotely to a machine with which shows different scale factors that differs from primary device, you may notice that visual studio show blurry results or produces with wrong scale factors. 
pma - per monitor rendering in visual studio 2019
Per Monitor Aware Rendering - PMA 

Test Explorer

Test Explorer offers better handling of large sets of tests, more discover-able commands, easy filtration, customizable columns and tabbed playlist views which enable you to fine-tune test information which is displayed.
visual studio test explorer
Text explorer in visual studio 2019

.NET Core

.Net Core 3.0 is now included in Visual studio 2019 which is Open Source , Cross Platform and fully supported by Microsoft.

Editions of Visual Studio 2019

  1. Visual Studio Community Edition
  2. Visual Studio Professional Edition
  3. Visual Studio Enterprise Editions

Visual Studio Community Edition

Visual Studio 2019 community edition is a latest free edition of visual studio. Prior to community editions there were expression editions  as free version of visual studio with limited features and expression edition support single language. Unlike express edition, community edition support multiple languages.

Visual Studio Professional Edition

Visual Studio 2019 Professional edition is entry level commercial edition of visual studio. This edition is same like community edition but the difference is in cost and license terms. There are no operational differences between Visual studio community edition and visual studio professional edition.  You are not allowed to use free community editions in a professional organization. Community Edition

Visual Studio Enterprise Editions

 Visual studio 2019 Professional Edition is used by minimal team (5 -25 developers) and small projects. Visual studio 2019 professional edition is not for bigger organizations while Visual Studio enterprise edition is for bigger organizations, which have more annual income and profits.

Introduction to Visual Studio IDE Video Tutorial



0 Comments:

Post a Comment

 
TOP