WebApplication usage in LinqPad

edited July 2023

I am having trouble using the new C# template in LinqPad. The template starts with var builder = WebApplication.CreateBuilder(args);, which doesn't seem to work in LinqPad.

Here is my .csproj for reference:

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



I would appreciate guidance on how to overcome this issue.

Thank you in advance for your assistance.


Sign In or Register to comment.