
Learn ASP.NET Core 6 from scratch and build MVC websites, RESTful APIs, and clients, while mastering Entity Framework, Core Identity, and essential web development concepts with no prior experience required.
Understand how the http request travels through the middleware chain in the request pipeline, where components inspect, modify, or generate responses, manage cookies, and format specific data types.
Discover how to short-circuit the request pipeline in ASP.NET Core by omitting the next delegate, returning a response immediately for certain URLs while others continue.
Learn how to create pipeline branches with the map method to route specific URLs to a terminal middleware, and how branch and run middleware behave with or without next.
Explore dependency injection by creating a services folder, implementing IResponseFormatter with text and HTML formatters, and registering a singleton for use in endpoints with HTTP context.
Access services from the http context when a constructor is unavailable, resolving required services via request services for an endpoint. Register the endpoint with map get and test the url.
Register AddTransient services with the dependency injection container to create a new implementation instance for every dependency resolved, highlighting life cycle differences with singletons and scoped services.
Explore how scoped services share the same object per HTTP request, balancing singleton and transient lifetimes, and learn why resolving scoped services from the root provider fails.
Retrieve environment settings from the launch settings JSON and config, use app environment to check is development or is production, and verify by refreshing the page.
Demonstrate cookies in asp.net core 6 using http request and response in middleware, increment a counter cookie via context request cookies and context response cookies, and clear with cookie options.
Learn to enable and manage sessions in ASP.NET Core 6 by configuring services, adding distributed and memory caches, and using session middleware to store string and integer values.
detect https requests, enforce https redirection, and enable hsts with subdomains and a max age in production to require secure connections.
Create data models for products and categories in ASP.NET Core, define a decimal price column, and establish a one-to-many relationship, with models in a Models folder.
Create a data context class in the infrastructure folder that extends DbContext, and define DbSets for products and categories to enable database access.
demonstrates adding update and delete actions in asp.net core 6, using modal binding for update, and url key for delete, with ef core save changes ensuring bananas are removed.
Apply the ApiController attribute to web service controllers to modify model binding and validation, allowing omission of the FromBody attribute in POST and PUT requests.
Omit null properties by returning only selected fields or by configuring json options to ignore nulls. Apply the options pattern in Program.cs to set a default ignore condition.
Show how to display a product in an ASP.NET Core 6 Razor view by mixing HTML and C# to render a product model's name and price in a Bootstrap-styled table.
Specify the view model to track expressions during development, enabling IntelliSense and preventing runtime errors when accessing non-existent properties in Razor views.
Add the underscore view inputs file to specify namespaces searched for types, using the MVC template. Include core models and category ID, then confirm the home index runs.
Use the _ViewStart file to set a layout for all views in the views folder. Create it via add new item and verify the layout applies to pages like home/list.
Explore using layout sections in ASP.NET Core 6, defining header and footer sections in views, rendering them in the layout, handling optional sections, and testing across pages.
Explore building and using partial views in ASP.NET Core MVC by creating row partials, passing models, leveraging tag helpers, and nesting partials with view data for dynamic list rendering.
Demonstrate razor pages routing by adding a categories/list page, fetching category names from the context, rendering them in a ul list, and applying the shared layout to the page.
Learn how to specify a routing pattern in a Razor page, switch from query string binding to segment variables, and navigate routes such as /index/2 and /list/categories.
See how Razor Pages handler methods use the action result interface to control responses, with returning page from a handler like index illustrating the same implied result as the view.
Walks through creating a Razor page named edit, wiring get and post handlers to edit a product, update price via model binding, and redirect back to same page after submission.
Define multiple handler methods in a page model and route requests via a handler query string or routing segment; load product and category data on the handler selector page.
Learn to create reusable view components in ASP.NET Core 6, pass data without model binding, and render them via component invocation or tag helpers, including the view component attribute.
Description
Are you ready to start your ASP.NET journey?
This 7 hour course will take you from a beginner to being an ASP.NET developer!
Learn ASP.NET Core 6 / .NET 6 from scratch and become an ASP developer!
This course will take you from being a beginner in ASP .NET to being able to develop custom, real-world websites and web services!
This course is for anyone with some C# knowledge that wants to start developing using ASP .NET Core 6 / .NET 6
The course is designed to take you from a beginner level to an advanced level where you are able to develop your own custom websites and application.
Learn about middleware, dependency injection, MVC, Razor Pages, tag helpers, web services, view components and much more, all in one course!
What are the requirements?
Some c# knowledge
Some web development experience
Previous ASP knowledge is helpful but not at all necessary
What am I going to get from this course?
Beginning ASP.NET Core 6
Middleware
Dependency Injection
Configuration
Sessions
Cookies
Entity Framework Core
Web Services
MVC
Razor Pages
View Components
Custom Tag Helpers
Tag Helpers
Form Tag Helpers
Model Binding
CRUD
Identity
Role Management in ASP NET Core Identity
Database Migrations
Areas
Whether you are looking to learn everything from scratch or just cover specific areas, you will find it in this course!