Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Understanding the .NET ecosystem: The evolution of .NET into .NET 7. Parent comment
You used to have a class, and there would typically be a separate Startup.cs file. Today, this is a complete .cs file for creating an API:
var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); app.MapGet("/", () => "Hello World!"); app.Run();
There are no comments on this comment yet.
You used to have a class, and there would typically be a separate Startup.cs file. Today, this is a complete .cs file for creating an API: