@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}

<div class="text-center">
    <h1 class="display-4">Welcome</h1>

@*     <p>Class of acting object: @this.GetType().FullName</p>
    <p>Base class: @this.GetType().BaseType.FullName</p>

    <p>Name of running method: @System.Reflection.MethodBase.GetCurrentMethod().ReflectedType.Name </p>

    <p>Type of the acting objects Model property: @this.Model.GetType().Name</p>

    <p>ViewData[Title] of acting object: @this.ViewData["Title"] </p>
    <p>ViewData[Title] of Model property of acting object: @this.Model.ViewData["Title"] </p> *@

    <p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
