Module 1: Architecture Module Overview: Objectives
Module 1: Architecture Module Overview: Objectives
Module 1: Architecture Module Overview: Objectives
Module Overview
Microsoft Dynamics NAV 2013 is built on a three-tiered architecture model that
improves security, scalability, and flexibility of Microsoft Dynamics NAV. Microsoft
Dynamics NAV 2013 supports different client types and multiple configurations.
To install the Microsoft Dynamics NAV 2013, you can choose from several
predefined setup options.
Objectives
1-1
Installation and Configuration in Microsoft Dynamics® NAV 2013
• The client tier: A client user interface that provides the front end
(presentation logic layer).
• The middle tier or server tier: A multithreaded middle-tier server
that manages the business logic and all communication.
• The data tier: The SQL Server™ database server that provides the
data layer. It is augmented by Microsoft Dynamics NAV 2013
database components.
For every deployment of Microsoft Dynamics NAV 2013 you must install these
three core components.
You can have multiple instances of any of the core components in a production
environment. The diagram
The Three Tiers of the RoleTailored Architecture shows a simple installation that
has two SQL Server database computers, each associated with a single Microsoft
Dynamics NAV Server computer, each of which in turn supports two Microsoft
Dynamics NAV RoleTailored clients:
1-2
Module 1: Architecture
Each Microsoft Dynamics NAV Server computer can run several Microsoft
Dynamics NAV server instances. Each server instance can be connected to one
Microsoft Dynamics NAV database at a time. You can connect multiple server
instances to one and the same Microsoft Dynamics NAV database.
Component Purpose
Microsoft Dynamics NAV Server A tool for configuring and managing
Administration Tool Microsoft Dynamics NAV Server and
Microsoft Dynamics NAV sites.
1-3
Installation and Configuration in Microsoft Dynamics® NAV 2013
Component Purpose
Microsoft Dynamics NAV Web The Microsoft Dynamics NAV Web
client client enables you to access
Microsoft Dynamics NAV data over
the Internet.
The data tier in the Microsoft Dynamics NAV 2013 architecture consists of a
computer that is running the SQL Server database with which Microsoft Dynamics
NAV interacts. It also contains the SQL Server database components. SQL Server
database components configure Microsoft SQL Server to work with Microsoft
Dynamics NAV 2013.
The data tier can be installed as part of the Microsoft Dynamics NAV setup, or you
can use an instance of SQL Server.
In Microsoft Dynamics NAV setup, SQL Server database components are a default
component for the developer option. You can add the components to the server
option or as part of a custom installation.
1-4
Module 1: Architecture
The Server Tier
Microsoft Dynamics NAV Server also hosts and executes all business logic. The
SQL Server interface from Microsoft Dynamics NAV Server is rewritten for
Microsoft Dynamics NAV 2013. It uses an ADO.NET interface (instead of ODBC)
which is a managed data access layer that does not provide an interface or an
access point to the user (improving security and scalability) and that supports SQL
Server connection pooling. The redesign of data access offers different
advantages:
Microsoft Dynamics NAV 2013 offers improved performance for the following
reasons:
1-5
Installation and Configuration in Microsoft Dynamics® NAV 2013
• In most cases, filtering on FlowFields issues a single SQL statement. In
earlier versions of Microsoft Dynamics NAV, filtering on FlowFields
issued an SQL statement for each filtered FlowField and for each
record in the table in order to calculate the filtered FlowFields. There
are two exceptions in Microsoft Dynamics NAV 2013 in which filtering
on FlowFields does not issue a single SQL statement:
o The ValueIsFilter option is used on a field, and the field has a
value.
o A second predicate is specified on a source field, and the field
that is used for the second predicate has a value.
For more information about the ValueIsFilter option, see How to:
Create, View, and Edit a Calculation Formula in the online help.
• In most cases, calling the FIND or NEXT functions after you have set
the view to include only marked records issues a single SQL
statement. In an earlier version of Microsoft Dynamics NAV, calling
FIND or NEXT functions that use marked records issued an SQL
statement for each mark. There are some exceptions if many
individual records are marked. For more information, see
MARKEDONLY Function (Record) in the online help.
Microsoft Dynamics NAV Server supports a range of different client types. You
administer Microsoft Dynamics NAV Server by using either Microsoft Dynamics
NAV Server Administration Tool or Microsoft Dynamics NAV Windows PowerShell
API.
Microsoft Dynamics NAV Server is installed when you select either the Server
option or the Developer option in Microsoft Dynamics NAV Setup.
1-6
Module 1: Architecture
The Client Tier
The client tier provides the client interface to the user and is responsible for data
presentation. It consists of the following components:
In addition to the client for Windows, Microsoft Dynamics NAV 2013 also supports
additional client types.
The following can be considered Microsoft Dynamics NAV clients because they
interact with the Microsoft Dynamics NAV database through Microsoft Dynamics
NAV Server:
1-7
Installation and Configuration in Microsoft Dynamics® NAV 2013
Although SOAP web services, OData web services, and NAS services are
considered clients, they must be installed and configured through Microsoft
Dynamics NAV Server.
Multiple Configurations
1-8
Module 1: Architecture
RoleTailored Client for Windows
For each role, the Microsoft Certified Partner or developer creates a customizable
Role Center that displays key information that is required for relevant employees
and makes their day-to-day tasks easier to complete. Users run the RoleTailored
client for Windows to find the information and data entry points their jobs
require.
The following figure shows the role-oriented interface in the RoleTailored client
for Windows.
1-9
Installation and Configuration in Microsoft Dynamics® NAV 2013
The RoleTailored client for Windows is installed when you select either the Client
option or the Developer option in Microsoft Dynamics NAV Setup.
Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint 2010 is a set
of components that can be used to build Microsoft SharePoint web applications
that display Microsoft Dynamics NAV pages and reports.
Using the Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint, a
Microsoft Dynamics NAV administrator can create a browser application that
provides access to specific Microsoft Dynamics NAV features, applications, and
pages.
The Microsoft Dynamics NAV Portal Framework for SharePoint diagram shows the
tiers and components of the Microsoft Dynamics NAV Portal Framework network
architecture.
Tier Description
Client A computer or computers for accessing
SharePoint sites from Internet Explorer®.
1 - 10
Module 1: Architecture
Tier Description
Microsoft Dynamics NAV A Microsoft .NET Framework–based Windows
Server service that manages communications and
provides a security layer between clients and
Microsoft Dynamics NAV databases in SQL
Server.
Developer Experience
Developers of solutions for Microsoft Dynamics NAV Portal Framework will have
the same experience as with RoleTailored client. Developers create Microsoft
Dynamics NAV objects in the development environment and implement the same
metadata and business logic as RoleTailored client. A page or report that can be
displayed in the RoleTailored client can also be displayed on a SharePoint site.
End-user Experience
End-users will find Microsoft Dynamics NAV data familiar as it shares the same
appearance as SharePoint. Working with Microsoft Dynamics NAV pages and
reports in SharePoint resembles working with the pages and reports in
RoleTailored client.
Microsoft Dynamics NAV Portal Framework is designed for occasional users who
typically need an overview of their daily work status and perform fairly simple or
light data entry.
1 - 11
Installation and Configuration in Microsoft Dynamics® NAV 2013
Developers can publish two types of web services from Microsoft Dynamics NAV
objects:
Microsoft Dynamics NAV 2013 web services are stateless and do not preserve the
values of global variables or single-instance codeunits between calls.
SOAP web services provide full flexibility for building operation-centric services.
This includes industry standard interoperability, in addition to channel and host
plug-ability. For web services that must interoperate with Java or use channels
other than HTTP, SOAP services are the only option. Windows Communication
Framework (WCF) has supported SOAP services since its initial release in the .NET
Framework 3.0, and .NET 4 adds more support and default bindings to make it
easier to build SOAP services that use WCF. You define and publish Microsoft
Dynamics NAV 2013 SOAP web services in the RoleTailored client, and manage
them from the Microsoft Dynamics NAV Server Administration Tool.
The Microsoft Dynamics NAV Application Server can run both as a Windows
service and from a command prompt. It provides access from external clients to
the Microsoft Dynamics NAV database. Microsoft Dynamics NAV Application
1 - 12
Module 1: Architecture
Server runs key components of the business logic. Therefore, it can start processes
to produce refined results exactly as if one were requesting information from the
Windows client.
You manage NAS services from the Microsoft Dynamics NAV Server
Administration Tool.
The Microsoft Dynamics NAV Web client enables you to access Microsoft
Dynamics NAV data from a web browser, even over the Internet. You can view
and edit data by using an interface that resembles the RoleTailored client for
Windows. Microsoft Dynamics NAV Web client does not replace the Windows
client but complements it by enabling scenarios that are not possible or difficult
with the Windows client.
You develop solutions for Microsoft Dynamics NAV Web client by using the
Microsoft Dynamics NAV Development Environment - implementing the same
objects and business logic as you would with the Windows client.
Note: Microsoft Dynamics NAV Web client supports most of the same
Microsoft Dynamics NAV objects and features as the Windows client. But there are
some small differences. For more information about these differences, see the online
Help topic Feature Limitations of Microsoft Dynamics NAV Web Client.
The Microsoft Dynamics NAV Web Client Architecture diagram shows the tiers
and components in the network architecture for the Microsoft Dynamics NAV
Web client.
1 - 13
Installation and Configuration in Microsoft Dynamics® NAV 2013
Tier Description
Client A computer or device that has access to
the Internet with a browser.
Installation Options
After you have analyzed and prepared the hardware and software requirements
for the Microsoft Dynamics NAV 2013 deployment, you can start to install the
core components.
Microsoft Dynamics NAV 2013 Setup allows you to install the components
individually. In addition it offers several predefined component packages called
Installation Options, each designed for a typical use or type of user. When you
select a predefined installation option, you can always customize the list of
installed components.
Microsoft Dynamics NAV 2013 Setup can also be used to capture and save a set of
custom setup settings in a setup configuration file. You can use this configuration
file together with Setup, either when you or another user runs Setup or when you
run a silent installation.
The first installation option, which is the Install Demo option, appears on the first
page after you accept the license agreement in Setup. The other options are
available if you click Choose an installation option.
1 - 14
Module 1: Architecture
Setup does not provide a Cancel button on all pages. But you can cancel an
installation from any page by clicking Close in the upper-right corner. All
Microsoft Dynamics NAV components are removed from the computer. The only
components that Setup installs but cannot remove are as follows:
Install Demo
The Install Demo option is intended for users who want to try the features of
Microsoft Dynamics NAV. It can also be used to install a stand-alone development
environment. Therefore, a developer can work on Microsoft Dynamics NAV
applications without worrying about network connections and inter-component
security. We do not recommend it as the foundation for an actual production
environment.
With this option, Setup installs all three core components to the local computer.
Because the Microsoft Dynamics NAV Server can only be installed on a 64-bit
operating system, you can only use this option on a 64-bit operating system.
1 - 15
Installation and Configuration in Microsoft Dynamics® NAV 2013
Installed Components
When you choose the Install Demo option, Setup installs the following
components:
When you click Demo Install, Setup begins to copy files. After this, you have no
more interaction with Setup (except to click Close to exit Setup when it is finished
copying files).
Setup cannot install an .mdf file (the data file for a database) to the local
computer if the destination folder or drive is compressed.
Server Option
1 - 16
Module 1: Architecture
Installed Components
When you choose the Server option, Microsoft Dynamics NAV 2013 Setup installs
the following component:
• Microsoft Dynamics NAV Server. This forms tier two in the Microsoft
Dynamics NAV three-tier product architecture. (RoleTailored client is
tier two, and SQL Server Database Components, together with SQL
Server or SQL Server Express, is tier three.)
• Microsoft Dynamics NAV Server Administration Tool. This tool is
discussed more in the "Microsoft Dynamics NAV Server" module in
this course.
You can configure the Server option to add or remove components by clicking
Customize under the Server option on the Choose an installation option pane.
Client Option
1 - 17
Installation and Configuration in Microsoft Dynamics® NAV 2013
Installed Components
When you choose the Client option, Microsoft Dynamics NAV Setup installs the
following component:
The RoleTailored client forms tier one in the Microsoft Dynamics NAV three-tier
product architecture. (Microsoft Dynamics NAV Server is tier two, and SQL Server
Database Components, together with SQL Server or SQL Server Express, is tier
three.)
You can configure the Client option to install additional components by clicking
Customize under the Client option on the Choose an installation option pane.
If you install the Windows client by using any installation option other than the
Install Demo option, you must provide some initial configuration information to
enable the client to establish a connection with an instance of Microsoft Dynamics
NAV Server. Configuring the Windows client during and after installation will be
discussed later in this course.
1 - 18
Module 1: Architecture
Developer Option
The set of components installed with the Developer option includes components
a developer would typically use in designing Microsoft Dynamics NAV
applications for a customer company. It can also be used for administrative tasks
such as creating a database, managing users, and creating and assigning
permission sets.
Installed Components
When you choose the Developer Environment option, Setup installs the
following components:
Installed Components
This option differs from the other installation options that are available on the
Choose an installation option page in Setup. It is not a subset of the complete
list of available components for a particular type of user or configuration. Instead,
it is the full list of Microsoft Dynamics NAV components from which you can
select individual components to install. You can use this list to design your own
installation option.
1 - 19
Installation and Configuration in Microsoft Dynamics® NAV 2013
Choose Components to Install
When you run Microsoft Dynamics NAV 2013 Setup, you can install a predefined
component package. These packages are called Installation Options. If you have
to modify the set of components that are included in an existing installation
option, then you can click Customize under any installation option. If you want to
install components that are not all available in a predefined installation option,
then you can click Custom Components.
Note: You can customize the component list for the Client, Server, or
Developer installation options. However, only with the Developer option can you
choose from the complete set of Microsoft Dynamics NAV components. The range
of available components for the other two installation options is limited to
components that are relevant for that option.
In this procedure, you use the Component Selection page to select what to
install.
1 - 20
Module 1: Architecture
Note: To install Microsoft Dynamics NAV to a location other than the default
location, on the Customize the installation page, click Destination folder.
2. Select the components that you want to install on the Customize the
installation page.
Options are presented in a tree view. The tree has three levels:
- The top level shows only a single node, which is Microsoft Dynamics
NAV.
- The second level shows additional nodes that each identify a
component such as Client and Server. Some second-level nodes have
a plus sign on the left. Click the plus sign to expand the third level of
the hierarchy.
- The third level shows subcomponents for the selected second-level
component.
1 - 21
Installation and Configuration in Microsoft Dynamics® NAV 2013
Component Node Description
The component is
FIGURE 1.9: COMPONENT NODE SELECTION selected for
STATUS installation. Some or
none but not all of
the subcomponents
are also selected.
Only items on the
top or second level
can be inactive
because only these
nodes can have
subcomponents.
Neither the
component nor any
FIGURE 1.10: COMPONENT NODE SELECTION
of its subcomponents
STATUS
are selected for
installation.
1 - 22
Module 1: Architecture
Preconfigure Components
With Microsoft Dynamics NAV Setup, you can preconfigure components before
you install Microsoft Dynamics NAV so that you do not have to configure them
after. You can use the Specify parameters page to associate configuration
settings with a component before installation.
1. In Setup, on the Specify parameters pane, supply all settings for the
listed components.
2. When you have finished configuring a component, click Apply to
validate your settings. If there are issues with the settings that you
have selected, then information about these issues is displayed on the
Problems were identified for this configuration pane.
After you have solved possible problems displayed on the Specify parameters
page, you can continue Microsoft Dynamics NAV Setup with the configuration
settings applied. The settings will only be valid for the current installation. When
you run Setup again, you will have to re-enter the settings.
After you finish customization and configuration of the components to install, you
can save this information to a Setup configuration file. You can use this file
together with Setup, either when you or another user runs Setup or when you run
a silent installation.
You can create a new setup configuration file or save a modified setup
configuration file on the Specify parameters page in Microsoft Dynamics NAV
Setup. This page is available when you run Setup unless you select Install Demo,
which skips all other Setup pages.
1 - 23
Installation and Configuration in Microsoft Dynamics® NAV 2013
3. Click Save.
You now return to the Specify parameters page, where you can continue with
installing software. You can also close Setup if you only have to create a Setup
configuration file.
Instead of using the Setup wizard, you can run Microsoft Dynamics NAV 2013
Setup at a command prompt. You can do this by starting the Setup.exe on the
Microsoft Dynamics NAV installation media. (Setup.exe is in the root directory.)
1 - 24
Module 1: Architecture
If you want to use a Setup configuration file when you run Setup.exe from the
command prompt, you can add the /config parameter:
The /config parameter includes the path and file name information for a Microsoft
Dynamics NAV 2013 Setup configuration file to load.
To edit a Setup configuration file, you can either use an XML editor or you can
load it into Microsoft Dynamics NAV Setup, make the desired modification, and
then save the file. You do not have to install any software during this process.
1 - 25
Installation and Configuration in Microsoft Dynamics® NAV 2013
Module Review
Module Review and Takeaways
1. How many core components does the Microsoft Dynamics NAV 2013
architecture contain?
( )2
( )3
( )4
( ) unlimited
1 - 26
Module 1: Architecture
4. What is the role of the Data Binder component in the Microsoft Dynamics
NAV 2013 architecture?
( ) It saves input data, data state, and data notifications only on the client
( ) It sends data, data state, and notifications from the business logic to
the client and back again.
( ) You can use Microsoft Dynamics NAV business web services only to
read data from the Microsoft Dynamics NAV database.
( ) You can generate SOAP web services and OData web services from
Microsoft Dynamics NAV page objects.
6. Which installation option will install all core components without additional
interaction with Setup?
( ) Developer Option
( ) Server Option
( ) Client Option
1 - 27
Installation and Configuration in Microsoft Dynamics® NAV 2013
1. How many core components does the Microsoft Dynamics NAV 2013
architecture contain?
( )2
(√) 3
( )4
( ) unlimited
4. What is the role of the Data Binder component in the Microsoft Dynamics
NAV 2013 architecture?
( ) It saves input data, data state, and data notifications only on the client
(√) It sends data, data state, and notifications from the business logic to
the client and back again.
1 - 28
Module 1: Architecture
5. What is true about Microsoft Dynamics NAV business web services in
Microsoft Dynamics NAV 2013?
( ) You can use Microsoft Dynamics NAV business web services only to
read data from the Microsoft Dynamics NAV database.
(√) You can generate SOAP web services and OData web services from
Microsoft Dynamics NAV page objects.
6. Which installation option will install all core components without additional
interaction with Setup?
( ) Developer Option
( ) Server Option
( ) Client Option
1 - 29
Installation and Configuration in Microsoft Dynamics® NAV 2013
1 - 30