I have one mvc application and that is running fine on 2 url's with the same code deployed to different folder for both the url's to work with different authentication method.
URL's are like https://www.example.com/ - web form authentication https://www.example.com/New/ - windows authentication
Now the requirement is we have to deploy the code in one folder only and both the url's should work like earlier with different authentication.
so now I've created a folder named 'NEW' with an asp.net webform within the MVC application and trying to call home controller of root directory after windows authentication.
I'm able to call the windows Authentication but after entering credentials it is not redirecting to https://www.example.com/Home/Index.
I've tried creating a *.aspx page and redirecting from there like below but nothing works.
Response.Redirect("../Home/Index");
this.Response.RedirectToRoute("~/Home/Index");
Any help will be appreciated