Questions
- Which one of the following is a recommended page to define the left-side navigation that needs to appear throughout the web application?
 
a. _ViewStart.cshtml
b. _ViewImports.cshtml
c. _Layout.cshtml
d. Error.cshtml
Answer: c
- Which of the following pages can be used to configure the 
Layoutpage for the entire application? 
a. _ViewStart.cshtml
b. _ViewImports.cshtml
c. _Layout.cshtml
d. Error.cshtml
Answer: a
- Which of the following special characters is used to write Razor syntax in a 
.cshtmlpage? 
a. @
b. #
c. <% %>
d. None of the above
Answer: a
- Which method will be called on a button click in the following tag helper code in a Razor page application?
<input type='submit' asp-page-handler='Delete' value='Delete' />
 
a. OnGet() 
b. onDelete()
c. OnPostDelete()
d. OnDeleteAsync()
Answer: c