• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class StartupExtensions

Adds DNN MVC Controller Specific startup extensions to simplify the Startup Class.

Inheritance
System.Object
StartupExtensions
Namespace: DotNetNuke.Web.Mvc.Extensions
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public static class StartupExtensions : object

Methods

| Improve this Doc View Source

AddMvcControllers(IServiceCollection)

Configures all of the DnnController's to be used with the Service Collection for Dependency Injection.

Declaration
public static void AddMvcControllers(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services

Service Collection used to registering services in the container.

  • View Source
Back to top by the community, for the community... #DNNCMS