Question: answer thes questions as follows pls How do you code an action method that handles an HTTP POST request but not an HTTP GET request?
How do you code an action method that handles an HTTP POST request but not an HTTP GET request? a. Use the Startup.cs file to configure the middleware for HTTP POST requests b. Code the HttpPost attribute above the action method c.Pass the model object to the View() method d. Inherit the PostController class QUESTION 8 Which of the following lists the names of six folders that are included in an MVC web app by convention? a. wwwroot, HomeController, HomeModel, Views, Home, Shared b. wwwroot, Model, View, Controller, Home, Temp c. wwwroot, Controllers, Models, Views, Home, Shared d. Root, Controllers, Models, Views, Home, Shared
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
