Пример #1
0
 static void RegisterRoutes(System.Web.Routing.RouteCollection routes)
 {
     routes.Ignore("lvmama");
     routes.MapPageRoute("apply_code", "lvmama/apply_code", "~/lvmama/apply_code.aspx", false);
     routes.MapPageRoute("discard_code", "lvmama/discard_code", "~/lvmama/discard_code.aspx", false);
     routes.MapPageRoute("sms_resend", "lvmama/sms_resend", "~/lvmama/sms_resend.aspx", false);
 }
Пример #2
0
 public static void StartMediaLan(this System.Web.Routing.RouteCollection routes)
 {
     Engine.Startup();
     routes.RouteExistingFiles = true;
     routes.MapPageRoute("Library", "Library", "~/Library.aspx");
     routes.MapPageRoute("Player", "Library/{directory}", "~/Player.aspx");
     routes.MapPageRoute("Mgr", "Manage", "~/Manage.aspx");
     routes.MapPageRoute("Root", "", "~/Login.aspx");
     routes.MapPageRoute("Logon", "Logon", "~/Login.aspx");
 }
Пример #3
0
 void RegisterRoutes(System.Web.Routing.RouteCollection routes)
 {
     routes.MapPageRoute("R1", "COMNP", "~/COMNP.aspx");
     routes.MapPageRoute("R2", "ok", "~/ok.aspx");
     routes.MapPageRoute("R3", "StdUnit", "~/StdUnit.aspx");
     routes.MapPageRoute("R4", "register", "~/Register.aspx");
     routes.MapPageRoute("R5", "adminsearch", "~/adminsearch.aspx");
     routes.MapPageRoute("R6", "adminpage", "~/adminpage.aspx");
     routes.MapPageRoute("R7", "stdsearch", "~/stdsearch.aspx");
     routes.MapPageRoute("R8", "insertstd", "~/insertstd.aspx");
     routes.MapPageRoute("R9", "studentunit", "~/studentunit.aspx");
     routes.MapPageRoute("R10", "notregister", "~/notregister.aspx");
 }
Пример #4
0
        public void RegisterRoutes(System.Web.Routing.RouteCollection routes)
        {
            /*routes.MapPageRoute(
             *  "Player",
             *  "Player/{file}",
             *  "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/{file}");
             * routes.MapPageRoute(
             *  "PlayerImages",
             *  "Player/Images/{file}",
             *  "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Images/{file}");
             * routes.MapPageRoute(
             *  "PlayerInclude",
             *  "Player/Include/{file}",
             *  "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Include/{file}");
             */
            routes.MapPageRoute(
                "PlayerFrameset",
                "Player/Frameset/{page}.aspx",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/{page}.aspx");
            routes.MapPageRoute(
                "PlayerContent",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentExtended",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentFive",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}/{five}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentSix",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}/{five}/{six}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentSeven",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}/{five}/{six}/{seven}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentEight",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}/{five}/{six}/{seven}/{eight}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");
            routes.MapPageRoute(
                "PlayerContentNine",
                "Player/Frameset/Content.aspx/{one}/{two}/{three}/{four}/{five}/{six}/{seven}/{eight}/{nine}",
                "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Content.aspx");

            /* routes.MapPageRoute(
             *   "PlayerImages",
             *   "Player/Frameset/Images/{page}",
             *   "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Images/{page}");
             * routes.MapPageRoute(
             *   "PlayerInclude",
             *   "Player/Frameset/Include/{page}",
             *   "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Include/{page}");
             * routes.MapPageRoute(
             *   "PlayerTheme",
             *   "Player/Frameset/Theme/{page}",
             *   "~/Plugins/IUDICO.TestingSystem.dll/IUDICO.TestingSystem/Player/Theme/{page}");*/

            /*routes.MapRoute(
             * "Training",
             * "Training/{packageId}/{attemptId}",
             * new { controller = "Training", action = "Details", attemptId = UrlParameter.Optional },
             * new { packageID = @"\d+" });
             * routes.MapRoute(
             * "Trainings",
             * "Training/{action}/{id}",
             * new { controller = "Training", action = "Index", id = UrlParameter.Optional }
             * );*/
            //routes.IgnoreRoute("Content/TimePicker.css");
            routes.MapRoute(
                "Training",
                "Training/{action}",
                new { controller = "Training" });
        }
