[Solved] show title of the page in tab of browser


you can follow default routine for displaying title in ASP.NET MVC.

in _Layout.cshtml

<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Your SiteName | @ViewBag.Title</title>
        .
        .

in other pages just set ViewBag.Title. for example login page

@model LoginModel
@{
    ViewBag.Title = "Login page";
}

0

solved show title of the page in tab of browser