Skip to content

Commit bce2db1

Browse files
authored
Merge pull request #7135 from umbraco/v16-updates
Updates from v15 to v16
2 parents ebfa075 + 8d2225d commit bce2db1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7598
-2325
lines changed

10/umbraco-cms/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@
415415
* [Add Google Authentication](tutorials/add-google-authentication.md)
416416
* [Add Microsoft Entra ID authentication (Members)](tutorials/add-microsoft-entra-id-authentication.md)
417417
* [The Starter Kit](tutorials/starter-kit/README.md)
418+
* [Install the Starter Kit](tutorials/starter-kit/install-the-starter-kit.md)
418419
* [Lessons](tutorials/starter-kit/lessons/README.md)
419420
* [Customize the Starter Kit](tutorials/starter-kit/lessons/1-customize-the-starter-kit.md)
420421
* [Add a Blog Post Publication Date](tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date/README.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Install the Starter Kit
2+
3+
Installing the Starter Kit provides a pre-built set of templates, content types, and demo content to explore or kickstart your Umbraco project.
4+
5+
## Outcome
6+
7+
You’ll have the Umbraco Starter Kit installed in your local project, ready to explore in the backoffice. This setup adds example content and templates, perfect for learning or quick prototyping.
8+
9+
## Steps
10+
11+
You can install the Starter Kit in two ways, depending on your preference:
12+
13+
* [Option 1: Install via .NET CLI](#option-1-install-via-net-cli)
14+
* [Option 2: Install via Visual Studio](#option-2-install-via-visual-studio)
15+
16+
### Option 1: Install via .NET CLI
17+
18+
To install the Starter Kit via the .Net CLI, follow these steps:
19+
20+
1. Open a terminal in your Umbraco project folder.
21+
2. Run the following command to add the Starter Kit package:
22+
23+
```bash
24+
dotnet add package Umbraco.TheStarterKit
25+
```
26+
27+
3. Build the project:
28+
29+
```bash
30+
dotnet build
31+
```
32+
33+
4. Run the project:
34+
35+
```bash
36+
dotnet run
37+
```
38+
39+
5. Go to `https://localhost:xxxx/` to view the Starter Kit content.
40+
41+
### Option 2: Install via Visual Studio
42+
43+
To install the starter Kit via Visual Studio, follow these steps:
44+
45+
1. Open your Umbraco project in Visual Studio.
46+
2. Go to **Tools** -> **NuGet Package Manager** -> **Manage NuGet Packages for Solution...**.
47+
3. Browse for **Umbraco.TheStarterKit**.
48+
4. Select the appropriate version from the Version drop-down depending on the Umbraco version you are using.
49+
5. Click **Install**.
50+
6. Open the **.csproj** file to make sure the package reference is added:
51+
52+
```xml
53+
<ItemGroup>
54+
<PackageReference Include="Umbraco.TheStarterKit" Version="xx.x.x" />
55+
</ItemGroup>
56+
```
57+
58+
## Summary
59+
60+
You now have a fully functional Umbraco site with demo content, templates, and structure to explore. Use this setup as the foundation for the upcoming lessons in this Starter Kit tutorial.
61+
62+
[Back to Lessons](./)

13/umbraco-cms/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@
433433
* [Creating a Backoffice Tour](tutorials/creating-a-backoffice-tour.md)
434434
* [Creating Custom Database Tables with Entity Framework](tutorials/getting-started-with-entity-framework-core.md)
435435
* [The Starter Kit](tutorials/starter-kit/README.md)
436+
* [Install the Starter Kit](tutorials/starter-kit/install-the-starter-kit.md)
436437
* [Lessons](tutorials/starter-kit/lessons/README.md)
437438
* [Customize the Starter Kit](tutorials/starter-kit/lessons/1-customize-the-starter-kit.md)
438439
* [Add a Blog Post Publication Date](tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date/README.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Install the Starter Kit
2+
3+
Installing the Starter Kit provides a pre-built set of templates, content types, and demo content to explore or kickstart your Umbraco project.
4+
5+
## Outcome
6+
7+
You’ll have the Umbraco Starter Kit installed in your local project, ready to explore in the backoffice. This setup adds example content and templates, perfect for learning or quick prototyping.
8+
9+
## Steps
10+
11+
You can install the Starter Kit in two ways, depending on your preference:
12+
13+
* [Option 1: Install via .NET CLI](#option-1-install-via-net-cli)
14+
* [Option 2: Install via Visual Studio](#option-2-install-via-visual-studio)
15+
16+
### Option 1: Install via .NET CLI
17+
18+
To install the Starter Kit via the .Net CLI, follow these steps:
19+
20+
1. Open a terminal in your Umbraco project folder.
21+
2. Run the following command to add the Starter Kit package:
22+
23+
```bash
24+
dotnet add package Umbraco.TheStarterKit
25+
```
26+
27+
3. Build the project:
28+
29+
```bash
30+
dotnet build
31+
```
32+
33+
4. Run the project:
34+
35+
```bash
36+
dotnet run
37+
```
38+
39+
5. Go to `https://localhost:xxxx/` to view the Starter Kit content.
40+
41+
### Option 2: Install via Visual Studio
42+
43+
To install the starter Kit via Visual Studio, follow these steps:
44+
45+
1. Open your Umbraco project in Visual Studio.
46+
2. Go to **Tools** -> **NuGet Package Manager** -> **Manage NuGet Packages for Solution...**.
47+
3. Browse for **Umbraco.TheStarterKit**.
48+
4. Select the appropriate version from the Version drop-down depending on the Umbraco version you are using.
49+
5. Click **Install**.
50+
6. Open the **.csproj** file to make sure the package reference is added:
51+
52+
```xml
53+
<ItemGroup>
54+
<PackageReference Include="Umbraco.TheStarterKit" Version="xx.x.x" />
55+
</ItemGroup>
56+
```
57+
58+
## Summary
59+
60+
You now have a fully functional Umbraco site with demo content, templates, and structure to explore. Use this setup as the foundation for the upcoming lessons in this Starter Kit tutorial.
61+
62+
[Back to Lessons](./)

14/umbraco-cms/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
* [Add Microsoft Entra ID authentication (Members)](tutorials/add-microsoft-entra-id-authentication.md)
430430
* [Creating Custom Database Tables with Entity Framework](tutorials/getting-started-with-entity-framework-core.md)
431431
* [The Starter Kit](tutorials/starter-kit/README.md)
432+
* [Install the Starter Kit](tutorials/starter-kit/install-the-starter-kit.md)
432433
* [Lessons](tutorials/starter-kit/lessons/README.md)
433434
* [Customize the Starter Kit](tutorials/starter-kit/lessons/1-customize-the-starter-kit.md)
434435
* [Add a Blog Post Publication Date](tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date/README.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Install the Starter Kit
2+
3+
Installing the Starter Kit provides a pre-built set of templates, content types, and demo content to explore or kickstart your Umbraco project.
4+
5+
## Outcome
6+
7+
You’ll have the Umbraco Starter Kit installed in your local project, ready to explore in the backoffice. This setup adds example content and templates, perfect for learning or quick prototyping.
8+
9+
## Steps
10+
11+
You can install the Starter Kit in two ways, depending on your preference:
12+
13+
* [Option 1: Install via .NET CLI](#option-1-install-via-net-cli)
14+
* [Option 2: Install via Visual Studio](#option-2-install-via-visual-studio)
15+
16+
### Option 1: Install via .NET CLI
17+
18+
To install the Starter Kit via the .Net CLI, follow these steps:
19+
20+
1. Open a terminal in your Umbraco project folder.
21+
2. Run the following command to add the Starter Kit package:
22+
23+
```bash
24+
dotnet add package Umbraco.TheStarterKit
25+
```
26+
27+
3. Build the project:
28+
29+
```bash
30+
dotnet build
31+
```
32+
33+
4. Run the project:
34+
35+
```bash
36+
dotnet run
37+
```
38+
39+
5. Go to `https://localhost:xxxx/` to view the Starter Kit content.
40+
41+
### Option 2: Install via Visual Studio
42+
43+
To install the starter Kit via Visual Studio, follow these steps:
44+
45+
1. Open your Umbraco project in Visual Studio.
46+
2. Go to **Tools** -> **NuGet Package Manager** -> **Manage NuGet Packages for Solution...**.
47+
3. Browse for **Umbraco.TheStarterKit**.
48+
4. Select the appropriate version from the Version drop-down depending on the Umbraco version you are using.
49+
5. Click **Install**.
50+
6. Open the **.csproj** file to make sure the package reference is added:
51+
52+
```xml
53+
<ItemGroup>
54+
<PackageReference Include="Umbraco.TheStarterKit" Version="xx.x.x" />
55+
</ItemGroup>
56+
```
57+
58+
## Summary
59+
60+
You now have a fully functional Umbraco site with demo content, templates, and structure to explore. Use this setup as the foundation for the upcoming lessons in this Starter Kit tutorial.
61+
62+
[Back to Lessons](./)

16/umbraco-cms/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,9 @@
450450
* [Add Google Authentication (Users)](tutorials/add-google-authentication.md)
451451
* [Add Microsoft Entra ID authentication (Members)](tutorials/add-microsoft-entra-id-authentication.md)
452452
* [Creating Custom Database Tables with Entity Framework](tutorials/getting-started-with-entity-framework-core.md)
453+
* [Migrating Macros](tutorials/migrating-macros.md)
453454
* [The Starter Kit](tutorials/starter-kit/README.md)
455+
* [Install the Starter Kit](tutorials/starter-kit/install-the-starter-kit.md)
454456
* [Lessons](tutorials/starter-kit/lessons/README.md)
455457
* [Customize the Starter Kit](tutorials/starter-kit/lessons/1-customize-the-starter-kit.md)
456458
* [Add a Blog Post Publication Date](tutorials/starter-kit/lessons/2-add-a-blog-post-publication-date/README.md)

16/umbraco-cms/reference/configuration/maximumuploadsizesettings.md

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,56 @@
22
description: "Information on how to change the default cap of upload size"
33
---
44

5-
Umbraco does not touch the default maximum allowed content size of the different services, but you can configure this yourself.
5+
# Maximum Upload Size Settings
66

7-
# Using IIS
7+
Learn how to change the upload size limit for your Umbraco site depending on your hosting setup:
88

9-
To configure the default 28.6MB upload limit using IIS, we have to create a web.config file at the root of the project. It should contain this:
9+
- [Using IIS](#using-iis)
10+
- [Hosting on Umbraco Cloud](#hosting-on-umbraco-cloud)
11+
- [Using Kestrel](#using-kestrel)
12+
13+
By default, Umbraco does not restrict upload size. The limits are controlled by the hosting platform.
14+
15+
## Using IIS
16+
17+
The default upload limit in IIS is 30000000 bytes (~28.6 MB). The maximum value allowed is 4 GB.
18+
19+
To increase the upload limit:
20+
21+
1. Create or update the `web.config` file at the root of your project.
22+
2. Add the following configuration:
1023

1124
```xml
1225
<?xml version="1.0"?>
1326
<configuration>
1427
<system.webServer>
1528
<security>
1629
<requestFiltering>
17-
<!-- ~ Below is the number of bytes allowed, 4GB is the maximum -->
30+
<!-- 2 MB in bytes -->
1831
<requestLimits maxAllowedContentLength="2000000" />
1932
</requestFiltering>
2033
</security>
2134
</system.webServer>
2235
</configuration>
2336
```
2437

25-
`maxAllowedContentLength` is specified in bytes, so this configuration would limit requests, and therefore uploaded files, to 2 megabytes
38+
`maxAllowedContentLength` is specified in bytes. For example:
39+
40+
- 2 MB = 2,000,000 bytes
41+
- 100 MB = 100,000,000 bytes
42+
- 4 GB = 4294967295 (maximum value allowed)
2643

27-
{% hint style="info" %}
28-
**Are you hosting your site on Umbraco Cloud?**
44+
## Hosting on Umbraco Cloud
2945

30-
Umbraco Cloud uses IIS for hosting. This means you need to add the setting in a `web.config` file for this to work on your Umbraco Cloud hosted sites.
31-
The upload size limit is 500mb on Umbraco Cloud.
32-
{% endhint %}
46+
Umbraco Cloud uses IIS for hosting, so changes must be made in the `web.config` file as described above. The default upload limit on Umbraco Cloud is 500 MB.
3347

34-
# Using Kestrel
48+
To customize this limit, adjust the `maxAllowedContentLength` value in your `web.config` file accordingly.
3549

36-
Runtime settings allow you to configure the `MaxRequestLength` and `MaxQueryStringLength` for kestrel. If you want to upload files larger than 28.6MB, then you have to configure these settings. If nothing is configured requests and query strings can only be the default size and smaller.
50+
## Using Kestrel
3751

38-
An example of a configuration could look something like this:
52+
Kestrel’s runtime settings allow you to configure `MaxRequestLength` and `MaxQueryStringLength`. If you want to upload files larger than 28.6MB, update these values in the `appsettings.json` file.
53+
54+
Example configuration:
3955

4056
```json
4157
"Umbraco": {
@@ -48,8 +64,13 @@ An example of a configuration could look something like this:
4864
}
4965
```
5066

51-
`MaxRequestLength` is specified in kilobytes. This configuration will limit requests, and therefore uploaded files, to 2 megabytes, and a maximum query string length of 90 characters.
67+
- `MaxRequestLength` is specified in kilobytes. For example:
68+
- 2000 KB = 2 MB
69+
- 100000 KB = 100 MB
70+
- `MaxQueryStringLength` sets the maximum number of characters in the query string.
71+
72+
## External Server Configurations
5273

53-
## [Using Nginx (external)](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size)
74+
### [Using Nginx (external)](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size)
5475

55-
## [Using apache (external)](https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody)
76+
### [Using apache (external)](https://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody)
Loading
Loading

0 commit comments

Comments
 (0)