
Jump into asp.net core mvc basics and build a small app as you progress through guided exercises, challenges, and Q&A support.
Learn to build a basic ASP.NET Core MVC app with Entity Framework and Bootstrap by creating a borrowed items list and an expenses tracker, implementing CRUD and expense types.
Set up your first project and explore the IDE’s automatically created files, understanding their roles while learning the mvc theory of models, views, and controllers.
Install and update Visual Studio 2019 to the latest version. Install SQL Server 2019 developer edition and the Dotnet 5.0 SDK to get started with ASP.NET Core.
Unify your skills with dot net five, a cross-platform open-source framework for desktop, web, cloud, and mobile apps, including asp.net mvc, razor pages, and entity framework core.
Create an ASP.NET Core 5.0 MVC project in Visual Studio 2019, select the MVC template with HTTPS, enable Razor runtime compilation for hot reload, and set no authentication.
Explore the automatically generated project file, dependencies, and NuGet package references. See how the program file boots the web host and enables dependency injection.
Discover dependency injection to simplify managing services across pages by registering interfaces in a container, which creates, allocates, and disposes objects, aligning with the fifth solid principle.
Learn how dependency injection is configured in the startup file and built into the .NET Core pipeline, via the DI container and middleware such as controllers with views.
Explore routing in ASP.NET Core, mapping URL paths to controllers and actions via the routing middleware, and understand endpoints, defaults, and URL generation in startup.
Explore appsettings.json for connection strings and settings, launchSettings.json profiles for development, and the wwwroot folder with css, js, and images served by app.UseStaticFiles.
Explore how MVC separates data, user interface, and control logic by detailing the model, view, and controller, and trace how a browser request flows from route to action to view.
Learn how ASP.NET Core 5.0 MVC maps home index and privacy actions to views, and use the shared folder, layout cshtml, view imports, and view start to build web apps.
Explore how controllers drive the model-view-controller pattern, learn to create controllers, understand routing types, and run actions to tailor behavior in asp.net core 5.0 mvc.
Create an empty ASP.NET Core 5.0 MVC controller named appointment controller. Return today's date as an ok result to demonstrate routing to the appointment/index action.
Create your own view in an ASP.NET Core 5.0 MVC app by adding a Razor view for the appointment controller's index action, naming it index.cshtml, and wiring it through routing.
Explore how routing in ASP.NET Core matches incoming URL paths to controllers and actions using routing middleware, endpoints, and both conventional and attribute based patterns.
Explore conventional routing in MVC core by mapping the controller and action with an optional id in startup.cs. See a dedicated blog route that directs to the blog article action.
Define routes using attributes on controllers and actions, offering an alternative to convention-based routing. Ensure routes evaluate in the order they appear, enabling multiple routes and optional parameters.
Explore how controller actions handle http requests through methods, and learn about IActionResult and five action result types: status code result, status code with object result, redirect, file, and content.
Learn to pass parameters to actions in ASP.NET Core MVC and APIs by using URL routing, query strings, headers, request body, and form data, including IFormFile support.
Discover how action results shape responses in ASP.NET Core MVC, using status code results, redirects, file and content results, and object results with content negotiation.
Explore models and databases in ASP.NET Core, set up a SQL Server database, create and migrate tables, perform CRUD operations, and build a page to run operations with hands-on challenges.
Define an mvc model as a C# class that shapes data with properties like id and borrower, map it to a database, and designate a primary key using data annotations.
Learn the code first approach with entity framework core, writing domain and context classes first, then generating and migrating the database from code using NuGet and dotnet commands.
Set up a database connection by creating a proper connection string in appsettings.json, choosing between dot and Localdb, and configuring default connection with trusted and multiple active result sets.
Install Entity Framework Core and SQL Server packages, then create a data folder and DbContext inheriting from DbContext with a constructor that passes options to the base class.
Learn to set up an ASP.NET Core MVC database context by adding a db set for items and configuring startup to connect to SQL Server via the default connection string.
Install EF Core tools, use package manager console to add and update migrations, create the items table (id, borrower), and verify migration history in in and out sql server database.
Create an item controller and a corresponding Razor view to display borrowed items from the database, wire navigation in the shared layout, and test the index items page.
Use dependency injection to inject the application db context into the item controller, retrieve items from the database, and pass the list to the view for display.
Retrieve data and display it using Razor and Bootstrap by rendering a table of items with columns item name, borrower, and lender in the index view.
Add item name and lender columns to the item model, then create and apply a migration for the database. Update the view to display the new columns.
Convert the create item link into a button, wire navigation from the item index to the create action, and build the create page with the item model using tag helpers.
Designs the create item page UI by binding inputs to the item model, using display name annotations, and adding create and back actions with a clean form.
Implement a post create action in the item controller, secure with HttpPost and anti-forgery token, save the new item via Entity Framework, then redirect to index.
Practice building an expenses page in ASP.NET Core MVC by adding a new controller, creating an expenses model with name and amount, and enabling add and display functionality.
Create and manage an expense tracker in ASP.NET Core MVC by adding an expense model, controller, and views, configuring the database with migrations, and displaying expense name and amount.
Learn to delete database entries in ASP.NET Core 5.0 MVC by using a delete button, passing the item id, and confirming on a dedicated delete view.
Implement update functionality in an ASP.NET Core 5.0 MVC app by adding get and post update actions in the expense controller and a Razor view to pass the expense id.
Explore foreign keys, view bags, view data, and view models for strongly typed views. Perform a thorough setup and practice updating data through practical challenges.
Create a new expense category page in ASP.NET Core 5.0 MVC that lets users define category names like must, nice to have, and total useless expenses, guiding cost decisions.
Create an expense type model and controller, register a DbSet, build views for crud operations, add migrations, update the database, and navigate to the expense type index.
Learn how to link expenses to expense types by adding a foreign key and configuring a relationship between expense and expense type tables, including migration and database update.
Provide a dropdown to select the expense type for every new expense, ensuring a valid expense type ID satisfies the foreign key constraint before saving.
Learn to populate an expense type dropdown by building an enumerable of expense types, passing it via view bag, and rendering a select list in the create view.
Explore how view bag and view data pass data from a controller to a view in ASP.NET Core MVC, comparing dynamic properties with a weakly typed dictionary and their lifecycle.
Learn how strongly typed views use view models in ASP.NET Core MVC to bind data, prevent loosely typed views, and keep the create view strongly typed via a Viewmodels folder.
Create an expense view model to combine expense data and a type dropdown, wire it into the expense controller, and update the create action to post the VM.
Display the expense type name in the expenses list by loading the related expense type from a separate table and binding it to each expense.
Implement the update challenge by switching to the expense view model, updating the UI and controller to include expense type, and enabling full CRUD in ASP.NET Core MVC.
Implement identity with entity framework and a custom login in ASP.NET Core MVC. Explore authentication, authorization, and roles for admin, doctor, and patient in an appointment app using full calendar.
Build a complete ASP.NET Core MVC appointment system with custom login and registration, role-based access for patients, doctors, and admins, featuring a calendar, appointment management, email notifications, and Azure deployment.
Open Visual Studio 2019 with .NET 5, create a new ASP.NET Core MVC web app named appointment scheduling, start from scratch with no authentication, and enable Razor runtime compilation.
Add authentication by configuring a database connection string in appsettings.json using the default connection to localhost mssql local db. Configure the db context in startup.cs to create appointment scheduler database.
Explore a completed ASP.NET Core 5.0 MVC application that demonstrates a calendar-based appointment system with custom registration and sign in, email notifications, role management, admin workflows, and Azure deployment.
See how adding an identity migration creates ASP.NET identity tables, including users, roles, and role claims, by installing the tooling and updating the database.
Create a login view model with email, password, and remember me, using data annotations, and implement an account controller that injects the application db context for login.
Learn to set up common styling and JavaScript for login page in the ASP.NET Core 5.0 MVC course, using local and CDN libraries like full calendar, Font Awesome, and select2.
Refine the underscore layout with a navbar inverse and expand small, drop the appointment link, remove the light background and border, and apply flex row reverse for cleaner navigation.
Create a login view in the account controller, wiring a get and post login action to a login view model with bootstrap form elements, validation, and a remember me option.
Define a register view model with name, email, password, confirm password, and role name, using data annotations like required, email address, string length, minimum six, compare, and display.
Create a static helper class to manage roles in asp.net core mvc, exposing admin, doctor, and patient constants and a get roles for dropdown method to populate the register view.
Learn to implement a register page in ASP.NET Core MVC by creating a get action for register and building register view with name, email, password, confirm password, and roles dropdown.
Enable client-side validations in ASP.NET Core MVC by adding the validation scripts partial, using a global or per-field validation, and fixing a role name dropdown with a proper select element.
Create a login partial view on the home page and conditionally display login or register links using sign in manager. Configure identity services with the app's db context for authentication.
Discover using tag helpers in ASP.NET Core 5.0 MVC to build styled sign up and sign in links with anchor tags, pointing to account controller actions register and login.
Extend the default identity user with an application user to store the user's name, update the db context and startup configuration, and run migrations to add the name column.
Create the first user by auto-creating admin, patient, and doctor roles if missing, assign the selected role to the new user, and switch sign-in to application user.
Enable proper sign-in in an ASP.NET Core MVC app by adding use authentication, displaying the signed-in user's email in the navbar, and implementing a logoff flow via a post form.
Implement login and logoff in ASP.NET Core MVC using sign-in manager with password sign-in, anti-forgery validation, server-side validation, and error handling, then redirect to home or login page.
Explore sign in, sign up, and log off flows in an ASP.NET Core MVC app, including validation summaries, error handling for invalid logins, and role assignment.
Add missing js files to an ASP.NET Core 5.0 MVC project by integrating notify dot Main.js and a script custom calendar dot js, update layout, and refresh to clear errors.
Add two methods to the appointment service interface to retrieve all doctors and all patients, using dependency injection and projection into doctor and patient view models.
Register the appointment service with a transient lifetime and inject it into the controller to fetch doctors via a doctor view model, using role-based filtering.
Retrieve the doctor list in the appointment controller and render a dropdown in the index view, gated by the admin role via view bag.
Learn how to integrate fullcalendar.io in an ASP.NET Core 5.0 MVC app, display a calendar for admin users, configure header options, enable selection, and open a modal for edits.
Selecting a date on the calendar opens a Bootstrap modal to add or edit an appointment, using a partial view named add edit appointment.
Create an add/edit appointment modal with an appointment form, including a title input (maxlength 100) and a description textarea, plus a patient dropdown populated from the view back patient list.
Create a modal for adding and editing appointments with patient and duration dropdowns, powered by a helper and view bag, that closes and saves the selected date to the database.
Update full calendar to the latest 5.5.1 by pulling the CDN. Update JS and CSS references and adjust syntax to header toolbar and time grid day/week/month views.
Set up an api/appointment endpoint in ASP.NET Core, create a generic common response, and inject appointment service with HTTP context to save calendar records using the user id and role.
Create an appointment model and view model with key properties, then add a DbSet to the context and run migrations to generate the appointment table.
Design and implement a unified add-update appointment service that parses dates, computes end date from duration, creates or updates the appointment in the database, and saves asynchronously.
Create a save calendar data post endpoint in an asp.net core api controller that accepts an appointment view model and returns a response with status and add or update messages.
Learn to add the first appointment in an ASP.NET Core MVC app by setting the start date to today, integrating a Kendo date time picker, and posting data via Ajax.
Implement client-side validations for adding an appointment by checking title and start date with a custom JavaScript function. Display red borders and prevent form submission until inputs are valid.
Implement appointment service methods to fetch all appointments by doctor id and patient id, convert them to appointment view models, and expose via API.
Create an http get endpoint get calendar data in the appointment api controller to return appointment view models by doctor id with role-based handling for patient, doctor, and admin.
Fetch calendar data via a get API and render booked appointments in a full calendar by converting responses to events with title, start, end, green for approved, red otherwise.
Implement a get-by-id method in the appointment service to return a single appointment view model, including patient and doctor names, via the api controller.
Click an event in the full calendar to trigger a get calendar data by ID request, fetch event details, and display a populated modal with the data.
Demonstrates viewing appointment details by populating a modal with title, description, start date, duration, doctor ID, and patient ID from the API, with a spelling fix and migration.
Trigger a calendar refresh when the doctor changes by refetching events and updating the user interface, while fixing JavaScript scope to access the calendar across the script.
Learn to display the calendar-selected date for a new appointment in ASP.NET Core MVC, using Moment.js for formatting and debugging the on show model to populate the start date.
Learn how to auto-refresh calendar after adding an appointment by refetching events, handle form reset on close, and preserve selected values like doctor id while keeping the user interface consistent.
Learn how to tailor the appointment management interface by user role in asp.net core mvc, showing confirm, delete, and submit actions for doctors and admins while keeping details view accessible.
Populate patient name and doctor name in the view by aligning IDs and converting labels to inputs, then display status as approved or pending based on the doctor approval flag.
Implement ajax calls to delete and confirm appointments in the custom js file, retrieve the appointment id, call the api endpoints, and refresh the calendar interface after successful actions.
Learn how to toggle button visibility in an ASP.NET Core 5.0 MVC app by updating bootstrap classes (none) for confirm and submit buttons based on appointment status and admin user.
Fixes streamline an ASP.NET core MVC app: hide delete for new appointments, toggle submit and confirm buttons, populate patient and duration dropdowns, and support admin, doctor, and patient views.
Learn how to configure and use session in ASP.NET Core 5.0 MVC, store the logged-in user name in a session variable, and retrieve it in controllers and views.
Learn to implement role-based registration in an ASP.NET Core 5.0 MVC app, restricting admin sign up, enabling admin created accounts, and updating the registration UI with a helper.
Discover how to use temp data in ASP.NET Core MVC to display a one-time alert after admin registration by storing the username under a key and rendering it on redirect.
Learn how to seed roles and an admin user in an ASP.NET Core MVC app and set up Mailjet email sending using API keys, sender domains, and HTML messages.
Configure appsettings.json with IOptions, wire an email sender via dependency injection, and notify doctor and patient with two emails when an appointment is created.
Learn how to implement the update appointment workflow in ASP.NET Core 5.0 MVC by retrieving the appointment, updating all properties, and persisting changes with async save, then test as admin.
Learn how authorization in ASP.NET Core controls access to appointments by requiring sign-in, using global or action-level authorization, and enforcing role-based access for admin and doctor users.
The course comes with 100% support for any questions or errors with the course content/project.
In this ASP.NET Core 5 Beginner course, you will learn to build Web Apps using the MVC architecture. The course will take you from no experience with ASP.NET to building a functional website.
This course is for Anyone with experience in C# and SQL who wants to take the next step and learn to build applications in ASP.NET Core with MVC as well as by using the Entity Framework Core.
If you want to finally understand what the fuzz is all about and want to see how to quickly create functional, clean, and efficient websites and get a great entry into ASP.NET Core MVC development, then this is the right course for you.
We will be building a real-world appointment website using authentication, user roles, etc.
We will be setting up a great foundation with all the basic concepts of ASP.NET Core 5
The focus of this course is not just on teaching you ASP.NET Core, its main focus is getting you ready for real-world projects.
We have divided the course into two parts.
In part 1 you will learn the fundamentals of ASP.NET, CRUD Operations, and the Entity Framework Core.
This includes:
Introduction to Model View Controller
Understanding the structure of an ASP.NET Core Project by understanding what each file does
Understanding Routing and Actions
Passing values from one screen to another
Setting up the Database DB Context as well as Entity Framework Core
Applying CRUD operations
and much more
In the second part, you will build a real-world appointment Applications. This will teach you to become a real ASP.NET developer.
You have a 30 Day Money-back Guarantee, so in case you realize, this isn't the right course for you, you don't take any risk and can get your money back.
The course comes with challenges and real-world applications.
So don't hesitate and enroll in the only course that you will need, to take you from beginner to a confident developer of real-world projects.