
Learn to build a real education-center web app with ASP.NET Core and MVC from simple to complex, covering Entity Framework migrations, authentication, authorization, and repository patterns.
Download JavaScript frameworks and bootstrap inside Visual studio 2019
Create two pages with a custom edit in an ASP.NET Core app, using views and layout, bootstrap, and javascript to manage data changes and import workflows.
Learn to create a database using code first in entity framework core by configuring a db context, setting the connection string, and applying migrations.
Apply data annotation and fluent api to configure a model and its database table in asp.net core, including keys and relationships, and compare when to use each approach.
Learn to model a one-to-many relationship between departments and courses in ASP.NET Core, configure with entity type configuration and the model builder, and apply migrations to update the database.
Seed the database in an ASP.NET Core app by implementing a static seeding class, using the service provider to populate the chorus and department tables with initial data.
Build a course controller in asp.net core and retrieve all courses from the database using method syntax or query syntax, including related department data.
Implement a generic repository pattern in ASP.NET Core by creating a generic repository interface and concrete class, defining CRUD methods and predicate-based queries to manage entities.
Create and manage course data using an ASP.NET Core course controller, implementing CRUD operations with a repository, dependency injection, and views to handle create, read, update, and delete.
Learn how to create and use a partial view in ASP.NET Core apps to organize UI with reusable components like buttons, links, and form details.
Define a student entity with first name and last name, configure column types and default values, and connect a repository and controller to manage student data in ASP.NET Core.
Create a detailed student controller with a details view, wiring student to enrollments and courses through one-to-many relationships. Implement enrollment, course relations, and repository access to display a student's courses.
Learn to implement sort and search in the ASP.NET Core student controller, including case-insensitive name search and sorting by enrollment or name to list students.
Learn to implement pagination in the student controller in ASP.NET Core app using include pagination, configure page size and page index, and register startup services for a paged student list.
Learn to attach courses to a student via enrollment, implement the enrollment repository, inject dependencies, and update the student detail view with a course selection list.
Learn to configure instructor relationships with assignments, courses, and departments using entity type configuration and model builder, covering one-to-one and one-to-many mappings in ASP.NET Core.
Create and wire a department controller and views in an ASP.NET Core app, implement repository and constructor injection, build create, details, edit, and delete workflows, and link departments to instructors.
Build and query an instructor and course structure in ASP.NET Core, wiring repositories, models, and enrollments to display courses, instructors, and student enrollments.
Explore the instructor controller and repository, handling detail views and course assignments, enabling modal loads, and creating a template view to add a new instructor.
Create a new instructor and connect it to courses using the instructor controller, views, and course repository. Define fields like first name, last name, email, and office.
Learn to implement a course assignment feature in ASP.NET Core by building a course assignment repository, assigning courses to an instructor, checking existence, and updating views and data.
Learn to implement delete functionality for instructors in an ASP.NET Core app, including repository access, post actions, redirects, and updating course assignments.
Initialize a current user in an ASP.NET Core app using identity and entity framework, seed admin and normal users, configure password policies, assign roles, run migrations, and sign in.
Learn to implement an account controller in ASP.NET Core, handling user creation, login, logout, and identity management with email, username, and password validation.
Build and manage roles in an ASP.NET Core app by creating a role entity, validating names, and wiring get and post actions with views for listing and details.
Create and manage a user controller in an ASP.NET Core app, implement identity and roles, build views for listing, details, create, update, and delete, and enforce authorization.
Enable role-based access and policy-driven authorization in an ASP.NET Core app by enforcing admin and user roles, login status, and restricted pages.
Access full source code
This comprehensive course is designed specifically for learners who have a foundational understanding of ASP.NET Core MVC and are eager to deepen their knowledge and skill set. Whether you are a beginner eager to dive into the world of ASP.NET Core or an intermediate developer looking to advance your expertise, this course offers a structured pathway from basic concepts to advanced implementations.
Throughout this course, participants will gain hands-on experience in building robust ASP.NET Core applications, leveraging both data annotation and Fluent API for model configuration. One of the key highlights of this course is the integration of Entity Framework, a crucial tool for working with databases in ASP.NET Core, alongside the implementation of code-first migrations. This approach not only simplifies database management but also enhances the application's scalability and maintainability.
This course teaches you how to build websites with ASP.NET Core. You'll learn how to:
Make ASP.NET Core apps: Create websites.
Use Data Annotation and Fluent API: Set rules for your website data.
Use Entity Framework: Manage your website's database easily.
Data Seeding: Fill your database with starter data.
Complex Querying: Find and use data in complex ways.
MVC Pattern: Organize your code better.
Handle Relationships: Connect data in different ways (one-to-one, one-to-many, many-to-many).
User Edit: Change user information.
Role Edit: Manage user roles and permissions.
Security: Keep your website safe.
You'll start with easy stuff and move to harder things, using different ways to work with data.