0
worthyvii created
Hello,
I'm reading through all the lovely code right now and I have noticed that the whole authentication is managed in the controller (Account).
Why isn't this just passed up to a service at the Application level? Because of this, we have to pull the Core assembly into the Web assemble.
I'm sure there is a good reason, (getting Owin service from the Http context?) but is there a way we can pull that apart too?
Thanks
1 Answer(s)
-
0
Hi,
At the time that template is created, we decided to do it in that way but now we are changing this approach for our angular2 application.
After that, we can do same thing for our free template as well. You can create an app service and move AccountController's code to that appservice.