Maybe I'll look strange. Feel free to edit etc. What is ASP.net in terms of FP?
I'm learning FP at the moment and feel rather confused because i cannot divide technology which I use everyday, literally ASP.Net - into some logical parts in terms of FP.
Now I treat all ASP.Net machine is like a big state monad, for which I usually use OnPreRender like point of calling ASP-net agnostic code. I treat aspx like kind of metaprogramming. What is user-control? Custom-control? What contexts (function environments) should we distinguish - http context? control context? page context? Maybe I cannot see something obvious like treating page handlers == delegates == lambdas? Am I basically right? Could anybody suggest more fresh look onto ASP.Net - especially classical one?
It doesn't make sense to know that 'web-forms-suck' - I would like to know how should I use a power and 'turing-complete'ness of FP in this particular environment.