Skip to content

Commit ce36dcc

Browse files
Showcase sample get added
1 parent 257cb73 commit ce36dcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+147181
-0
lines changed

.deployment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[config]
2+
command = deploy.cmd

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.vs/
2+
bin/
3+
obj/
4+
packages/
5+
.nuget/
6+
ej2aspmvc/
7+
package-lock.json
8+
node_modules/
9+
*.user

App_Start/BundleConfig.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace EJ2MVCSampleBrowser
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
12+
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
13+
bundles.Add(new ScriptBundle("~/bundles/dependencies").Include(
14+
"~/Scripts/samplelist.js"));
15+
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
16+
"~/Scripts/bootstrap.js",
17+
"~/Scripts/respond.js"));
18+
19+
bundles.Add(new StyleBundle("~/Content/css").Include(
20+
"~/Content/bootstrap.css",
21+
"~/Content/site.css"));
22+
}
23+
}
24+
}

App_Start/FilterConfig.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Web;
2+
using System.Web.Mvc;
3+
4+
namespace EJ2MVCSampleBrowser
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}

App_Start/RouteConfig.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.Mvc;
6+
using System.Web.Routing;
7+
8+
namespace EJ2MVCSampleBrowser
9+
{
10+
public class RouteConfig
11+
{
12+
public static void RegisterRoutes(RouteCollection routes)
13+
{
14+
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
15+
16+
routes.MapRoute(
17+
name: "Default",
18+
url: "{controller}/{action}/{id}",
19+
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}

ApplicationInsights.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
3+
</ApplicationInsights>

0 commit comments

Comments
 (0)