Skip to main content

Visual Studio Online is here!

Introduction:

With Visual Studio Online getting some traction, it is something that is not stable but at-least it is a pathway to something great in the history of computing.

Pre-requisites:

Microsoft Office/Live Account
Microsoft Azure Subscription

Demonstration:

1. Signing Up with VS Online:
Goto https://online.visualstudio.com, you will see an introduction page.
Visual Studio Sign-in Page
After you have signed in, you will see a screen with no Azure Plans selected and no environments
Visual Studio Online Home Page
Here, you can select the environments, create plans based on your Azure Subscription, Create new environments.

2. Creating Plans:
From the VS Online homepage, you are need to create a plan first. For this you will need an Active Azure Subscription. Your VS Online is then hosted as per your Azure Subscription and the location where you want to host.
VS Online - Creating Plan

After you select your subscription, you can view it in your VS Online Plans.

3.Creating Environments:
With the help of your VS Online Plan, you are allowed to create an environment with Standard (4 Cores 8GB RAM) or Premium(8 Cores 16GB RAM).

Creating VS Online Environment

4. List of VS Online Environments and their process:
 With VS Online envrionments created there a list of options that you can do with it.
 i. Connect: Opens VS Online in the browser

VS Online - List of environments and options
After you have created a VS Online Environment, automatically a Resource Group is created in Azure. This means that VS Online is hosted in someplace inside Azure as a VM or a Docker container.

Azure Resource Group- VS Online.

i. Connect: Connects you to VS Online in the browser window itself.
VS Online - In the browser

ii. Suspend: This turns off  the VM hosting VS Online. After this you cannot access VS Online until you turn the instance ON. This means that you have option to save your Azure credits by turning this instance OFF.

iii. Delete: This action, deleted the VS Online Environment itself. After deletion of the VS Online environment, you cannot get it back. You will need to create a new environment. Also, check if the Resource Group in Azure gets deallocated or deleted.

iv. Open in VS Code: This action actually links your VS Code (Local) with your VS Online just like you are using a VM with VS Code installed on it.

VS Code Connecting to VS Online
Connecting VS Code to VS Online Environment
VS Code Connected with VS Online Environment

5.Installing VSIX Extensions:
After the VS Online is successfully setup, it is time to start working on it. Nothing comes first in mind except the great AL Language Extension. Lets try and install the AL Language Extension
Installing AL Language Extension
After the AL Language Extension is installed, let try to create a sample project for Business Central using AL: Go!
AL : Go! does not work
So I was let with no other choice but to explore the Work-space and folder structure.

6. Exploring Work-space and Folder Structure:
There is a terminal present by default where you can input Linux Bash commands and get to the desired folder.
Going back to the parent folders, I discovered that VS Online is hosted on Linux Kernel.
VS Online on Linux Kernel


Conclusion:

With Visual Studio Online, the dependency on the physical machine is reduced and most of the stuff can be done through browser.
Although there are some perks with the IntelliSense and issues which are expected in Public Preview, overall this Visual Studio Online seems pretty promising.
I also understand that I couldn't demonstrate the creation of AL Project and actually use it but I think I am missing some information which will help us create a AL Project in VS Online sooner.

Hope this helps! 👼👼

Comments

Popular posts from this blog

Something went wrong. An Error occurred - Error Resolution

Introduction: With the installation of NAV 2018 or BC On-premise, I have observed that when creating New Server Instance and New WebServer Instance, you will get the error 'Something went wrong. An Error occurred '. I referred to the community questions below but didn't find my resolution. Hence, I decided to write this blog. Pre-requisites: Microsoft Dynamics Business Central - On-Premise / NAV 2018 Understanding of Business Central Authentication  Books & References: https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/261301/nav-2018-web-client-an-error-has-occurred https://community.dynamics.com/business/f/dynamics-365-business-central-forum/421987/error-something-went-wrong-an-error-has-occurred-azure-ad-tenant Demonstration: 1. Creation of NAVServerInstance: In order to create NAVServerInstance, you can either add the Server Instance through Business Central Administration or Powershell command. Add Instance - Business Central Administration Add Insta...

How to resolve 'Edit in Excel' issues

  Introduction: As you know that D365 BC offers Edit in Excel functionality. But manipulating or customizing such a  standard functionality is difficult as there is not much control available. Hence, solving issues is also a difficult task. I will be resolving the issue for this specific issue, however, the debugging steps are similar. Pre- requisites : ODATA V4 Connectivity tool for Webservices Microsoft Dynamics 365 Business Central Books & References: https://community.dynamics.com/business/f/dynamics-365-business-central-forum/448226/issue-with-excel-add-in/ Demonstration: The way Edit in Excel works is that for a given page a Webservice is created adding PageID and Page Name. Hence, there are some Webservice connectivity checks in place to validate. 1. Edit in Excel Custom Action on the page: If you are adding Edit in Excel Action on the page, please ensure that you are providing appropriate PageName and Filter criteria as Webservice is using these parameters Refer Ed...

Setting up OAuth Authentication for Business Central Web Services / APIs

Introduction: After upgrading Business Central to version 17 (Wave2 2020), I found that there was an error telling me that WebService Key is going to be deprecated soon. Web Service Access Key is deprecated. Hence, I decided to explore and probably make it easier through this blog. Pre- requisites : Admin Access to Office 365 Admin Access to Azure Demonstration: 1. App Registration on Azure Portal: To enable OAuth authentication for any apps in Azure Active Directory, you will need to perform App Registration and set up the permissions and security details. i.) Register the App: Search for 'App Registration' on the Azure Portal. Click on New Registration Type in the App Names, Account Types and Redirect URI. Registering Application ii.) Setup API Permissions: Go to API Permissions > Add Permissions > Business Central App > Select Delegated Permissions > Select Other Permissions and Financials > Add Permissions Button. Setup API Permissions iii.) Setup Client Secr...