Course description
Dive deep into the important features of ASP.NET Core and the applications that are built with it. Explore the concepts of Dependency Injection, a common software engineering design principle that’s built into the platform and used extensively, and see how it works in ASP.NET Core, as well as how you can use it in your custom code. Get up to speed on an important new feature of views in an ASP.NET Core MVC application—Tag Helpers. Tag Helpers provide a way to use server-side processing without muddying up the HTML in your views, making for much cleaner markup. See how to use the built-in Tag Helpers and how building and using custom helpers can make your application’s user interface richer and more responsive to the user’s needs.
Prerequisites
This course assumes that students have some programming background, and at least minimal experience with classic ASP.NET, C#, and Visual Studio. As with any such course, the more experience you bring to the course, the more you'll get out of it. This course moves quickly through a broad range of programming topics, and is focused on using the .NET Framework with C#. The course also assumed that you are well familiar with how to use the version of Windows that you are running. For example, the course might say simply open a browser duo; without explaining how to do that. You should also be able to navigate the folder hierarchy using Windows Explorer.
Learning Paths
This course is part of the following LearnNowOnline SuccessPaths™:
Building ASP.NET Web Applications
Meet the expert
Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.
Course outline
Dependency Injection and Tag Helpers
Dependency Injection (15:03)
- Introduction (00:59)
- Dependency Injection (04:16)
- DI References (02:34)
- Demo: Dependency Injection (03:30)
- Demo: Custom Services (02:33)
- Summary (01:08)
Dependency Injection Lifetimes (21:17)
- Introduction (00:53)
- Dependency Injection Lifetimes (03:10)
- Demo: DI Features (05:19)
- Demo: More Features (04:38)
- Demo: Service Lifetimes (06:02)
- Summary (01:11)
Introduction to Tag Helpers (14:00)
- Introduction (01:07)
- Tag Helpers (03:58)
- Tag Helpers vs. Web Forms' Server Controls (04:03)
- Structure of a Tag Helper (04:07)
- Summary (00:43)
Tag Helper Scope and Demo (30:34)
- Introduction (01:11)
- Tag Helper Scope (06:06)
- Demo: Tag Helper Attributes (05:06)
- Demo: Tag Helpers and Intellisense (05:47)
- Demo: The Environment Tag Helper (05:36)
- Demo: Tag Helpers vs Html Helpers (05:56)
- Summary (00:49)
Using Tag Helpers with Forms (16:52)
- Introduction (00:54)
- Form Tag Helper (02:28)
- Input Tag Helper (02:45)
- Type Attribute on Input Element (00:30)
- Data Annotations => Type Value on Input Element (00:28)
- Textarea Tag Helper (00:26)
- Label Tag Helper (01:10)
- Validation Tag Helpers (02:20)
- Select Tag Helper (01:12)
- Demo: Tag Helpers and Forms (04:02)
- Summary (00:33)
Building Custom Tag Helpers (21:03)
- Introduction (00:44)
- Building Custom Tag Helpers (01:01)
- Demo: Building Custom Tag Helpers (05:24)
- Demo: More Email Tag Helper (02:49)
- Demo: Bold Tag Helper (05:50)
- Demo: Condition Tag Helper (04:26)
- Summary (00:45)