Skip to main content

    Razor Syntax

    Whenever we create a View with .cshtml extension, then View is called as Razor View. In Razor View, we can use C# and html together. Now I will create a view and pass data dynamically to the view and use Razor syntax to display that data. I have created an action method CustomerDetails() in Home […]

    Read More