私が取り組んでいるので、NTLM Windows認証から認証された後、からユーザーに送信Asp.Net MVC mixed mode authentication
する必要があります。redirect
WinLogin.aspx page
MVC route url
(同じAsp.Net MVCプロジェクトアプリケーションにWinLogin.aspxページがあります)
ユーザーを.aspxページからMVCルートURLにリダイレクトする方法についてのヘルプが必要です。(.aspx.cs
コードビハインドによる)
以下のコードを使用してみましたが、何も機能しませんでした。
コード1:
Response.Redirect("/Home/Index"); // redirection NOT working, getting blank page with route url after redirection.
コード2:
System.Web.Routing.RouteValueDictionary routeDict = new System.Web.Routing.RouteValueDictionary();
routeDict.Add("controller", "home");
routeDict.Add("action", "index");
Response.RedirectToRoute(routeDict); // redirection NOT working, , getting blank page with route url after redirection.
これについての提案をお願いします。
前もって感謝します!