Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition

You're reading from  Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition

Product type Book
Published in Dec 2018
Publisher
ISBN-13 9781789133936
Pages 764 pages
Edition 4th Edition
Languages
Authors (2):
Roberto Stefanetti Roberto Stefanetti
Profile icon Roberto Stefanetti
Alex Chow Alex Chow
Profile icon Alex Chow
View More author details

Table of Contents (22) Chapters

Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Exploring Dynamics NAV and MSDYN365BC – Overview Microsoft Dynamics NAV 2018 – An Overview General Considerations Implementation Process – Partner's Perspective Implementation Process – Customer's Perspective Migrating Data Upgrading to Dynamics NAV and MSDYN365BC Development Considerations Implementing Functional Changes Data Analysis and Reporting Debugging with Dynamics NAV and MSDYN365BC Popular Reporting Options Microsoft Dynamics 365 Business Central Working and Developing with Docker and Sandboxes Other Books You May Enjoy Index

Chapter 14. Working and Developing with Docker and Sandboxes

In the previous chapter,we discussed, in detail, Microsoft Dynamics 365 Business Central, illustrating its features and the principles for which it was introduced, as well as how it works. In this chapter, we will talk about sandboxes environments, we can use to do the following:

  • Develop and test  
  • Testing a demo company
  • Testing copies of production data

These environments are useful for both Microsoft Dynamics 365 Business Central on-premise and SaaS.

Introducing Docker, sandboxes, and their benefits


In this section, we will start our discussion on containers, Docker and sandboxes.

Containers and Docker

Containers are tools that are widely used today because they are based on virtualization that can be used for different purposes. Container provides operating-system-level virtualization, they shares the host system's kernel with other containers. The only limitation to the number of containers that can be used on a machine are memory, the processor, and disk limits.

Docker is a set of tools for creating containerized apps, Docker for Windows is the best way to get started with Docker on Windows systems.

Comparison between virtual machine and Docker technology

Note

Got Docker for Windows? If you have not yet installed Docker for Windows, see https://docs.docker.com/docker-for-windows/install/ for an explanation of stable and edge channels, system requirements, and download and install information. You can visit the page for Docker for Windows...

Using sandboxes for Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central


In this section, we will start by taking a look at sandboxes.

Sandbox types

There are two sandbox types that can be used for Microsoft Dynamics 365 Business Central—an online or on-premise sandbox that be managed locally or through Microsoft Azure. There are differences between the two types of sandbox and how they can be used, detailed in the following table.

The following table shows capability comparison:

SaaS sandbox

Local sandbox (container or Azure VM)

Managed by Microsoft

Managed by a partner

Uses VS Code only

Uses VS Code, C/AL, and SQL Server

The production and sandbox is in the same environment

Located in Docker container environments

Cost—subscription required

Costs—Charged on Azure; free on local

No database access (backups and load balancing is managed by Microsoft)

Full database access

Debugging

Debugging

Visual Studio Code and "In-client" Designer

Visual Studio Code, "In-client" Designer, C/SIDE, and SSMS

How...

Using Docker for Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central


In this section, we will discuss how to use Docker for Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central.

Working with Docker for Microsoft Dynamics NAV 2018 and Microsoft Dynamics 365 Business Central on-premises

As we've already mentioned, it is possible to use Docker to install local sandbox environments; in these environments, it is possible to develop, debug, and test procedures and apps without touching the production environment at all. Deployments in Docker can be created, deleted, and recreated in a short amount of time, so they are a very useful tool for all developers and consultants who use either Microsoft Dynamics NAV or Microsoft Dynamics 365 Business Central.

Docker's best commands

The following list features some of the most useful commands in Docker:

  • docker images: Shows the container list
  • docker pull: Downloads an image
  • docker rmi: Removes an image
  • docker run: Runs an image
  • docker...

Summary


In this chapter, we offered step-by-step instructions on how to install, configure, and activate Docker and sandbox environments for test data, setup, and development in Microsoft Dynamics 365 Business Central and Microsoft Dynamics NAV. Sandbox environments are very useful for developing and testing data and applications before uploading them in a Microsoft Dynamics 365 Business Central SaaS production environment.

Sandbox environments, whether online or in Docker containers, are useful for everyone—customers, developers, and consultants—when studying and testing new product releases. They enable you to create, delete, and recreate products in a very simple way. In addition to Microsoft Dynamics 365 Business Central, Docker and sandboxes are also very useful for older versions of Microsoft Dynamics NAV when simulating upgrades, trying out new product releases, testing new cumulative updates, and so on.

Further considerations


Although this book is now finished, I would like to offer some considerations.

Remember that Microsoft constantly updates and changes its products, so some images and screenshots may not be as up-to-date as possible at the time of reading. The writing mode for this book is in line with my blog posts.

Thank you for reading and enjoy! 'Til we meet next time.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition
Published in: Dec 2018 Publisher: ISBN-13: 9781789133936
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}