Skip to content

Commit 0686371

Browse files
committed
chore: core bootstrap demo
1 parent 873f00a commit 0686371

Some content is hidden

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

71 files changed

+9905
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{851D151F-0255-4436-83E5-A9D3E23594B0}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{865E783E-3FCA-45A6-9879-959C21AA905C}"
9+
ProjectSection(SolutionItems) = preProject
10+
global.json = global.json
11+
EndProjectSection
12+
EndProject
13+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Kendo-UI-Bootstrap-Integration", "src\Kendo-UI-Bootstrap-Integration\Kendo-UI-Bootstrap-Integration.xproj", "{2408FD51-1090-4B25-8A7A-19B95505F148}"
14+
EndProject
15+
Global
16+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17+
Debug|Any CPU = Debug|Any CPU
18+
Release|Any CPU = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21+
{2408FD51-1090-4B25-8A7A-19B95505F148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22+
{2408FD51-1090-4B25-8A7A-19B95505F148}.Debug|Any CPU.Build.0 = Debug|Any CPU
23+
{2408FD51-1090-4B25-8A7A-19B95505F148}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{2408FD51-1090-4B25-8A7A-19B95505F148}.Release|Any CPU.Build.0 = Release|Any CPU
25+
EndGlobalSection
26+
GlobalSection(SolutionProperties) = preSolution
27+
HideSolutionNode = FALSE
28+
EndGlobalSection
29+
GlobalSection(NestedProjects) = preSolution
30+
{2408FD51-1090-4B25-8A7A-19B95505F148} = {851D151F-0255-4436-83E5-A9D3E23594B0}
31+
EndGlobalSection
32+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"projects": [ "src", "test" ],
3+
"sdk": {
4+
"version": "1.0.0-preview2-003121"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "wwwroot/lib"
3+
}

Kendo-UI-Bootstrap-Integration/src/Kendo-UI-Bootstrap-Integration/Controllers/HomeController.cs

+302
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
</PropertyGroup>
7+
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
8+
<PropertyGroup Label="Globals">
9+
<ProjectGuid>2408fd51-1090-4b25-8a7a-19b95505f148</ProjectGuid>
10+
<RootNamespace>mvc_core</RootNamespace>
11+
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
12+
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
13+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
14+
</PropertyGroup>
15+
<PropertyGroup>
16+
<SchemaVersion>2.0</SchemaVersion>
17+
</PropertyGroup>
18+
<ItemGroup>
19+
<DnxInvisibleContent Include="bower.json" />
20+
<DnxInvisibleContent Include=".bowerrc" />
21+
</ItemGroup>
22+
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
23+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ActiveDebugProfile>IIS Express</ActiveDebugProfile>
5+
</PropertyGroup>
6+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
6+
namespace Kendo_UI_Bootstrap_Integration.Models
7+
{
8+
public class DonutChartViewModel
9+
{
10+
public DonutChartViewModel(string series, string category, double value)
11+
{
12+
Series = series;
13+
Category = category;
14+
Value = value;
15+
}
16+
17+
public string Series
18+
{
19+
get;
20+
set;
21+
}
22+
23+
public string Category
24+
{
25+
get;
26+
set;
27+
}
28+
29+
public double Value
30+
{
31+
get;
32+
set;
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
namespace Kendo_UI_Bootstrap_Integration
2+
{
3+
using System;
4+
using System.ComponentModel.DataAnnotations;
5+
6+
public class ListViewModel
7+
{
8+
public int Id
9+
{
10+
get;
11+
set;
12+
}
13+
public string Title
14+
{
15+
get;
16+
set;
17+
}
18+
public string Description
19+
{
20+
get;
21+
set;
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
namespace Kendo_UI_Bootstrap_Integration.Orders
2+
{
3+
using System;
4+
using System.ComponentModel.DataAnnotations;
5+
6+
public class OrderViewModel
7+
{
8+
public int OrderID
9+
{
10+
get;
11+
set;
12+
}
13+
14+
public string CustomerID { get; set; }
15+
16+
public string ContactName
17+
{
18+
get;
19+
set;
20+
}
21+
22+
public decimal? Freight
23+
{
24+
get;
25+
set;
26+
}
27+
28+
public string ShipAddress
29+
{
30+
get;
31+
set;
32+
}
33+
34+
[Required]
35+
public DateTime? OrderDate
36+
{
37+
get;
38+
set;
39+
}
40+
41+
public DateTime? ShippedDate
42+
{
43+
get;
44+
set;
45+
}
46+
47+
public string ShipCountry
48+
{
49+
get;
50+
set;
51+
}
52+
53+
public string ShipCity
54+
{
55+
get;
56+
set;
57+
}
58+
59+
public string ShipName
60+
{
61+
get;
62+
set;
63+
}
64+
65+
public int? EmployeeID
66+
{
67+
get;
68+
set;
69+
}
70+
}
71+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
6+
namespace Kendo_UI_Bootstrap_Integration.Models
7+
{
8+
public class RevenueViewModel
9+
{
10+
public RevenueViewModel(string date, double canterbury, double manchester, double rochester)
11+
{
12+
Date = date;
13+
Canterbury = canterbury;
14+
Manchester = manchester;
15+
Rochester = rochester;
16+
}
17+
18+
public string Date
19+
{
20+
get;
21+
set;
22+
}
23+
24+
public double Canterbury
25+
{
26+
get;
27+
set;
28+
}
29+
30+
public double Manchester
31+
{
32+
get;
33+
set;
34+
}
35+
36+
public double Rochester
37+
{
38+
get;
39+
set;
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
6+
namespace Kendo_UI_Bootstrap_Integration.Models
7+
{
8+
public class SalesPerDayViewModel
9+
{
10+
public SalesPerDayViewModel(string date, double value, double target)
11+
{
12+
Date = date;
13+
Value = value;
14+
Target = target;
15+
}
16+
17+
public string Date
18+
{
19+
get;
20+
set;
21+
}
22+
23+
public double Value
24+
{
25+
get;
26+
set;
27+
}
28+
29+
public double Target
30+
{
31+
get;
32+
set;
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
6+
namespace Kendo_UI_Bootstrap_Integration.Models
7+
{
8+
public class SalesPerRegionViewModel
9+
{
10+
public SalesPerRegionViewModel(string date, double canterbury, double manchester, double rochester)
11+
{
12+
Date = date;
13+
Canterbury = canterbury;
14+
Manchester = manchester;
15+
Rochester = rochester;
16+
}
17+
18+
public string Date
19+
{
20+
get;
21+
set;
22+
}
23+
24+
public double Canterbury
25+
{
26+
get;
27+
set;
28+
}
29+
30+
public double Manchester
31+
{
32+
get;
33+
set;
34+
}
35+
36+
public double Rochester
37+
{
38+
get;
39+
set;
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
namespace Kendo_UI_Bootstrap_Integration
2+
{
3+
using System;
4+
using System.Collections.Generic;
5+
6+
public partial class Task
7+
{
8+
public Task()
9+
{
10+
this.Tasks1 = new HashSet<Task>();
11+
}
12+
13+
public int TaskID { get; set; }
14+
public System.DateTime Start { get; set; }
15+
public System.DateTime End { get; set; }
16+
public string Title { get; set; }
17+
public string Description { get; set; }
18+
public Nullable<int> OwnerID { get; set; }
19+
public bool IsAllDay { get; set; }
20+
public string RecurrenceRule { get; set; }
21+
public Nullable<int> RecurrenceID { get; set; }
22+
public string RecurrenceException { get; set; }
23+
public string StartTimezone { get; set; }
24+
public string EndTimezone { get; set; }
25+
26+
public virtual ICollection<Task> Tasks1 { get; set; }
27+
public virtual Task Task1 { get; set; }
28+
}
29+
}

0 commit comments

Comments
 (0)