Answers for "view in mvc c#"

C#
0

what is a view in C#

A view is an HTML template with embedded Razor markup. Razor markup 
 is code that interacts with HTML markup to produce a webpage that's 
 sent to the client.

In ASP.NET Core MVC, views are .cshtml files that use the C# programming
language in Razor markup. Usually, view files are grouped into folders
named for each of the app's controllers.
The folders are stored in a Views folder at the root of the app:
Posted by: Guest on May-06-2021
0

using in view mvc

<system.web.webPages.razor>
  <pages pageBaseType="System.Web.Mvc.WebViewPage">
    <namespaces>
      <add namespace="System.Web.Mvc" />
      <add namespace="System.Web.Mvc.Ajax" />
      .
      .
      <!-- etc -->
    </namespaces>
  </pages>
</system.web.webPages.razor>
Posted by: Guest on August-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language