Lanayx / Oxpecker

ASP.NET Core based F# framework
https://lanayx.github.io/Oxpecker/
MIT License
291 stars 11 forks source link

Add script / fsx only version (like suave) #10

Open jkone27 opened 9 months ago

jkone27 commented 9 months ago

it' possible for aspnetcore to load dependencies of the framework in order to enable referencing it as #r "nuget" in .fsx interactive scripts, i think F# frameworks should be dotnet fsi interactive aware by nature.

here some info: https://jkone27-3876.medium.com/net-script-apis-92b3414365f5

would be great to have an aspnetcore lib working natively also in script mode, maybe doing some tricks when

if interactive

to reference latest aspnetcore dependencies as well?

Lanayx commented 9 months ago

Hi! I'm not 100% sure what you mean :) The method that you described should work for Oxpecker as well, do you have any issues when trying that? https://github.com/dotnet/fsharp/issues/9417 is expected to be completed to live without workarounds