예제 #1
0
        public static void Configure()
        {
            // Dependency
            DependencyConfig.Configure();

            // Filter
            FilterConfig.Configure();

            // Route
            ServiceApiConfig.Configure(RouteTable.Routes);
            RouteConfig.Configure(RouteTable.Routes);

            // Serialization
            SerializationConfig.Configure();

            // Metadata
            ModelMetadataConfig.Configure();
        }
예제 #2
0
        public static void Configure()
        {
            // Area Registration
            AreaRegistration.RegisterAllAreas();

            // Dependency
            DependencyConfig.Configure();

            // Bundle
            BundleConfig.Configure();

            // Filter
            FilterConfig.Configure();

            // Route
            ServiceApiConfig.Configure(RouteTable.Routes);
            RouteConfig.Configure(RouteTable.Routes);

            // Serialization
            SerializationConfig.Configure();

            // Metadata
            ModelMetadataConfig.Configure();
        }