Skip to content

Commit

Permalink
new project references and razor views for certain scenarios.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wintermute21 committed Aug 18, 2017
1 parent 8239d7c commit 49588b7
Show file tree
Hide file tree
Showing 46 changed files with 11,392 additions and 3,564 deletions.
6 changes: 6 additions & 0 deletions Big-Apple/.idea/.idea.Big-Apple/.idea/contentModel.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Big-Apple/.idea/.idea.Big-Apple/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

269 changes: 269 additions & 0 deletions Big-Apple/.idea/.idea.Big-Apple/.idea/workspace.xml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions Big-Apple/.idea/.idea.Big-Apple/riderModule.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Big-Apple/.vs/Big-Apple/v15/.suo
Binary file not shown.
Binary file modified Big-Apple/.vs/Big-Apple/v15/sqlite3/storage.ide
Binary file not shown.
1,004 changes: 1,004 additions & 0 deletions Big-Apple/.vs/config/applicationhost.config

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model ExternalLoginConfirmationViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model ExternalLoginConfirmationViewModel
@{
ViewData["Title"] = "Register";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model ForgotPasswordViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model ForgotPasswordViewModel
@{
ViewData["Title"] = "Forgot your password?";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Authentication.OpenIdConnect
@using Microsoft.AspNetCore.Mvc.Rendering
@model LoginViewModel
@inject SignInManager<ApplicationUser> SignInManager

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model RegisterViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model RegisterViewModel
@{
ViewData["Title"] = "Register";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model ResetPasswordViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model ResetPasswordViewModel
@{
ViewData["Title"] = "Reset password";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model SendCodeViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model SendCodeViewModel
@{
ViewData["Title"] = "Send Verification Code";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model VerifyCodeViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model VerifyCodeViewModel
@{
ViewData["Title"] = "Verify";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@model IEnumerable<ClientViewModel>

@model System.Collections.Generic.IEnumerable<ClientViewModel>
@using System.Collections.Generic
<h4>Clients</h4>
<table class="table">
<thead>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@using Microsoft.AspNetCore.Mvc.Rendering
@model IdentityServiceViewModel
@{
ViewData["Title"] = "Identity service";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@model LogoutRequest

@{
ViewBag.Title = "title";
Layout = "_Layout";
}

<h2>title</h2>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model AddPhoneNumberViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model AddPhoneNumberViewModel
@{
ViewData["Title"] = "Add Phone Number";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model ChangePasswordViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model ChangePasswordViewModel
@{
ViewData["Title"] = "Change Password";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model SetPasswordViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model SetPasswordViewModel
@{
ViewData["Title"] = "Set Password";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@model VerifyPhoneNumberViewModel
@using Microsoft.AspNetCore.Mvc.Rendering
@model VerifyPhoneNumberViewModel
@{
ViewData["Title"] = "Verify Phone Number";
}
Expand Down
33 changes: 23 additions & 10 deletions Big-Apple/Big-Apple/Big-Apple.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
<PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
<UserSecretsId>aspnet-Big_Apple-5A845A9D-D2CC-4F80-8A24-AA826028EB01</UserSecretsId>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<ApplicationIcon />
<OutputType>Exe</OutputType>
<StartupObject />
</PropertyGroup>


<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview1-final" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0-preview1-final" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0-preview1-final" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0-preview1-final" />
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="2.0.0-preview1-final" />
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0-preview1-final" />
</ItemGroup>

</Project>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<TypeScriptTarget>ES5</TypeScriptTarget>
<TypeScriptJSXEmit>React</TypeScriptJSXEmit>
<TypeScriptModuleKind>ES6</TypeScriptModuleKind>
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
<TypeScriptRemoveComments>False</TypeScriptRemoveComments>
<TypeScriptOutFile />
<TypeScriptOutDir />
<TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations>
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
<TypeScriptSourceMap>True</TypeScriptSourceMap>
<TypeScriptMapRoot />
<TypeScriptSourceRoot />
</PropertyGroup>
</Project>
8 changes: 8 additions & 0 deletions Big-Apple/Big-Apple/Pages/Account/AccessDenied.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@model object

@{
ViewBag.Title = "title";
Layout = "_Layout";
}

<h2>title</h2>
7 changes: 4 additions & 3 deletions Big-Apple/Big-Apple/Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"iisSettings": {
"windowsAuthentication": false,
"windowsAuthentication": true,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:57956/",
Expand All @@ -14,7 +14,8 @@
"launchUrl": "https://localhost:44369/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"use64Bit": true
},
"Big_Apple": {
"commandName": "Project",
Expand All @@ -26,4 +27,4 @@
"applicationUrl": "https://localhost:44369/"
}
}
}
}
8 changes: 8 additions & 0 deletions Big-Apple/Big-Apple/Views/Account/AccessDenied.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@model object

@{
ViewBag.Title = "title";
Layout = "_Layout";
}

<h2>title</h2>
3 changes: 2 additions & 1 deletion Big-Apple/Big-Apple/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
@using Microsoft.AspNetCore.Mvc.Rendering
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
Loading

0 comments on commit 49588b7

Please sign in to comment.