title: What are the difference using app.Run and app.UseEndpoints in ASP.NET Core?
body: <p>I'm using ASP.NET Core and am trying to work out the difference between <code>app.Run()</code> and <code>app.UseEndpoints()</code>. Are there some advantages / disadvantages of them? I tried to use <code>app.Run()</code> in 3.0 but I'm not sure if it is necessary or not? Can someone advise?</p>