PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You are developing an ASP.NET MVC application that enables you to edit and save a student object.
The application must not retrieve student objects on an HTTP POST request.
You need to implement the controller.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all
that apply.)




PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:

Examining the Details and Delete Methods
http://www.asp.net/mvc/overview/getting‐started/introduction/examining‐the‐details‐and‐delete‐
methods

8 Comments on “Which code segment should you use?

    1. wuhoga says:

      Don’t confuse people. How is B correct here? A is correct one, not B. There is no such thing as “ActionName” in Request object. It’s gonna be null if you try to get the value from Request by “ActionName” key.




      5



      1

Leave a Reply