dotnet / dotnet/AspNetCore.Docs

Provide docs on how to use HybridCache with Native AOT

Open
#35,505 2 comments 1 reaction 1 assignee Claimed by @tdykstra View on GitHub
:watch: Not Triaged aspnet-core/svc performance/subsvc Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 2h
Merged PRs (30d)
109

Description

### Description

The documentation for the HybridCache should include a section on how to use it such that it is Native AOT compatible.

Today, I get errors from the DefaultJsonSerializerFactory.SystemDefaultJsonOptions

This looks like it would be possible with custom serialization?

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/performance/caching/hybrid?view=aspnetcore-9.0

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/performance/caching/hybrid.md

### Document ID

fdd3c6f2-c3f4-6fc7-0928-0b18ba9297cf

### Platform Id

77e7a2f3-9ddb-06e2-9b46-7ddeb411f8c4

### Article author

@tdykstra

### Metadata

* ID: fdd3c6f2-c3f4-6fc7-0928-0b18ba9297cf
* PlatformId: 77e7a2f3-9ddb-06e2-9b46-7ddeb411f8c4
* Service: **aspnet-core**
* Sub-service: **performance**

[Related Issues](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+fdd3c6f2-c3f4-6fc7-0928-0b18ba9297cf)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.