SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
715 stars 109 forks source link

Publish Application.fs independent CE for Aspnetcore builder as a separate nuget package with only aspnet dependencies #375

Open jkone27 opened 1 year ago

jkone27 commented 1 year ago

I think saturn CE for configuring application is beautiful, and it's itself added value when developing in aspnetcore, so maybe it would be much more useful if it was extracted to a separate published package and artifact, and/or eventually would be great material to be directly in aspnetcore repository? (JUST in some kind of F# friendly API package sections?)

Saturn.AspNetCore.ApplicationBuilder?

https://saturnframework.org/reference/Saturn/saturn-application.html

let app = application {
    // pipe_through endpointPipe
    // use_router topRouter
    url "http://0.0.0.0:8085/"
    memory_cache
    use_static "static"
    use_gzip
}