Alternative, type-safe approach to Middleware<T>
Enrico, I'm a big fan of your book. So much, that I even dived deeper in the subject of Middleware you introduced in Chapter 11. One thing that I couldn't stop thinking about was the usage of dynamic in your definition. I was thinking about it over the last weekend and I think I created an interesting, alternative approach which is fully type-safe.
I described the whole story in my blog. http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-1.html http://www.itisnotoverengineering.com/2018/10/idisposable-monad-iusable-part-2.html
I would love to hear your opinion about it. Maybe you could even include it in the second edition of your book :)
Thanks, Stan
Hi Stan, thanks for that. I would encourage you to also post this on the book forum at https://forums.manning.com/forums/functional-programming-in-c-sharp so that other readers may have a look and potentially give feedback
Best regards
I registered in the forum, but I cannot create a new thread or even reply to an existing one. I can only mark all the posts as read or watch for changes. :(
I've contacted Manning support to get access to the forum, but it is locked to people who bought the book. I read it at Safari Books Online and I don't qualify for the forum.
@la-yumba, could you post it on the forum and comment on this alternative approach, please?
Done! https://forums.manning.com/posts/list/0/45186.page#p125970
On Mon, Nov 5, 2018 at 2:37 AM StanislawSwierc [email protected] wrote:
I've contacted Manning support to get access to the forum, but it is locked to people who bought the book. I read it at Safari Books Online and I don't qualify for the forum.
@la-yumba https://github.com/la-yumba, could you post it on the forum and comment on this alternative approach, please?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/la-yumba/functional-csharp-code/issues/6#issuecomment-435730255, or mute the thread https://github.com/notifications/unsubscribe-auth/AGhHaP0X23Gtf1s7zf3NRzfCAqdfO7S9ks5ur5ZDgaJpZM4X_8l0 .
--
Enrico Buonanno
email: [email protected] skype ID: enrico.buonanno WhatsApp: +34 632 333 865 Tel: +39 333 385 5948
http://goog_395621968 [image: https://www.manning.com/books/functional-programming-in-c-sharp?a_aid=functional-programming-in-c-sharp&a_bid=ad9af506] https://www.manning.com/books/functional-programming-in-c-sharp?a_aid=functional-programming-in-c-sharp&a_bid=ad9af506