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?

answer thes questions as follows pls answer thes questions as follows pls How do you code an action

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!