Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

February 2019

Top 6 Reasons to Run Visual Studio Code on Servers

Many developers today author code locally on laptops with text file emphasis (JS/HTML/CSS/PS1).   Running the same tools on Server O/S comes brings many benefits, listed below.  Cheers. 

shades_smile

Reasons

  1. High performance – Faster CPU, higher RAM, and low latency network connections within the data center offer premium speed for any heavy operations.   Even with a cloud remote API world, leverage those network connections bring faster execution time than any local laptop script could offer.
  2. Long running operations – Execution of large PowerShell scripts, inventory of cloud hosting systems, can run for many hours.   Having a stable location to host those scripts provides continued uptime.   Laptops can disconnect wifi, sleep, or shutdown.   Find a stable home for large script runs.
  3. Debug server side code – With SharePoint Server on-premise, for example, you can access site collections locally.   Having VS Code available on the server provides familiar rich debug experience for productivity on both frontend (and classic back end) development. 
  4. Share work with peers – Ability to disconnect remote desktop RDP sessions and “pass the ball” to co-workers provide higher coverage.   VS Code is a great location to not just code but also execute scripts.   Leaving remote desktop open with a service account gives higher staff cross training where peers can resume each other’s work seamlessly.    No need to even remember folder paths, just connect and begin.
  5. Training consistency – Same mechanics for local laptop coding can be employed on server side.  No need to “flip modes” and fall back to PowerShell ISE, Notepad, or old editors.  
  6. Extensions – Productivity gains from time saving and error checking third party extensions.   Not just for local laptops.   Same benefits can be realized when we’re working server side too.

Video

Top 6 Reasons to Run Visual Studio Code on Servers from Jeff Jones on Vimeo.

References

Image result for vs code

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