Live Help (Start Chat)
Interview Questions and Answer
Options:
a. App_Data
b. App_Start
c. App_Code
d. Filters
Reveal Answer
Options:
a. RouteConfig.cs
b. BundleConfig.cs
c. WebApiConfig.cs
d. web.config
Reveal Answer
Options:
a. Register ()
b. RegisterGlobalFilters()
c. Application_Start()
d. RegisterRoutes()
Reveal Answer
Options:
a. routes.MapRoute("Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = "" });
b. routes.MapRoute("Default", "{controller}{action}{id}", new { controller = "Home", action = "Index", id = "" });
c. routes.MapRoute("Default", "controller/action/id", new { controller = "Home", action = "Index", id = "" });
d. routes.MapRoute("Default", "controller#action#id", new { controller = "Home", action = "Index", id = "" });
Reveal Answer
Options:
a. Internal server Error
b. Namespace Ambuity
c. HttpNotFound
d. No Error
Reveal Answer
Options:
a. It provides Url routing
b. It provides a REST based URL that is very easy to remember
c. Prevent requests for the Web resource files such as WebResource.axd or ScriptResource.axd from being passed to a controller.
Reveal Answer
Options:
a. RouteAction("Demo")
b. RoutePrefix("Demo")
c. RouteUrl("Demo")
d. RouteController("Demo")
Reveal Answer
Options:
a. [Route("{id}":int]
b. [Route("{id:int}"]
c. [Route(id="int")]
d. [Rounte(id:int)]
Reveal Answer
Options:
a. Value of Id must be provided as Query String
b. Id must be part of URL
c. Id is Optional parameter for the action method
Reveal Answer
Bestdotnet google plus