Open Hardt-Coded opened 2 years ago
Hi @DieselMeister thanks for the issue and the implementation! I'll try to make a nuget out of this when time permits. Any target framework requirements that I need to take into account when making a package or can I just target netstandard2.0?
Oh damn, I missed your message. So Sorry :( ...
That's actually a good question.
It's using the package: "Microsoft.AspNetCore.Http" this is netstandard2.0 (HttpRequest) and "Microsoft.AspNetCore.Mvc" which is also netstandard 2.0 (IActionResult)
It should work with netstandard2.0.
This looks very useful. Any way this can be provided as a nuget?
Hi.
At first the important part: I love your work and this project is awesome.
I was playing around with the Azure Function implementation. Sadly the isolated function is not supported by the Visual Studio (Debugging and Stuff), so I thought, hey modify the your "FableAzureFunctionsAdapter.fs" in the Azure Function Package and let it work with the "old school" Azure Function HttpRequest and IActionResult ...
Btw. Maybe there is an easier solution already in place and using another package. I don't know.
So here ist the modified version of the Adapter. (.NET 6.0)
the only thing I had to do is to instatiate my service inside the function itself. (or if you use an object for dependency injection, I think it's suffient to set the "service" inside the object itself)
I am not sure how to integrate this as a pull request. Folder and nuget "building".
So I leave this solution here. :)