In a route template, _______ are used to define optional parameters.
- Brackets {}
- Square Brackets []
- Angle Brackets <>
- Curly Braces ()
In a route template, optional parameters are defined using curly braces {}. These allow you to specify route parameters that are optional for a particular route, providing flexibility in your URL structure.
Loading...
Related Quiz
- Which of the following is NOT a standard provider for ASP.NET Core Identity user authentication?
- For an ASP.NET Core MVC application to handle requests, it must be configured using the _________ middleware.
- The _________ method can be used to refresh sign-in information of a user in scenarios like role update.
- In SignalR, which transport method does it fall back to if WebSockets are not available?
- In the context of an ASP.NET Core project, which of the following describes the appsettings.json file?