Ejemplo n.º 1
0
 // For more information about this class, visit https://dotvvm.com/docs/tutorials/basics-project-structure
 public void Configure(DotvvmConfiguration config, string applicationPath)
 {
     ConfigureRoutes(config, applicationPath);
     ConfigureControls(config, applicationPath);
     ConfigureResources(config, applicationPath);
     config.AddBootstrapConfiguration();
 }
 // For more information about this class, visit https://dotvvm.com/docs/tutorials/basics-project-structure
 public void Configure(DotvvmConfiguration config, string applicationPath)
 {
     config.AddBootstrapConfiguration(new DotvvmBootstrapOptions
     {
         BootstrapCssUrl = "~/lib/bootstrap/dist/css/bootstrap.min.css",
         BootstrapJsUrl  = "~/lib/bootstrap/dist/js/bootstrap.min.js"
     });
     ConfigureRoutes(config, applicationPath);
     ConfigureControls(config, applicationPath);
     ConfigureResources(config, applicationPath);
 }
Ejemplo n.º 3
0
        public void Configure(DotvvmConfiguration config, string applicationPath)
        {
            config.AddBootstrapConfiguration();

            config.RouteTable.Add("MyRoute", "myRoute/{Id}", "Views/page.dothtml");
        }