I'm working on a project that is built using Web Forms framework. We are trying to move to MVC by building all the new pages using MVC. Both types of pages are in same project. I'm curious to know how people went about sharing authentication between Web Forms and MVC.
2 Answers
As noted, if you are able to use forms authentication, then you are able to deal with it in the same manner as you normally would - using one or the other. If the code is on the same box, then the same machine key will be used for the ticket, so it will be available whether you are accessing the status via MVC or WF. If you are on a farm, you will be, again, dealing with the same issues as you would if using just one. The web.config etc. shall all be the same and you can even share the same login redirect.