Skip to main content

Program by Microsoft

NuGet / site data

Nuget GitHub last commit GitHub Repo stars

Details

Info

Author

note

Microsoft Alt text

Original Readme

note

ASP.NET Core

.NET Foundation MIT License Help Wanted Good First Issues Discord

ASP.NET Core is an open-source and cross-platform framework for building modern cloud-based internet-connected applications, such as web apps, IoT apps, and mobile backends. ASP.NET Core apps run on .NET, a free, cross-platform, and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac, and Linux. Learn more about ASP.NET Core.

Get started

Follow the Getting Started instructions.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

See the Triage Process document for more information on how we handle incoming issues.

How to engage, contribute, and give feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately to the Microsoft Security Response Center (MSRC) via the MSRC Researcher Portal. You should receive a response within 24 hours. Further information can be found in the MSRC Report an Issue FAQ. You can also find these instructions in this repo's Security doc.

Also see info about related Microsoft .NET Bounty Program.

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT

Nightly builds

This table includes links to download the latest builds of the ASP.NET Core Shared Framework. Also included are links to download the Windows Hosting Bundle, which includes the ASP.NET Core Shared Framework, the .NET Runtime Shared Framework, and the IIS plugin (ASP.NET Core Module). You can download the latest .NET Runtime builds here, and the latest .NET SDK builds here. If you're unsure what you need, then install the SDK; it has everything except the IIS plugin.

PlatformShared Framework (Installer)Shared Framework (Binaries)Hosting Bundle (Installer)
Windows x64InstallerBinariesInstaller
Windows x86InstallerBinariesInstaller
Windows arm64InstallerBinariesInstaller
macOS x64N/ABinariesN/A
macOS arm64N/ABinariesN/A
Linux x64Deb Installer - RPM InstallerBinariesN/A
Linux armN/ABinariesN/A
Linux arm64RPM InstallerBinariesN/A
Linux-musl-x64N/ABinariesN/A
Linux-musl-armN/ABinariesN/A
Linux-musl-arm64N/ABinariesN/A

About

note

Generating Program.cs class for testing purposes

How to use

Example (source csproj, source files)

This is the CSharp Project that references Program

<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
<PublishAot>true</PublishAot>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
</ItemGroup>
<PropertyGroup>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>
</PropertyGroup>
</Project>

Generated Files

Those are taken from $(BaseIntermediateOutputPath)\GX

// <auto-generated />
/// <summary>
/// Auto-generated public partial Program class for top-level statement apps.
/// </summary>
public partial class Program \{ }

Useful

Download Example (.NET C#)

Share Program

https://ignatandrei.github.io/RSCG_Examples/v2/docs/Program

Category "EnhancementClass" has the following generators:

1 ApparatusAOT

2 AspectGenerator

3 CommonCodeGenerator

4 Comparison

5 DudNet

6 Enhanced.GetTypes

7 FastGenericNew

8 Immutype

9 Ling.Audit

10 Lombok.NET

11 M31.FluentAPI

12 MemberAccessor

13 MemoryPack

14 Meziantou.Polyfill

15 Microsoft.Extensions.Logging

16 Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator

17 Microsoft.Interop.JavaScript.JSImportGenerator

18 OptionToStringGenerator

19 Program

20 QueryStringGenerator

21 RSCG_Decorator

22 RSCG_UtilityTypes

23 StaticReflection

24 SyncMethodGenerator

25 System.Runtime.InteropServices

26 System.Text.RegularExpressions

27 TelemetryLogging

28 ThisClass

See category

EnhancementClass