
Download file here
Explore the structure and new features of ASP.NET Core in this intermediate course, contrasting it with classic ASP.NET and guiding you through the latest tooling, project structure, and version considerations.
Explore the structure of ASP.NET Core part 3 and reflect on Microsoft's modern web development approach, drawing from .NET Framework lessons to inspire excitement for the framework's future.
Explore the code behind a robust web application to connect architectural concepts with practical implementation, and immerse yourself in code to see how theory meets practice.
Learn to create and compare ASP.NET Core web templates in Visual Studio. Configure startup and Kestrel hosting and set up individual user accounts with authentication options.
Explore how ASP.NET Core handles project configuration, static files, controllers, models, and middleware, with Entity Framework integration and flexible routing in a lightweight, cross-platform setup.
Explore how ASP.NET Core boots a web app, from its console origins to rendering the first view, and highlight startup differences in views and controllers compared to classic .NET applications.
Esprit de corps streamlines startup of core applications, moving from console apps to online memory and web requests, with streamlined services and a streamlined request pipeline.
Explore how ASP.NET Core apps startup via a startup class, dependency injection, and a configurable request pipeline. Learn how to use configure services, configure, and middleware, including environment-specific startup selection.
Explore how the startup object encapsulates the request pipeline in ASP.NET Core, and learn to configure services and the pipeline for full control over request processing.
Explore wiring middleware in a non-trivial ASP.NET Core startup class to handle HGT requests and craft responses, with a clear, testable request pipeline.
Discover how middleware forms an application pipeline that handles requests and produces responses. Learn how request delegates and map/run/use extensions drive the flow and support short-circuiting.
Explore the built-in ASP.NET Core middleware such as authentication, CORS, response caching, compression, routing, static files, and URL rewriting, and learn how startup, configuration, and dependency injection wire them together.
Explore how ASP.NET Core builds a request pipeline with middleware, showing order, static files, identity, MVC routing, and dependency injection for services like email sending.
The startup class is key to starting an HSP dot net core application. Runtime injects services into constructors and methods, enabling you to configure the application pipeline that handles requests.
Download file here
Explore how asp.net core uses a built-in container to inject framework and custom services into startup and controllers. Enable loose coupling through constructor injection and interface abstractions.
Identify when a class has too many dependencies, violating the single responsibility principle, and refactor to move responsibilities, keep interfaces clean, and reduce coupling by injecting only what you need.
Explore how the dependency injection container in ASP.NET Core manages the lifetime of injected objects, from the dependent object's life to lifetimes that may extend beyond it.
Explore dependency injection lifetimes in ASP.NET Core, comparing transient, scoped, and singleton options and their registration with addTransient, addScoped, and addSingleton. See how lifetimes affect instances across requests.
Choose the right dependency injection lifetime to avoid state bugs in ASP.NET Core MVC, using transient for stateless objects, scoped for a single request, and singleton for all users.
Explore tag helpers as clean, server-side tools that keep markup uncluttered, with attributes processed on the server to render HTML content, enabling designers and developers to build dynamic pages.
Tag helpers in ASP.NET Core simplify server-side rendering by targeting HTML elements with custom attributes, improving designer usability and reducing the context switch between C# code and HTML.
Explore how tag helpers replace old web forms controls by enabling lightweight server-side customizations that seamlessly integrate into views, while preserving standard HTML attributes in page output.
Explore tag helper scope in ASP.NET Core, learning how to include all tag helpers from an assembly and control their use across views, controllers, or opt out for single element.
Control tag helper scope by using add tag helper directive in view imports to load assemblies for all views, and opt out with bang operator or apply with a prefix.
Explore tag helpers in an ASP.NET Core MVC register view, showing how server-side tag helpers produce HTML, how bound and unbound attributes work, and how Visual Studio IntelliSense guides usage.
Explore the environment tag helper scope and behavior, rendering environment-specific script and style blocks for development, staging, and production, with unbundled versus minified assets and CDN fallbacks.
Experience how tag helpers improve server-side dynamic page processing over other technologies in the Microsoft stack, reducing attribute clutter and clarifying view code with Visual Studio's syntax coloring.
Discover how tag helpers power forms in ASP.NET Core, post data to the server, and use the primary form tag helpers, with HTML helpers or custom tag helpers as fallbacks.
Learn to use ASP.NET Core tag helpers for forms, inputs, labels, and validations to generate action attributes, anti-forgery tokens, and bind to model data with data annotations.
Discover how tag helpers shine in forms by leveraging familiar server controls and email helpers, delivering lightweight, cleaner Razor views in ASP.NET Core while embracing this compelling feature.
Explore building custom tag helpers in ASP.NET Core using the same base classes as built-in ones to create reusable UI code and stay DRY, and learn basic tag helper features.
Learn how to build custom tag helpers in ASP.NET Core Razor by deriving from the tag helper base class, implementing process, and using output to render email and bold elements.
Discover how to build custom tag helpers from a base class to create reusable UI components in ASP.NET Core. Use tag helper directives for fine-grained view access control across views.
Download file here
Explore how view components replace child actions and partial views by encapsulating reusable, data-driven rendering with its own logic and dependency injection, usable from views or controller actions.
Explore how view components offer a powerful, flexible way to implement reusable content in ASP.NET Core web sites, including how to define the view component and child actions.
Learn to create and use view components with a Microsoft sample app. See how reusing summary data across a website demonstrates their simplicity and potential sophistication.
Learn how a view component in ASP.NET Core filters and renders a to-do list by priority and done status, using an in-memory EF Core context and dependency injection.
Discover how view components in ASP.NET Core work and why they are flexible, with options for defining and using them. Leverage reuse of data and functionality to streamline large sites.
Dig deeper into building with Entity Framework Core and view components. Set up a service that provides data to the view component using dependency injection to display dog lists.
Explore Entity Framework Core, Microsoft's lightweight, cross-platform data access layer, using code-first modeling and migrations to generate and evolve a database within ASP.NET Core.
Use the in memory database with entity framework core to prototype and test ASP.NET Core apps without persistence. Install the provider, create a dog model and context, and configure startup.
Learn to configure Entity Framework Core with a DbContext and in-memory database, fix IntelliSense issues, and implement a dog service using dependency injection and a view component.
Explore how Entity Framework Core enables code-first data access in ASP.NET Core, using in-memory storage abstracted as a database, with modular, cross-platform, lightweight design on .NET Core.
Explore building a view component in ASP.NET Core to display dogs from kennels, customizing data via parameters and leveraging the dog service to integrate with the core framework.
Build and wire a dogs view component by implementing InvokeAsync and returning a view, then place the shared view under views/shared/components/dogs.
Learn to invoke a view component from an index view in ASP.NET Core and use dependency injection to supply a dog service that fetches data.
Create and render a view component that receives a dog collection as its model via dependency injection, then display the list on the index page with multiple invocations.
Explore how to use entity framework core in an ASP.NET Core application. Create a data service for a view component and explore integrating it into an application's views.
The Exploring ASP.NET Core: Intermediate is the second course in the two course series on the ASP.NET core framework. The course gives the students an opportunity to dig deeper into the ASP.NET core and build on the learnt concepts in the Exploring ASP.NET Core: Fundamentals course.
The Exploring ASP.NET Core: Intermediate course helps the candidates to get started with Tag Helpers, and then explore middleware, find out how to use dependency injection (DI) to register and resolve application services. The course also explore the importance of Entity Framework Core and database migrations. The comprehensive course enables the candidates to feel confident while working with the ASP.NET Core for building web applications.