File: Program.cs
Web Access
Project: src\tests\testproject\TestProject.ServiceB\TestProject.ServiceB.csproj (TestProject.ServiceB)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
 
app.MapGet("/", () => "Hello World!");
app.MapGet("/pid", () => Environment.ProcessId);
 
app.Run();