<commit_before>﻿using System;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace TestWebsite
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
            RegisterRoutes(RouteTable.Routes);
            RegisterBundles(BundleTable.Bundles);
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.RouteExistingFiles = true;

            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute(
                name: "Default",
                url: "mvc/{action}",
                defaults: new { action= "index", controller = "mvc"}
            );

            routes.MapPageRoute("Webforms", "Webforms", "~/Webforms/Index.aspx");
        }

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/jquery").Include(
                    "~/Scripts/jquery-{version}.js"));
            bundles.Add(new ScriptBundle("~/bootstrapjs").Include(
                    "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/styles")
                .IncludeDirectory("~/Content/Style/", "*.css"));
        }
    }
}<commit_msg>Partitioned the site in a Webforms and Mvc part<commit_after>﻿using System;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace TestWebsite
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
            RegisterRoutes(RouteTable.Routes);
            RegisterBundles(BundleTable.Bundles);
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.RouteExistingFiles = true;

            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute(
                name: "Default",
                url: "mvc/{controller}/{action}",
                defaults: new { action= "index", controller = "mvc"}
            );

            routes.MapPageRoute("Webforms", "Webforms", "~/Webforms/Index.aspx");
        }

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/jquery").Include(
                    "~/Scripts/jquery-{version}.js"));
            bundles.Add(new ScriptBundle("~/bootstrapjs").Include(
                    "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/styles")
                .IncludeDirectory("~/Content/Style/", "*.css"));
        }
    }
}
{'fraction_non_alphanumeric': 0.12485854394568087, 'fraction_numerical': 0.0, 'mean_word_length': 2.055299539170507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4308263', 'n_tokens_mistral': 733, 'n_tokens_neox': 693, 'n_words': 126}