In an ASP.NET Core MVC application for a library, where would the information about available books and their details be stored?
- In a Database
- In a Controller
- In a View
- In a CSS File
In an ASP.NET Core MVC application, information about available books and their details is typically stored in a database. The Model (M) in MVC is responsible for managing data, and databases are commonly used for persistent data storage in such applications. Controllers handle user requests and orchestrate interactions with the Model to retrieve and display this data.
Loading...
Related Quiz
- Which of the following would NOT typically be found in the project.json file?
- You're reviewing a colleague's code and notice that they've added the same namespace to multiple Razor views. How can you suggest an optimization to this approach?
- The @ViewData object is a type of _________, allowing you to pass data from the controller to the view.
- When designing a Razor Layout in ASP.NET Core, which directive is used to render the main body content of child views?
- If you need to create a real-time communication application, the ________ template of ASP.NET Core is designed for this purpose.