logo

Crowdly

Practical C#/.Net

Шукаєте відповіді та рішення тестів для Practical C#/.Net? Перегляньте нашу велику колекцію перевірених відповідей для Practical C#/.Net в softserve.academy.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Please, define the url that corresponds to the action defined below:

[Area("admin")]

[Route(“{area}/[controller]/[action]")]

public class MenuController : Controller

{    

    [Route("show-options")]

    public ActionResult Options()

{ ... }

}

URL: https://localhost:xxxx/

Переглянути це питання

Please, write the constraint into the field so that action could consist only of letters of Englis alphabet:

routes.MapRoute("default",

"{controller}/{action:

}"); 

Переглянути це питання

How to specify the absolute view file path for Test.cshtml from the subdirectory Home of directory Views?

0%
0%
Переглянути це питання

How can you define a partial view?

Переглянути це питання

With what symbol do the Razor constructions begin?

Переглянути це питання

View() method has the four overloaded versions:

Переглянути це питання

Please, fill in the gaps in the code that implements passing strongly-typed data into view.

CSHTML:

 WebApplication1.ViewModels.Address

<h2>Contact</h2>

<address>

   
.Street<br>

   
.City<br>

    <abbr title="Phone">P:</abbr> 425.555.0100

</address>

c#:

public IActionResult Contact()

{

    ViewData["Message"] = "Your contact page.";

    var viewModel = new Address()

    {

        Name = "Microsoft",

        Street = "One Microsoft Way",

        City = "Redmond"

    };

    return
;

}
Переглянути це питання

Please, describe controller hierarchy by filling in the fields:

             object

                  |

                  |

   

                  |

  user-defined controller

Переглянути це питання

In ASP.Net Core, what is the name of the class encapsulating all the info about the HTTP request?

Переглянути це питання

From the code snippets given below, select the classes which will be treated as controllers in an ASP.Net Core MVC application:

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на softserve.academy?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!