Course on ASP.NET Core (latest version)

This is a $10 step by step video course for learning ASP.NET Core. Learn from the comfort of your home. Each topic is explained in a beginner's language. See the table of contents below for the clear roadmap.

Categories | About |     |  

Parveen,

Following are the details of this course:

FAQs FREQUENTLY ASKED QUESTIONS

What will I get? Ans: See the TOC below. You will get download links for video tutorials + source code for each program that we discuss. The links never expire.

Will I need internet? Ans: You will need internet only for downloading the videos to your hard disk. The links never expire. The videos can be played any number of times and for any number of years to come!

What should be my next step? Ans: Write to SALES.HOVEN@GMAIL.COM to know more.

Payment mode? Ans: Buyers outside India pay $10 through PayPal. Indian buyers pay Rs. 600 through PayU.

Chapters covered in this Course

Following is the table of chapters covered in this video course.

Razor Pages
  1. L01 - Introduction to Razor Pages (xx min)
    (watch first 6 mins | Code)
  2. L02 - Integrating CSS, JS and _Layout (xx min)
    (watch first 6 mins | Code)
  3. L03 - Inter Page Navigation and Linking of Razor Pages with Tag Helpers (xx min)
    (watch first 6 mins | Code)
Find a Doctor (Project Step 1)

This is now an implementation of the concepts learnt so far, where we start with a new project and add three razor pages - Index, Login and Register. Layout and viewstart files use the CSS/JS based bootstrap library to provide "color" to the pages. Tag helpers are used for inter page navigation.

Basic Event Handling in Razor Pages
  1. L01 - How to handle a click event (xx min)
    (watch first 6 mins | Code)
  2. L02 - Creating an HTML FORM with Razor Pages (xx min)
    (watch first 6 mins | Code)
  3. L03 - How to handle a FORM submit event (xx min)
    (watch first 6 mins | Code)
  4. L04 - How to handle Server Side Validation (xx min)
    (watch first 6 mins | Code)
Find a Doctor (Project Step 2)

Event handlers for Login and Registration buttons are connected now. Two model classes RegistrationInfo and LoginInfo are added to connect the registration and login forms to the respective OnPostAsync handlers. We verify that FORM data is indeed being received, and server side validation and validation summary are functional. We are now at the point of database connectivity where we shall register the user.

Database Connectivity - I
  1. L01 - Various Database Options and the initial Setup (13 min)
    (watch first 6 mins | Code)
  2. L02 - Getting Started with Database INSERT of Form data (23 min)
    (watch first 6 mins | Code)
  3. L03 - Strategy to handle a DbUpdateException (xx min)
    (watch first 6 mins | Code)
  4. L04 - Specifying Primary Key(s) and the DbSet.Find() method (xx min)
    (watch first 6 mins | Code)
  5. L05 - Displaying Data and OnGetAsync (10 min)
    (watch first 6 mins | Code)
  6. L06 - Deleting Records and the Anchor Tag Helper (10 min)
    (watch first 6 mins | Code)
  7. L07 - Updating Records (13 min)
    (watch first 6 mins | Code)
  8. L08 - Checkbox in a Razor Form (13 min)
    (watch first 6 mins | Code)
  9. L09 - Radiobuttonlist in a Razor Form
    (watch first 6 mins | Code)
  10. L10 - Dropdownlist in a Razor Form
    (watch first 6 mins | Code)
Find a Doctor (Project Step 3)

The project has now been configured for database connectivity through Sqlite. The Registration module is fully functional - a user can register as a doctor or a patient - and a database INSERT entry is now working. EMail ID is the primary key. If a record already exists then a DbUpdateException is handled and failure is shown through a validation summary. If the registration is successful, the user is redirected to the login page. If he logs in with wrong email/password then he is asked to ammend and retry. But if he logs in with an email that isn't registered yet, then he is asked to register himself. Next we learn how to consolidate the code through ViewImports.

Modularity
  1. L01 - ViewImports (10 min)
    (watch first 6 mins | Code)
  2. L02 - Razor Components (20 min)
    (watch first 6 mins | Code)
  3. L03 - Currency Converter Component (10 mins)
    (watch first 6 mins)
Find a Doctor (Project Step 4)

In this step we tidy the Index.cshtml, Register.cshtml and Login.cshtml razor pages by moving various common directives (like addTagHelper) and namespaces to a viewimports file. This practice will now be followed throughout the remaining project. Now we are ready to write the home page of doctors. Let us learn the concept of Areas and Partial Views before that.

Areas and Partial Views
  1. L01 - Concept of Areas and an Authorization Scheme (17 min)
    (watch first 6 mins | Code)
  2. L02 - Partial Views (19:59 mins)
    (watch first 6 mins | Code)
Find a Doctor (Project Step 5)

Two "Areas" are added - Doctor and Patient. The pages relevant to a doctor shall stay in the former, whereas of a patient in the latter. Home pages have been added for both. Partial pages for _Header, _Menu and _Footer have also been added for the doctor's area, and similarly partial pages for _Header and _Footer are added for the patient's area. This is what happens now: when a user logs in, then depending on the UserType he is redirected to his "Area". Next let us learn about Authentication and Authorization so that the users of a specific "Role" can only access the pages.

State Management
  1. L01 - Reading and WritingCookies (18 min)
    (watch first 6 mins | Code)
  2. L02 - Consent Banner with ITrackingConsentFeature (13 min)
    (watch first 6 mins | Code)
  3. L03 - The Concept of Session (16 min)
    (watch first 6 mins | Code)
  4. L04 - Serializing DateTime into Session (9 min)
    (watch first 6 mins | Code)
  5. L05 - When and how to use TempData (11 min)
    (watch first 6 mins | Code)

This Blog Post/Article "Course on ASP.NET Core (latest version)" by Parveen is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.