Dynamicweb.ProjectTemplates
1.9.0
dotnet new install Dynamicweb.ProjectTemplates::1.9.0
Dynamicweb 10 project templates
DynamicWeb have created some custom project templates, that can be used with dotnet new
, which makes it easier to get up and running on a DynamicWeb.
Below you'll find the guide with the steps required to install DynamicWeb using .NET CLI
Install the template
Install the latest .NET SDK
Open PowerShell and install the latest version of the templates package:
$ dotnet new install Dynamicweb.ProjectTemplates
After this package has been installed, you can get a list of all installed project templates on your computer:
$ dotnet new --list dw
All DynamicWeb 10 project templates is named Dynamicweb 10 - {name}
.
Template Name Short Name Language Tags
--------------------- ---------- -------- ----------------------------
Dynamicweb 10 - CMS dw10-cms [C#] Dynamicweb/CMS
Dynamicweb 10 - Suite dw10-suite [C#] Dynamicweb/CMS/Ecommerce/PIM
Currently, we supply the following project templates:
Suite (dw10-suite)
This template is the full setup of DynamicWeb and include all the functionality
- Content
- Assets
- Users
- Commerce
- Products
You'll need to use this template if your project requires both Content, Commerce and PIM.
CMS (dw10-cms)
This template contain only the functionality of DynamicWeb, which is needed for running a Content website on DynamicWeb.
- Content
- Assets
- Users
Creating a DynamicWeb project
Now that you have installed the dotnet new
templates, you can use these to create a DynamicWeb project that can run directly from inside Visual Studio.
To create a project using the newly installed templates, you need to use this command
$ dotnet new {template name}
This mean that if you need to install the DynamicWeb 10 - Suite template, you need to enter
$ dotnet new dw10-suite
This command will create a new DynamicWeb project, which contain everthing you need to get up and running. So now you basically just need to open the project in your favorite IDE or continue using the .NET CLI.
Running DynamicWeb
If you open it in the IDE (e.g Visual Studio), then you just need to open the project and press F5 or clicking Run to build the project and launch the site. The site will be accessible as long as your IDE is running.
If you prefer to run your DynamicWeb project using the .NET ClI, then you need to navigate to the folder containing the csproj file, and enter this command
$ dotnet run
In the output of the terminal, you should be able to see which url your solution is running at, and be able to access that through your browser. If you want to provide a specific URL, you can do it like this:
$ dotnet run --urls=http://localhost:5001/
No matter if you are using an IDE or .NET CLI to run your DynamicWeb project, you will be taken to the Dynamicweb 10 installer the first time you access the site, which will guide you through setting up the Files-folder and the database.
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.9.0 | 159 | 10/29/2024 |
1.8.0 | 259 | 9/24/2024 |
1.7.0 | 217 | 8/27/2024 |
1.6.0 | 340 | 6/25/2024 |
1.5.0 | 248 | 5/28/2024 |
1.4.1 | 174 | 5/2/2024 |
1.4.0 | 130 | 4/30/2024 |
1.3.0 | 248 | 4/2/2024 |
1.2.0 | 643 | 3/5/2024 |
1.1.0 | 1,209 | 1/30/2024 |
1.0.0 | 1,099 | 6/14/2023 |
0.0.11 | 259 | 5/30/2023 |
0.0.10 | 244 | 5/24/2023 |
0.0.9 | 231 | 5/22/2023 |
0.0.8 | 256 | 4/26/2023 |
0.0.7 | 683 | 1/27/2023 |
0.0.6 | 708 | 9/7/2022 |
0.0.5 | 461 | 9/7/2022 |
0.0.4 | 472 | 9/7/2022 |