Skip to content

Commit 13ffbfa

Browse files
committed
Add sample project
1 parent 07f1c99 commit 13ffbfa

File tree

114 files changed

+28799
-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.

114 files changed

+28799
-0
lines changed

AspNet Core T4MVC.sln

Lines changed: 32 additions & 0 deletions
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.24720.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F959C119-C5A4-423E-97C0-E5E692A060A3}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{291A9D35-D2E9-4663-8EAB-E4CBAA1E2A88}"
9+
ProjectSection(SolutionItems) = preProject
10+
global.json = global.json
11+
EndProjectSection
12+
EndProject
13+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AspNet Core T4MVC", "src\AspNet Core T4MVC\AspNet Core T4MVC.xproj", "{9EB0EBAF-AE79-4042-8C14-7B40423AB061}"
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+
{9EB0EBAF-AE79-4042-8C14-7B40423AB061}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22+
{9EB0EBAF-AE79-4042-8C14-7B40423AB061}.Debug|Any CPU.Build.0 = Debug|Any CPU
23+
{9EB0EBAF-AE79-4042-8C14-7B40423AB061}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{9EB0EBAF-AE79-4042-8C14-7B40423AB061}.Release|Any CPU.Build.0 = Release|Any CPU
25+
EndGlobalSection
26+
GlobalSection(SolutionProperties) = preSolution
27+
HideSolutionNode = FALSE
28+
EndGlobalSection
29+
GlobalSection(NestedProjects) = preSolution
30+
{9EB0EBAF-AE79-4042-8C14-7B40423AB061} = {F959C119-C5A4-423E-97C0-E5E692A060A3}
31+
EndGlobalSection
32+
EndGlobal

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"projects": [ "src", "test" ],
3+
"sdk": {
4+
"version": "1.0.0-rc1-update1"
5+
}
6+
}

src/AspNet Core T4MVC/.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "wwwroot/lib"
3+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// <auto-generated />
2+
// This file was generated by a T4 template.
3+
// Don't change it directly as your change would get overwritten. Instead, make changes
4+
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
5+
6+
// Make sure the compiler doesn't complain about missing Xml comments and CLS compliance
7+
// 0108: suppress "Foo hides inherited member Foo. Use the new keyword if hiding was intended." when a controller and its abstract parent are both processed
8+
// 0114: suppress "Foo.BarController.Baz()' hides inherited member 'Qux.BarController.Baz()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." when an action (with an argument) overrides an action in a parent controller
9+
#pragma warning disable 1591, 3008, 3009, 0108, 0114
10+
#region T4MVC
11+
12+
using System;
13+
using System.Diagnostics;
14+
using System.CodeDom.Compiler;
15+
using System.Collections.Generic;
16+
using System.Linq;
17+
using System.Runtime.CompilerServices;
18+
using System.Threading.Tasks;
19+
using System.Web;
20+
using System.Web.Hosting;
21+
using System.Web.Mvc;
22+
using System.Web.Mvc.Ajax;
23+
using System.Web.Mvc.Html;
24+
using System.Web.Routing;
25+
using T4MVC;
26+
namespace T4MVC
27+
{
28+
public class AccountController
29+
{
30+
31+
static readonly ViewsClass s_views = new ViewsClass();
32+
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
33+
public ViewsClass Views { get { return s_views; } }
34+
[GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode]
35+
public class ViewsClass
36+
{
37+
static readonly _ViewNamesClass s_ViewNames = new _ViewNamesClass();
38+
public _ViewNamesClass ViewNames { get { return s_ViewNames; } }
39+
public class _ViewNamesClass
40+
{
41+
public readonly string ConfirmEmail = "ConfirmEmail";
42+
public readonly string ExternalLoginConfirmation = "ExternalLoginConfirmation";
43+
public readonly string ExternalLoginFailure = "ExternalLoginFailure";
44+
public readonly string ForgotPassword = "ForgotPassword";
45+
public readonly string ForgotPasswordConfirmation = "ForgotPasswordConfirmation";
46+
public readonly string Lockout = "Lockout";
47+
public readonly string Login = "Login";
48+
public readonly string Register = "Register";
49+
public readonly string ResetPassword = "ResetPassword";
50+
public readonly string ResetPasswordConfirmation = "ResetPasswordConfirmation";
51+
public readonly string SendCode = "SendCode";
52+
public readonly string VerifyCode = "VerifyCode";
53+
}
54+
public readonly string ConfirmEmail = "~/Views/Account/ConfirmEmail.cshtml";
55+
public readonly string ExternalLoginConfirmation = "~/Views/Account/ExternalLoginConfirmation.cshtml";
56+
public readonly string ExternalLoginFailure = "~/Views/Account/ExternalLoginFailure.cshtml";
57+
public readonly string ForgotPassword = "~/Views/Account/ForgotPassword.cshtml";
58+
public readonly string ForgotPasswordConfirmation = "~/Views/Account/ForgotPasswordConfirmation.cshtml";
59+
public readonly string Lockout = "~/Views/Account/Lockout.cshtml";
60+
public readonly string Login = "~/Views/Account/Login.cshtml";
61+
public readonly string Register = "~/Views/Account/Register.cshtml";
62+
public readonly string ResetPassword = "~/Views/Account/ResetPassword.cshtml";
63+
public readonly string ResetPasswordConfirmation = "~/Views/Account/ResetPasswordConfirmation.cshtml";
64+
public readonly string SendCode = "~/Views/Account/SendCode.cshtml";
65+
public readonly string VerifyCode = "~/Views/Account/VerifyCode.cshtml";
66+
}
67+
}
68+
69+
}
70+
71+
#endregion T4MVC
72+
#pragma warning restore 1591, 3008, 3009, 0108, 0114
Lines changed: 23 additions & 0 deletions
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)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
8+
<PropertyGroup Label="Globals">
9+
<ProjectGuid>9eb0ebaf-ae79-4042-8c14-7b40423ab061</ProjectGuid>
10+
<RootNamespace>AspNet_Core_T4MVC</RootNamespace>
11+
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
12+
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
13+
</PropertyGroup>
14+
<PropertyGroup>
15+
<SchemaVersion>2.0</SchemaVersion>
16+
</PropertyGroup>
17+
<ItemGroup>
18+
<DnxInvisibleContent Include="bower.json" />
19+
<DnxInvisibleContent Include=".bowerrc" />
20+
<DnxInvisibleContent Include="package.json" />
21+
</ItemGroup>
22+
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
23+
</Project>

0 commit comments

Comments
 (0)