tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
833 stars 68 forks source link

Return WebApplicationBuilder and not WebApplication #150

Closed mocox closed 9 months ago

mocox commented 9 months ago

Hi

in the PhotinoServer.CreateStaticFileServer(...) it retuns a WebApplication and you cant set services to the value, Surely this method should return A WebApplicationBuilder so that services can be added to the ServiceCollection. I see no way in your samples to add Services, unless i am missing something.

mocox commented 9 months ago

reposted in correct repo

mocox commented 9 months ago

put in correct repo