
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.
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.
Learn to consume endpoints in Blazor by injecting services, calling an endpoint from a page component, and asynchronously loading a products array for display.
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.
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.
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...