Skip to content

Commit d4b4ad7

Browse files
committed
First Commit
1 parent 56e1e3f commit d4b4ad7

File tree

1,022 files changed

+779585
-0
lines changed

Some content is hidden

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

1,022 files changed

+779585
-0
lines changed

.vs/MVCCRUDWithEF/config/applicationhost.config

Lines changed: 982 additions & 0 deletions
Large diffs are not rendered by default.

.vs/MVCCRUDWithEF/v16/.suo

91 KB
Binary file not shown.

MVCCRUDWithEF.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30128.74
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVCCRUDWithEF", "MVCCRUDWithEF\MVCCRUDWithEF.csproj", "{09A01966-799D-4573-8704-4A6C1114BDEC}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{09A01966-799D-4573-8704-4A6C1114BDEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{09A01966-799D-4573-8704-4A6C1114BDEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{09A01966-799D-4573-8704-4A6C1114BDEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{09A01966-799D-4573-8704-4A6C1114BDEC}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {959B2000-C786-4721-B66B-EF76CC187324}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
namespace MVCCRUDWithEF
5+
{
6+
public class BundleConfig
7+
{
8+
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
9+
public static void RegisterBundles(BundleCollection bundles)
10+
{
11+
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12+
"~/Scripts/jquery-{version}.js"));
13+
14+
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
15+
"~/Scripts/jquery.validate*"));
16+
17+
// Use the development version of Modernizr to develop with and learn from. Then, when you're
18+
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
19+
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
20+
"~/Scripts/modernizr-*"));
21+
22+
bundles.Add(new StyleBundle("~/Content/dataTable").Include(
23+
"~/Content/DataTables/datatables.min.css"));
24+
25+
bundles.Add(new ScriptBundle("~/bundles/dataTable").Include(
26+
"~/Content/DataTables/datatables.min.js"));
27+
28+
BundleTable.Bundles.Add(new ScriptBundle("~/bundles/Custom").
29+
Include("~/Scripts/Custom/Custom.site.js"));
30+
}
31+
}
32+
}
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 MVCCRUDWithEF
5+
{
6+
public class FilterConfig
7+
{
8+
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
9+
{
10+
filters.Add(new HandleErrorAttribute());
11+
}
12+
}
13+
}
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 MVCCRUDWithEF
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 = "Employee", action = "Index", id = UrlParameter.Optional }
20+
);
21+
}
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System.Web;
2+
using System.Web.Optimization;
3+
4+
[assembly: WebActivatorEx.PostApplicationStartMethod(
5+
typeof(MVCCRUDWithEF.SemanticUIStart), "PostStart")]
6+
7+
8+
namespace MVCCRUDWithEF
9+
{
10+
public static class SemanticUIStart
11+
{
12+
public static void PostStart()
13+
{
14+
BundleTable.Bundles.Add(new ScriptBundle("~/bundles/semantic").
15+
Include("~/Scripts/semantic.min.js",
16+
"~/Scripts/semantic.site.js"));
17+
18+
BundleTable.Bundles.Add(new StyleBundle("~/Content/semantic").
19+
Include("~/Content/semantic.min.css",
20+
"~/Content/semantic.site.css"));
21+
}
22+
}
23+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
body {
2+
}
3+
4+
.ui.grid > .row {
5+
margin-left: 0px;
6+
}
7+
8+
div.dataTables_wrapper div.row.dt-table {
9+
margin-left: 0px;
10+
}
11+
12+
.ui.grid > .row {
13+
margin-left: 0px;
14+
}
247 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)