-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.SecurityIssues related to security practices for .NET developers.Issues related to security practices for .NET developers.doc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixeddotnet-api/prod
Milestone
Description
In .NET Core, CAS types (like FileIOPermission
, etc) and Security Transparency types are stubbed only. CAS is not supported. Therefore the samples in .NET Core topics should not include use of them.
For example, in the AppDomain.UnhandledException topic for .NET Core 2.1 it has this sample:
using System;
using System.Security.Permissions;
public class Example
{
[SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlAppDomain)]
public static void Main()
{
...
Here [SecurityPermission(SecurityAction.Demand, Flags=SecurityPermissionFlag.ControlAppDomain)]
should be removed as it does nothing and implies that CAS is relevant.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 48667829-dc8d-680d-6fde-71a46dee4ce7
- Version Independent ID: 15184777-1251-be89-27a7-7ca859082294
- Content: AppDomain.UnhandledException Event (System)
- Content Source: xml/System/AppDomain.xml
- Product: dotnet-api
- GitHub Login: @rpetrusha
- Microsoft Alias: ronpet
Metadata
Metadata
Assignees
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityarea-System.SecurityIssues related to security practices for .NET developers.Issues related to security practices for .NET developers.doc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixeddotnet-api/prod