Пример #5
0
        void RegisterRoutes(System.Web.Routing.RouteCollection routes)
        {
            routes.MapPageRoute("R1", "ManagmentPage", "~/Managment.aspx");
            routes.MapPageRoute("R2", "FacultiesManager", "~/FacultiesManager.aspx");
            routes.MapPageRoute("R3", "AddFaculty", "~/AddFaculties.aspx");

            routes.MapPageRoute("R4", "EditFaculty/{FacultyID}", "~/UpdateFaculties.aspx");
            routes.MapPageRoute("R5", "errorpage", "~/error.aspx");
            routes.MapPageRoute("R6", "EduLevelsManager", "~/EduLevelsManager.aspx");
            routes.MapPageRoute("R7", "EditEduLevel/{LevelID}", "~/EduLevelsUpdate.aspx");
            routes.MapPageRoute("R8", "AddEduLevel", "~/AddEduLevels.aspx");

            routes.MapPageRoute("R9", "EduFieldsManager", "~/EduFieldsManager.aspx");
            routes.MapPageRoute("R10", "EditEduField/{FieldID}", "~/EduFieldsUpdate.aspx");
            routes.MapPageRoute("R11", "AddEduField", "~/AddEduFields.aspx");

            routes.MapPageRoute("R12", "EduTendenciesManagment", "~/EduTendenciesManagment.aspx");
            routes.MapPageRoute("R13", "EditEduTendency/{TendencyID}", "~/EduTendenciesUpdate.aspx");
            routes.MapPageRoute("R14", "AddEduTendency", "~/AddEduTendencies.aspx");

            routes.MapPageRoute("R15", "DepartmentsManager", "~/DepartmentsManager.aspx");
            routes.MapPageRoute("R16", "EditDepartment/{DepartmentID}", "~/DepartmentsUpdate.aspx");
            routes.MapPageRoute("R17", "AddDepartment", "~/AddDepartments.aspx");

            routes.MapPageRoute("R18", "RolesManagment", "~/RolesManagment.aspx");
            routes.MapPageRoute("R19", "EditRole/{RoleID}", "~/RolesUpdate.aspx");
            routes.MapPageRoute("R20", "AddRole", "~/AddRoles.aspx");

            routes.MapPageRoute("R21", "EmailTypesManagment", "~/EmailTypesManagment.aspx");
            routes.MapPageRoute("R22", "EditEmailType/{EmailTypeID}", "~/EmailTypesUpdate.aspx");
            routes.MapPageRoute("R23", "AddEmailType", "~/AddEmailTypes.aspx");

            routes.MapPageRoute("R24", "TelTypesManagment", "~/TelTypesManagment.aspx");
            routes.MapPageRoute("R25", "EditTelType/{TelTypeID}", "~/EmailTelUpdate.aspx");
            routes.MapPageRoute("R26", "AddTelType", "~/AddTelTypes.aspx");

            routes.MapPageRoute("R27", "EmailContactsManagment", "~/EmailContactsManagment.aspx");
            routes.MapPageRoute("R28", "EditEmailContact/{ID}", "~/EmailContactsUpdate.aspx");
            routes.MapPageRoute("R29", "AddEmailContact", "~/AddEmailContacts.aspx");

            routes.MapPageRoute("R30", "TelContactsManagment", "~/TelContactsManagment.aspx");
            routes.MapPageRoute("R31", "EditTelContact/{ID}", "~/TelContactsUpdate.aspx");
            routes.MapPageRoute("R32", "AddTelContact", "~/AddTelContacts.aspx");

            routes.MapPageRoute("R33", "StudentsManagment", "~/StudentsManagment.aspx");
            routes.MapPageRoute("R34", "EditStudent/{StudentID}", "~/StudentsUpdate.aspx");
            routes.MapPageRoute("R35", "AddStudent", "~/AddStudents.aspx");

            routes.MapPageRoute("R36", "EmailManagment/{UserTypeID}/{UserID}", "~/EmailManagment.aspx");
            routes.MapPageRoute("R37", "AddEmail/{UserTypeID}/{UserID}", "~/AddEmail.aspx");
            routes.MapPageRoute("R38", "EditEmail/{ID}/{UserTypeID}/{UserID}", "~/EmailUpdate.aspx");

            routes.MapPageRoute("R39", "TelManagment/{UserTypeID}/{UserID}", "~/TelManagment.aspx");
            routes.MapPageRoute("R40", "AddTel/{UserTypeID}/{UserID}", "~/AddTel.aspx");
            routes.MapPageRoute("R41", "EditTel/{ID}/{UserTypeID}/{UserID}", "~/TelUpdate.aspx");

            routes.MapPageRoute("R42", "LecturersManagment", "~/LecturersManagment.aspx");
            routes.MapPageRoute("R43", "EditLecturer/{LecturerID}", "~/LecturersUpdate.aspx");
            routes.MapPageRoute("R44", "AddLecturer", "~/AddLecturers.aspx");

            routes.MapPageRoute("R45", "EmployeesManagment", "~/EmployeesManagment.aspx");
            routes.MapPageRoute("R46", "EditEmployee/{EmployeeID}", "~/EmployeesUpdate.aspx");
            routes.MapPageRoute("R47", "AddEmployee", "~/AddEmployees.aspx");

            routes.MapPageRoute("R48", "PersonsAdminsManagment", "~/PersonsAdminsManagment.aspx");
            routes.MapPageRoute("R49", "EditPersonsAdmin/{AdminID}", "~/PersonsAdminsUpdate.aspx");
            routes.MapPageRoute("R50", "AddPersonsAdmin", "~/AddPersonsAdmins.aspx");

            routes.MapPageRoute("R51", "WebServiceManagement", "~/WebServiceAccountManagment.aspx");
            routes.MapPageRoute("R52", "WebServiceUpdate/{AccountID}", "~/WebServiceAccountUpdate.aspx");
            routes.MapPageRoute("R53", "AddWebServiceAccount", "~/AddWebServiceAccount.aspx");

            routes.MapPageRoute("R54", "SystemLogin", "~/Default.aspx");
            routes.MapPageRoute("R55", "employee/add", "~/employee/add.aspx");

            routes.MapPageRoute("R56", "AddVPNs", "~/AddVPNs.aspx");
            routes.MapPageRoute("R57", "EditVPNs/{VPNID}", "~/VPNsUpdate.aspx");
            routes.MapPageRoute("R58", "VPNsManagment", "~/VPNsManagment.aspx");
        }
