
This video shows you how to follow along with the course using any version of .NET. We’ll go over small differences between .NET versions that might affect code examples and explain simple adjustments you can make. You’ll also learn easy tips for setting up your development environment to work with multiple versions if needed. By the end, you’ll feel ready to use the course material with whatever .NET version you have.
Learn about the role of models in an ASP.NET MVC application and how they represent the data structure and business logic for an eCommerce movie app.
Begin creating the foundational data structure by adding your first model, which will serve as the blueprint for your application's database.
Discover how to create a model for producers, including essential properties and how it integrates within the movie app’s architecture.
Learn how to build a cinema model to represent theaters within your application, capturing details related to cinemas, like name and description.
Develop the movie model to manage movie-related data such as title, genre, and release date, forming the core of the eCommerce app.
Understand the role of the DbContext file in Entity Framework and how to configure it to interact with your models and database.
Learn to establish relationships between different models, such as linking movies to producers and cinemas, to create a robust data structure.
Set up and configure SQL Server for your application, preparing it to store and retrieve data for your eCommerce movie app.
Discover how to create and apply your first migration, enabling your database to adapt to the model changes dynamically.
Learn how to seed your database with initial data, ensuring your application starts with essential information like sample movies, cinemas, and producers.
Learn about the role of controllers in an ASP.NET MVC application and how they handle incoming requests, manage data flow, and serve views to users in the eCommerce movie app.
Discover how to create the ActorsController, which will manage all actions related to actors, including listing, adding, editing, and deleting actor records.
Learn to build the ProducersController to handle operations for producers, allowing you to manage producer data effectively within your movie application.
Understand how to implement the CinemasController, responsible for managing cinema-related actions like displaying cinema listings and handling cinema details.
Learn to create the MoviesController, which will control the actions related to movies, including displaying movie details, creating new movies, and managing existing movie records.
Learn how to create your first view in ASP.NET MVC to display a list of actors, showing how data can be rendered dynamically on the front end.
Discover how to build a view for displaying producer information, providing users with a detailed list of producers in your eCommerce movie app.
Understand how to create a view that showcases cinema details, allowing users to browse through different cinema locations and their attributes.
Learn to add a movies view that lists all movies available in the app, enabling users to see details such as titles, genres, and release dates.
Explore the process of designing a visually appealing movie card layout, enhancing the user experience by presenting movie information in a compact, stylish format.
Learn how to design and implement a functional navigation bar to improve the app's usability, ensuring users can easily access different sections of your movie eCommerce platform.
Learn how to define the IActorsService interface to abstract the operations related to actor data, promoting a clean and maintainable codebase.
Discover how to implement your first service for managing actor data, enabling a clear separation between business logic and data access in your application.
Understand the different lifetimes in dependency injection—Singleton, Scoped, and Transient—and learn how to choose the appropriate lifetime for your services.
Explore the process of designing a form to create new actor records, including the necessary fields and validations to ensure data integrity.
Learn about model validation techniques to ensure that data entered through forms meets predefined criteria before being saved to the database.
Discover how to retrieve specific actor details from the database using an ID, allowing you to display detailed information on the front end.
Understand how to implement functionality for updating actor records in the database, including handling user inputs and data validation.
Learn how to safely delete actor records from the database, ensuring that the operation is performed securely and without unintended consequences.
Learn to create a custom "NotFound" view to handle scenarios where the requested actor data does not exist, improving user experience by providing clear feedback.
Learn how to set up the foundational files for the generic EntityBaseRepository class, which will serve as a base for handling common data operations across multiple entities.
Discover how to implement the generic GetAllAsync() and GetByIdAsync() methods to retrieve data asynchronously, allowing for efficient fetching of all records or a single record by ID
Understand the process of implementing the generic AddAsync() method to add new records to the database asynchronously, ensuring a non-blocking operation.
Learn how to implement the generic UpdateAsync() and DeleteAsync() methods to modify or remove records in the database, maintaining data consistency and integrity.
Explore how to configure the ActorsService to use the generic EntityBaseRepository, demonstrating the practical application of the repository pattern with a specific entity.
Learn how to set up the ProducersService by inheriting from the generic EntityBaseRepository class, enabling it to handle common data operations for producers.
Discover how to implement methods to fetch detailed information about a producer using the ProducersService, allowing you to retrieve data by ID.
Understand how to create a new producer record in the database using the ProducersService and handle user input through the ProducersController.
Learn how to update existing producer information in the database, including form handling and data validation in the ProducersController.
Explore how to implement functionality to delete a producer from the database, ensuring proper data management and error handling within the ProducersController.
ASP.NET MVC is a design pattern used to archive the separations of concerns. With MVC(model-view-controller) you can easily decouple user-interface (view), data (model), and application logic (controller).
This course will teach you all you need to know to build personal or commercial applications using ASP.NET MVC as your development framework. You will start with just an empty project in Visual Studio and build your app from the ground up.
As data storage, you will use an SQL database and Entity Framework will be used to interact with your data. You will also learn how to update database schema using Entity Framework migrations, how to add data to the database, get data from the database, update data in the database and also delete data from the database. You will learn about creating services to work with your data, but also create generic services/repositories to help you implement commonly used tasks like creating, reading, updating, and deleting data from the database. Other important features include dynamic content rendering with ViewComponenets, Paypal payments integration role-based UI rendering.
You will learn all these, step by step with hands-on practice. You will also have a lot of quizzes that will help to improve your knowledge of the ASP.NET MVC framework. Some of the topics that this course covers are:
Introduction to ASP.NET MVC
Models vs ViewModels
Views vs PartialViews
SQL server configuration with Entity framework
Entity Framework migrations
Adding, Getting, Updating and Deleting data from an SQL database using Entity Framework
Working with relational and non-relational data
Dependency injection
Major dependency injection lifetimes
Static and generic services/repositories
Model binding and validation
Routing
Cookie-based authentication
Role-based authorization
Role-based UI rendering
Dynamic rendering with ViewComponents
Online payments using Paypal SDK and much more...
You can find the source code of this course on my Github account: @etrupja/complete-ecommerce-aspnet-mvc-application