How to install DynamicWeb 10 in different scenarios.
The easiest way to install DynamicWeb 10 is to set up a project using our template package.
Open a terminal (e.g. PowerShell) and install the latest version of the templates package:
dotnet new install Dynamicweb.ProjectTemplates
Now you need to create a new DynamicWeb 10 project by entering...
dotnet new dw10-suite --name Dynamicweb.Host.Suite
The name parameter determines what the executable will be called and can be omitted.
This will create a custom Dynamicweb project with all the correct dependencies.
Now you need to build and run your project. This can be done either by running the following command in the terminal from the folder containing the csproj-file:
or by opening the .csproj file in Visual Studio or an equivalent editor and start the project by pressing F5 or clicking Run to build the project and launch the DW10 Installer in your browser using the built-in IIS Express. The DW10 installer will help you generate or connect to a database and Files-folder.
If PowerShell cannot find the ProjectTemplates package, you may need to add nuget as the default package source:
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
There are other ways to install DynamicWeb 10 - see more guides below.
- Install using .NET CLI
- Install using Swift
- Install using a Mac
- Install using VS Code
- Install using a zipped milestone release
To update a DynamicWeb 10 project installed using our project templates, first navigate to the project folder in a terminal and then type:
dotnet add [project file name] package Dynamicweb.Suite