Skip to content

Minimal Program file #2

Description

@carlblanchard

Hi JD, I've been playing with your In Memory Playwright Demo, (great work by the way)
I've updated my local copy to .net 6.0 and added new simple Razor Pages web app to the solution in order to use the minimal Program.cs (top-level statements) However when CreateServer is called on the WebHostBuilder I get this error

image

Do you have any idea how to start the IWebHost when using the .Net 6.0 Minimal Program.cs

I.E.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions