Exemplo n.º 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();
        }
Exemplo n.º 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();
        }