FlashcardIntermediate

WebApplication.CreateBuilder and the Minimal API entry point

WebApplication.CreateBuilder is the starting point of a Minimal API, configuring services and the app in a single file.

Question

What does WebApplication.CreateBuilder(args) do in a Minimal API app?

Click to reveal answer