Skip to content

[New article]: Reference for file-based apps #49957

@meaghanlewis

Description

@meaghanlewis

Proposed topic or title

File-based apps

Location in table of contents.

https://learn.microsoft.com/en-us/dotnet/core/sdk

Reason for the article

File-based apps are a new feature in .NET 10 and we should have a comprehensive reference for the feature.

Include supported directives, how global.json is handled, and so on.

Article abstract

Using file-based apps to write and run a complete program in a single file. File-based apps support top-level statements and modern C# features. This article provides an overview of the feature, includes examples of supportive directives like #:sdk, #:package, and #:project, and describes how to run apps with a global.json file.

Relevant searches

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions