by Garth | Feb 19, 2025 | .Net, Blazor, C#
Exercise Objective Build a Blazor Server App Notes: Blazor WebAssembly happens client side where as Blazor Server everything happens server side. The advantage/disadvantage of this is that Blazor WebAssembly can run offline. However it comes as a minor cost to...
by Garth | Aug 7, 2019 | C#
Inside your Controller in this case it’s the Movies Controller.The action Result below is Index so on other words the Home of the Movies Controller. In this action there’s two IF statements. If you load this controller-> Index it will return...
by Garth | Aug 7, 2019 | C#
by Garth | Aug 7, 2019 | C#
namespace Vidly.Controllers { public class MoviesController : Controller { public ActionResult Random() { Movie movie = new Movie() { Name = “Shrek!” }; // THE RETURN METHODS BELOW // return View(movie); // return Content(“Hello World!”); //...