dotnet / dotnet/dotnet-api-docs

Extremely confusing AppDomain documentation. Outdated?

Open
#10,146 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Outdated article

### Description

Even though .NET 8 is selected as the version, the page seems to contain information on how to use AppDomain on .NET Framework. For instance, this is not true in .NET 8 (and hasn't been true since .NET Core):

> Multiple application domains can run in a single process

Also, the example code might work on .NET Framework, but not on .NET 8. There's no public constructor for `AppDomainSetup`, so the code doesn't even compile.

It looks like the content hasn't been updated at all, except that some members are shown as obsolete. There's a warning about .NET Core, but it's not clear at all from the docs that the whole thing doesn't work on .NET 8.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.appdomain?view=net-8.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/AppDomain.xml

### Document Version Independent Id

eae62dad-109f-0239-95c1-2777c3117163

### Article author

@dotnet-bot

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.