net10.0
namespace Microsoft.AspNetCore.StaticAssets
{
    [DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
    public sealed class StaticAssetDescriptor
    {
        [JsonPropertyName("AssetFile")]
        public string! AssetPath { get; set; }
    }
}
.NET
9.010.0
Information specific to net10.0
Assembly

Microsoft.AspNetCore.StaticAssets , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API