Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15/updates #6496

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 15/umbraco-cms/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* [Health Check](extending/health-check/README.md)
* [Health Check Guides](extending/health-check/guides/README.md)
* [Content Content Security Policy (CSP)](extending/health-check/guides/contentsecuritypolicy.md)
* [Creating a Custom Database Table](extending/database.md)

## Reference

Expand Down
6 changes: 1 addition & 5 deletions 15/umbraco-cms/extending/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,12 @@ Figuring out how to manage data across multiple environments can be different be

To create, read, update or delete data from your custom database tables, you can use the `IScopeProvider` to get access to the database operations.

The following example creates an `UmbracoApiController` to be able to fetch and insert blog comments.
The following example creates a `Controller` that uses `[Route]` annotations to create API endpoints for fetching and inserting blog comments.

{% hint style="info" %}
This example does not use the aforementioned `BlogCommentSchema` class but rather a separate (yet duplicate) class that is not part of the example. Also, be aware that things like error handling and data validation have been omitted for brevity.
{% endhint %}

{% hint style="warning" %}
The example below uses UmbracoApiController which is obsolete in Umbraco 14 and will be removed in Umbraco 15.
{% endhint %}

```csharp
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
Expand Down
4 changes: 4 additions & 0 deletions 15/umbraco-cms/release-candidate-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ Here is a list of all the articles that are new to this version or have been upd
### New articles

* [Tutorial: Extending the Help Menu](tutorials/extending-the-help-menu.md)

### Updates articles

* [Creating a Custom Database Table](extending/database.md)
Loading