Пример #6
0
        private void RegisterRoutes(System.Web.Routing.RouteCollection routes)
        {
            //matual
            routes.MapPageRoute("R1", "Blog/{id}/{text}", "~/_construction/BlogPost.aspx");
            routes.MapPageRoute("R2", "Blogs", "~/_construction/Blogs.aspx");
            routes.MapPageRoute("R554", "Blogs/{gid}", "~/_construction/Blogs.aspx");
            routes.MapPageRoute("R555", "Blogs/{gid}/{sid}", "~/_construction/Blogs.aspx");
            routes.MapPageRoute("R3", "", "~/_construction/Index.aspx");
            routes.MapPageRoute("R4", "Projects", "~/_construction/Projects.aspx");
            routes.MapPageRoute("R5", "Projects/{id}/{text}", "~/_construction/ShowProject.aspx");
            routes.MapPageRoute("R6", "Login", "~/Login.aspx");
            routes.MapPageRoute("R7", "AboutUs", "~/_construction/AboutUs.aspx");
            routes.MapPageRoute("R8", "Services", "~/_construction/Services.aspx");
            routes.MapPageRoute("R99", "Register", "~/Register.aspx");
            routes.MapPageRoute("R990", "ForgotPass", "~/FoegotPass.aspx");
            routes.MapPageRoute("R9", "AdminLogin", "~/AdminLogin.aspx");

            routes.MapPageRoute("R125", "OrderProject", "~/OrderProject.aspx");
            //admin
            routes.MapPageRoute("R10", "Admin/AddBlog", "~/Panels/Admin/AddBlog.aspx");
            routes.MapPageRoute("R11", "Admin/AddProject", "~/Panels/Admin/AddProject.aspx");
            routes.MapPageRoute("R12", "Admin/EditBlog", "~/Panels/Admin/EditPost.aspx");
            routes.MapPageRoute("R13", "Admin/EditProject", "~/Panels/Admin/EditProject.aspx");
            routes.MapPageRoute("R14", "Admin/EditSlider/{id}", "~/Panels/Admin/EditSlider.aspx");
            routes.MapPageRoute("R15", "Admin/ManageUsers/EmployeeInfo", "~/Panels/Admin/EmployeeInfo.aspx");
            routes.MapPageRoute("R16", "Admin/AddProject/AddEmployeeToProject", "~/Panels/Admin/EmployeesFilterByJob.aspx");
            routes.MapPageRoute("R17", "Admin/GroupMessage", "~/Panels/Admin/ListForGroupMessage.aspx");
            routes.MapPageRoute("R18", "Admin/Message", "~/Panels/Admin/ListForMessage.aspx");
            routes.MapPageRoute("R19", "Admin/ManageBlogs", "~/Panels/Admin/ManageBlogs.aspx");
            routes.MapPageRoute("R20", "Admin/ManageFirstPage", "~/Panels/Admin/ManageFirstPage.aspx");
            routes.MapPageRoute("R21", "Admin/ManageGroups", "~/Panels/Admin/ManageGroups.aspx");
            routes.MapPageRoute("R22", "Admin/ManageProjects", "~/Panels/Admin/ManageProjects.aspx");
            routes.MapPageRoute("R23", "Admin/ManageUsers", "~/Panels/Admin/ManageUsersAndEmployees.aspx");
            routes.MapPageRoute("R24", "Admin/Inbox", "~/Panels/Admin/MessageInboxAdmin.aspx");
            routes.MapPageRoute("R25", "Admin/Inbox/SelectedMessage", "~/Panels/Admin/MessagesAdmin.aspx");
            routes.MapPageRoute("R26", "Admin/Message/NewMessage", "~/Panels/Admin/newMesaageAdmin.aspx");
            routes.MapPageRoute("R27", "Admin/GroupMessage/NewGroupMessage", "~/Panels/Admin/NewMessageGroup.aspx");
            routes.MapPageRoute("R28", "Admin/Orders", "~/Panels/Admin/ordersList.aspx");
            routes.MapPageRoute("R29", "Admin/Orders/OrderDetail", "~/Panels/Admin/ProjectDetail.aspx");
            routes.MapPageRoute("R32", "Admin/Scores", "~/Panels/Admin/Scores.aspx");
            routes.MapPageRoute("R30", "Admin/ManageUsers/UserInfo", "~/Panels/Admin/UserInfo.aspx");
            routes.MapPageRoute("R50", "Admin/ManageJobGroups", "~/Panels/Admin/ManageJobGroups.aspx");
            routes.MapPageRoute("R56", "Admin/AddProject/AddEmployeeToProjectEdit", "~/Panels/Admin/EmployeesFilterByJobEdit.aspx");
            //Employee
            routes.MapPageRoute("R31", "Employee/Profile", "~/Panels/EmployeePanel/profile.aspx");
            //routes.MapPageRoute("R32", "Employee/ChangeInfo", "~/Panels/EmployeePanel/ChangeInfo.aspx");
            routes.MapPageRoute("R33", "Employee/SelectJob", "~/Panels/EmployeePanel/SelectJob.aspx");
            routes.MapPageRoute("R34", "Employee/Inbox", "~/Panels/EmployeePanel/MessageInboxEmployee.aspx");
            routes.MapPageRoute("R35", "Employee/Inbox/SelectedMessage", "~/Panels/EmployeePanel/MessagesEmployee.aspx");
            routes.MapPageRoute("R36", "Employee/NewMessage", "~/Panels/EmployeePanel/newMessageEmployee.aspx");

            //User
            routes.MapPageRoute("R37", "User/Profile", "~/Panels/UserPanel/profile.aspx");
            //routes.MapPageRoute("R38", "User/ChangeInfo", "~/Panels/UserPanel/ChangeInfo.aspx");
            routes.MapPageRoute("R39", "User/OrderNewProject", "~/Panels/UserPanel/ProjectApplication.aspx");
            routes.MapPageRoute("R40", "User/Inbox", "~/Panels/UserPanel/MessageInbox.aspx");
            routes.MapPageRoute("R41", "User/Inbox/SelectedMessage", "~/Panels/UserPanel/Messages.aspx");
            routes.MapPageRoute("R42", "User/NewMessage", "~/Panels/UserPanel/newMessage.aspx");
        }
Пример #7
0
 private void RegisterRoutes(System.Web.Routing.RouteCollection routes)
 {
     routes.MapPageRoute("R1", "Dashborad", "~/Dashboard.aspx");
     routes.MapPageRoute("R2", "News", "~/News.aspx");
 }
Пример #8
0
 protected static void RegisterRoute(System.Web.Routing.RouteCollection routeCollection)
 {
     routeCollection.MapPageRoute("home page", "home", "~/Default.aspx");
     routeCollection.MapPageRoute("my dashboard", "dashboard", "~/subpages/Dash.aspx");
     routeCollection.MapPageRoute("reset password", "resetpass", "~/ext/ResetPassword.aspx");
 }
 void registerRoutes(System.Web.Routing.RouteCollection routes)
 {
     routes.MapPageRoute("login", "login", "~/Pages/LoginPage.aspx", false);
     routes.MapPageRoute("customerlist", "customerlist", "~/Pages/CustomerListPage.aspx", false);
 }