MvcViewFeaturesMvcCoreBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class that adds extension methods to IMvcCoreBuilder. This class cannot be inherited.
public static class MvcViewFeaturesMvcCoreBuilderExtensions
type MvcViewFeaturesMvcCoreBuilderExtensions = class
Public Module MvcViewFeaturesMvcCoreBuilderExtensions
- Inheritance
-
MvcViewFeaturesMvcCoreBuilderExtensions
Methods
AddCookieTempDataProvider(IMvcCoreBuilder) |
Registers CookieTempDataProvider as the default ITempDataProvider in the IServiceCollection. Also registers the default view services. |
AddCookieTempDataProvider(IMvcCoreBuilder, Action<CookieTempDataProviderOptions>) |
Registers CookieTempDataProvider as the default ITempDataProvider in the IServiceCollection. Also registers the default view services. |
AddViews(IMvcCoreBuilder) |
Add view related services. |
AddViews(IMvcCoreBuilder, Action<MvcViewOptions>) |
Add view related services. |
ConfigureViews(IMvcCoreBuilder, Action<MvcViewOptions>) |
Configures MvcViewOptions. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for