
A brief explanation about what Blazor is and the format of the course
Compare Blazor webassembly, Blazor server, and Blazor PWA to reveal loading, latency, execution, and connectivity differences.
Install Visual Studio and Node.js to set up your Blazor development environment, choosing development options and using Google Chrome as browser, then verify the setup by running a PowerShell command.
Set up the backend locally by running npm install and npm start. It exposes rest apis for user management, login, orders, categories, and product listings.
Create a Blazor web assembly project in Visual Studio, select .NET version 5.0, add the assets folder with the logo, and run with the green play button to see navigation.
Explore how templates define the elements that are always visible, presenting a layout with a left navigation bar and a right content area where the body renders individual pages.
Explore how a Blazor component in the pages and shared folders renders the Hereward page, merging C# with markup, exposing a title parameter, and enabling reusable Razor blocks.
Explore change detection and see how a simple counter updates the page automatically as the current count variable changes, illustrating how modern web frameworks handle user interface updates.
Prepare a Blazor project by cleaning files, deleting unused Razor files in pages and shared folders, removing navigation icons, updating directives, and opening the index. Then run to verify changes.
Learn to consume endpoints in Blazor by injecting services, calling an endpoint from a page component, and asynchronously loading a products array for display.
Render dynamic homepage products in Blazor using conditional blocks and foreach, displaying a responsive Bootstrap grid of product cards with image, name, and price, including a loading state.
Learn how Blazor components reduce code redundancy and simplify maintenance by turning the product card into a reusable component in the shared folder, with parameters.
Convert a bootstrap signup form into a Blazor form by creating a SignUpModel class, replacing markup with Blazor inputs, and binding properties to capture user data.
Define data constraints on the Blazor sign-up form using data annotations. Enforce required fields, email format, age range between 12 and 18, and password confirmation with compare validation.
Implement login and sign-up components in a Blazor app, switching forms with a mode string and using a do logging function. Run the project to verify credentials in the console.
Blazor course teaches signing up to create a user in the database via post, returning id and balance, storing data in a user entity, and navigating to home after signup.
Learn how to inject services in Blazor to share data across pages using a singleton, with the right now service as a global data source for sign up and checkout.
Persist login by storing user credentials in browser cookies, leverage JavaScript interop with Blazor to write and read cookies at startup for automatic credential loading.
Implement and display http error messages in a Blazor app by creating an error message string and rendering server messages with child content render fragment inside a reusable error component.
Learn to implement a shopping cart in a Blazor app by adding cart items, updating quantities, removing items, and clearing the cart with index-based checks.
Adjust product quantity with arrows, starting at one, and add to cart with a red button. The lesson covers increment and decrement functions, cart updates, item quantity, and total price.
Compute and display shopping cart totals in a Blazor app, using change detection and events to update all product cards when quantities change.
Render the shopping cart items in a Blazor app with dynamic data bindings, show a cart item card when items exist, and display calculated totals and user balance for checkout.
Extend the Blazor shopping cart by adding remove functionality, quantity updates, and a clear cart action, using change events and JavaScript interoperability to keep totals in sync.
Explore the Blazor component lifecycle, including on parameters set and sync, first render, after render, and disposal, and see how parameter changes trigger API calls and UI updates.
Explore how Blazor service classes—singleton, transient, and scoped—govern dependency injection in WebAssembly and server contexts, showing persistent versus fresh values across navigation.
Are you interested to learn Blazor ?
This course is very-very hands on, much practical, less theoretical.
For professionals with at least some knowledge in any web programming language.
It's not a complete guide, it's a sort of big push so you can have the bases to start to code your project in a very short time. It means that you will be learning at least 80% of the things that you used to use in any professional and commercial web project in Blazor: Consuming RestAPIs, Navigation and Routing, Service Classes, Comnponents, Differences betwen Server, Webassembly and PWA, stylying pages, conditional rendering, rendering data collection, handling http errors, templates, reusable components, debugging, etc.
If you are the kind of student that's get bored with theoretical and long explanations or are very anxious and wants to starts to produce ASAP, you are the righr person for this course.
We will be developing togheter from scratch a webshop that's sell computer devices using ficticious brands and models (to not use registered marks and logos) . It's a webshop that's instead work with money, it works with points like the usual webshops driven to loyalty programs, but you will face the usual of a webshop: Login, Signup, Categories, Shopping Cart, etc...