News
It's the ultimate decider between console gamers and the PC master race — is it better to play games with a keyboard and mouse or controller?
Every Controller class has a method called OnActionExecuting that runs before any Action method is called (there's also an OnActionExecuted that runs after any Action method). If you wanted to ...
Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq.
Web API doesn’t allow you to pass multiple complex objects in the method signature of a Web API controller method — you can post only a single value to a Web API action method.
Idea #2: Smart controller, dumb model -- Minimalist, data holding Model. Business logic and data validation is done by the controller.
Documentation for ASP.NET and ASP.NET Core. Contribute to RicoSuter/Docs development by creating an account on GitHub.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results