ユーザー URL の作成方法に関するヒント
たとえば、 http://www.example.com/username
ASP.net MVC4 でユーザーのプロファイルを含む動的ページが表示されます。
ありがとう
ユーザー URL の作成方法に関するヒント
たとえば、 http://www.example.com/username
ASP.net MVC4 でユーザーのプロファイルを含む動的ページが表示されます。
ありがとう
これであなたの仕事は完了するはずです。
public class RouteConfig
{
    public static void RegisterRoutes(RouteCollection routes)
    {
        routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
        routes.MapRoute(
            "UserProfile",
            "{username}",
            new { controller = "User", action = "Index", username = string.Empty }
        );
        routes.MapRoute(
            "Default",
            "{controller}/{action}/{id}",
            new { controller = "Home", action = "Index", id = UrlParameter.Optional }
        );
    }
}
public class UserController : Controller
{
    public ActionResult Index(string username)
    {
        return View();
    }
}
ユーザー プロファイル ページについて言えば、時間をかけて Stackoverflow でプロファイルの詳細を更新する必要があると思います ;)
スタックオーバーフローへようこそ!
参考文献: