Live Help (Start Chat)
Interview Questions and Answer
Options:
a. .cshtml
b. .vbhtml
c. .aspx
d. .html
Reveal Answer
Options:
a. Razor view is used to eanble a fast coding workflow
b. It's not a new Language
c. Razor views having great intellisense
d. For writing View code, not Require any specific text editor
Reveal Answer
Options:
a. Views\_Layout.cshtml
b. Views\Shared\__Layout.cshtml
c. \_Layout.cshtml
d. its present in Root directory
Reveal Answer
Options:
a. Compilation Error
b. Hello, my name is @John
c. Hello, my name is @name
Reveal Answer
Options:
a. this is 1st line;
b. compilation error
c. this is ist line;
d. this is 1st line
Reveal Answer
Options:
a. 10/2
b. 5
c. no output
d. Compilation error
Reveal Answer
Options:
a. Jhon@domain.com
b. JhonMicrosoft.com
c. Jhon@Microsoft.com
d. Jhondomain.com
Reveal Answer
Options:
a. JhonMicrosoft.com
b. Jhon@Microsoft.com
c. Jhondomain.com
d. Jhon@domain.com
Reveal Answer
Options:
a. Jhon@@Microsoft.com
b. Jhon@Microsoft.com
c. Jhon@domain.com
d. Compilation Error
Reveal Answer
Options:
a. <b>demo</b>
b. >b<demo>/b<
c. <>demo<>
d. &lt:b&gt:demo&lt:/b&gt:
Reveal Answer
Options:
a. &ltimg src="/Images/x"/&gt where x is the value of jpg property of an object refereed by Model.Employee.
b. &ltimg src="/Images/x.jpg"/&gt where x is value.model.Employee
c. &ltimg src="/Images/x.Employee.jpg"/&gt where x is value of model
d. compilation error
Reveal Answer
Options:
a. &ltp&gtResult:Abc&lt/p&gt
b. &ltp&gtResult&lt/p&gt
c. compilation error
d. Result:Abc
Reveal Answer
Options:
a. With
b. For
c. Foreach
d. while
e. All of the above
Reveal Answer
Options:
a. @* A comment *@
b. // A comment
c. @{ //A comment }
d. /* A comment */
Reveal Answer
Options:
a. @RenderBody
b. @RenderSection
c. @script.Render
d. @styles.Render
Reveal Answer
Options:
a. _viewStart.cshtml,view in context,_Layout.cshtml
b. view in context,_viewStart.cshtml,_Layout.cshtml
c. _Layout.cshtml,_viewStart.cshtml,view in context
Reveal Answer
Options:
a. IsSectionAvailable("SectionName")
b. IsSectionNotAvaliable("SectionName")
c. IsSectionNotDefined("SectionName")
d. IsSectionDefined("SectionName")
Reveal Answer
Options:
a. @Html.Partial("Demo")
b. @Html.RenderPartial("Demo")
c. Html.Partial("Demo")
d. Html.RenderPartial("Demo")
Reveal Answer
Options:
a. @Html.Partial("Demo")
b. @Html.RenderPartial("Demo")
c. Html.Partial("Demo")
d. Html.RenderPartial("Demo")
Reveal Answer
Bestdotnet google plus