
Master ASP.NET MVC 5 from scratch using C# by exploring MVC architecture, controllers, views, model binding, state management, Razor syntax, EF integration, security, validation, and deployment.
Explore the model–view–controller pattern in ASP.NET MVC, where the controller handles requests via routing, communicates with the model, and renders data to cshtml views, preserving separation of concerns.
Trace the history of MVC from 2009 to MVC 5 and its minor versions, and highlight features from 5.2.3 and MVC 6.0 for use with the new ASP.NET code.
Understand how ASP.NET MVC processes a request by routing the URL to a controller and action, invoking the action, and returning output to the view.
Download the single zip file to access all code samples demonstrated across this course. Extract it to view every example covered in the resources section of this lecture.
Create your first ASP.NET MVC 5 application with Visual Studio 2015, choosing the MVC template and Windows authentication, and explore pre-written controllers and views like home, about, and contact.
Explore the ASP.NET MVC 5 project structure by examining folders like content, scripts, and controllers, and see how Global.asax, area registration, and bundle config initialize the app.
Explore the pre-written Home controller and its actions (Index, About, Contact), and see how views, ViewBag properties, _ViewStart, and _Layout work with Razor and Html.ActionLink.
Create a new HelloWorldController with an index action and a matching view, using ViewBag.Greetings to display 'Hello World From MVC5.0'.
Create controllers and actions in ASP.NET MVC 5, pass user values through a query string, bind them to action parameters, and display via ViewBag in corresponding views.
Explore redirecting to a specific URL in ASP.NET MVC 5 with a dedicated action method, including default URL handling and redirecting to external sites or internal views.
Demonstrate calling an MVC action from a view with a simple HTML form that passes a URL parameter via GET, redirecting to the entered URL or google.com by default.
Add a new navigation bar item by using the html.actionLink helper in layout.cshtml to link the hello world controller's index action. Verify the new menu navigates correctly.
Learn to create and access dynamic properties in the ViewBag collection within ASP.NET MVC 5, using a Hello World controller and its index view.
Create a custom authors model with author name and author country, instantiate it in the controller, and pass the model to the view for access.
Learn to access route data values in ASP.NET MVC 5 by inspecting the controller name, action name, and id from the route data collection, and display them via ViewBag.
Demonstrate the different action result return types in ASP.NET MVC 5, focusing on ContentResult with a GreetUser action that returns hello world to the browser.
Explore how to return a ViewResult from a controller action in ASP.NET MVC 5, including returning the default view, specifying view names, and reusing views across actions.
Discover how RedirectResult works in ASP.NET MVC 5, compare 302 redirects with 301 redirects, and implement go to url and go to url permanently using Html.ActionLink for SEO-friendly navigation.
Learn to use RedirectToRouteResult as the return type for action results and redirect to another action with RedirectToAction, optionally passing route data like a message via ViewBag.
Use RedirectToRoute with a named route defined in RouteConfig.cs to redirect to Home/About via the AboutUs route, centralizing routing logic.
Explore using FileResult as a controller action return type in ASP.NET MVC 5, returning CSS, XML, and image content with proper content types from files in content or images folders.
Return JSON data from an ASP.NET MVC 5 controller using JSONResult by building a simple Product model with ProductCode, ProductName, and Cost, and returning it via ShowNewProducts, allowing get.
Explore PartialViewResult usage in asp.net mvc 5 by creating a ShowChildViewContent parent view that embeds a ChildView with Html.Partial and Html.RenderPartial from the Shared folder.
Explore how ViewData, ViewBag, and TempData manage state in MVC, compare ViewData's dictionary with ViewBag's dynamic properties, and learn how TempData persists data across requests.
Explore state management in ASP.NET MVC by using ViewData, ViewBag, and TempData within a controller and view, and learn how TempData persists across requests with Keep and session state considerations.
Demonstrates creating and posting MVC forms with Razor syntax using Html.BeginForm to submit product name, cost, and quantity to a Calculate action, then display results via ViewBag in Index.
This lecture demonstrates submitting form data to an index action using approach-2 in ASP.NET MVC 5, with begin form, two forms, parameter names, request form, and ViewBag-based calculations.
Submit form data to the index action using the third approach, employing a using block and a form collection to read product name, cost, and quantity.
Explore how MVC views render text boxes, radio buttons, checkboxes, drop-down lists, and list boxes using HTML helpers, submit forms, and read data to calculate discounts and net totals.
Learn to implement strongly typed model views in MVC by binding a products model to a view and creating a categories select list with TempData and dropdown helpers.
display all products using a generic list and mvc scaffolding templates, building a displayallproducts action, creating a list view, and iterating with a razor foreach to render product fields.
Learn to use the MVC scaffolding template to auto generate a details view from a strongly typed product model, displaying data with DisplayFor and DisplayNameFor without writing manual code.
Explore how the edit scaffolding template renders a product model in text boxes using EditorFor, with labels, validations, and a boolean field shown as a checkbox.
Demonstrate how cross-site request forgery works, then implement protection in MVC using the Html helper anti forgery token and the validate anti forgery token attribute.
Demonstrate how cross site request forgery targets a login form in an MVC app, then fix it by adding @Html.AntiForgeryToken and validating the token on the server.
This lecture shows how MVC prevents script injection by default through input validation. It also explains how to allow scripts by disabling validation and how Server.HtmlEncode keeps input safe.
Create a custom action filter by inheriting from ActionFilterAttribute and overriding OnActionExecuting, OnActionExecuted, OnResultExecuting, and OnResultExecuted to log requests and enforce time-based access.
Attach a custom action filter at the controller level to apply it across all actions in ASP.NET MVC 5 using C#, streamlining code and demonstrating output across views.
Learn to attach a custom action filter at the global level by registering it in filter config, so the filter applies to all controllers via the global filter collection.
Attach multiple custom action filters to controller actions and observe their execution order, with two filters showing which runs first and how the action level differs from global.
Master ASP.NET MVC 5 concepts by learning how to control the execution order of custom action filters using the order property, and observe how filters run in sequence.
Create a user details model in an ASP.NET MVC 5 app and attach data annotations to enforce validation. Apply custom validations with a city validator and model-level validation using IValidatableObject.
Demonstrates building a sign-up view for a user details model in ASP.NET MVC 5 using scaffolding, Html helpers, anti-forgery token, and data annotation validations, with ModelState.IsValid testing.
MVC is a framework for building web applications using a MVC (Model View Controller) design pattern.
This course provides developers with a thorough knowledge in developing Web Applications using MVC Design Pattern.
In this course by development expert Kameswara Sarma Uppuluri, you'll learn essential concepts that you need to know to build Web Applications using ASP.NET MVC 5.
This course provides step-by-step walk-throughs and coding demos that you're encouraged to code along with to enhance the learning process.
This course is broken down into 27 Modules with each module providing source code so that you can follow along with Kameswara Sarma Uppuluri.