This video covers the updated configuration support for reloading on change and IOptionsSnapshot.
- [Instructor] Configuration has also changed…from version 1.0.…The reload on change parameter which existed in 1.0,…at least existed in the templates,…but it didn't really work, is now supported.…And there's also an iOptionsSnapshot instead of the iOptions…that we can use for injection of custom settings classes,…and this supports reload on change.…So when we look at the constructor for the startup class…on line 38, we now see reload on change,…as well as for the launch settings, reload on change.…
And then we go into the home controller;…where before we were just using the iOptions.…Here on line 17, we're using the iOptionsSnapshot.…Syntactically they're the same.…It creates a custom settings class…injected into our controller, but this will pick up changes…in the configuration while the prior form did not.…
- Running and debugging ASP.NET Core applications
- Pros and cons of migrating existing applications to ASP.NET Core.
- Built-in dependency injection
- Environment awareness and app configuration
- Web host configuration and SSL
- View components invoked as tag helpers
- Configuration and logging
- Using Razor Pages
- Web API improvements
- Support for creating GDPR-compliant applications
Skill Level Intermediate
Entity Framework Core Essential Training: 1with Phil Japikse3h 20m Intermediate
Use the exercise files3m 37s
1. Get to Know .NET Core
2. ASP.NET Core 1.0
3. ASP.NET Core 1.1
4. ASP.NET Core 2.0
5. ASP.NET Core 2.1
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.