Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 50f6ff1

Browse files
committed
JavaScript SPA Application - Initial commit
1 parent 167c191 commit 50f6ff1

File tree

10 files changed

+442
-2
lines changed

10 files changed

+442
-2
lines changed

JavaScriptSPA.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26430.12
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JavaScriptSPA", "JavaScriptSPA\JavaScriptSPA.csproj", "{13E1FA94-4DCC-453D-8687-AB8364879A83}"
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+
{13E1FA94-4DCC-453D-8687-AB8364879A83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{13E1FA94-4DCC-453D-8687-AB8364879A83}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{13E1FA94-4DCC-453D-8687-AB8364879A83}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{13E1FA94-4DCC-453D-8687-AB8364879A83}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

JavaScriptSPA/JavaScriptSPA.csproj

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props" Condition="Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" />
3+
<Import Project="..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props" Condition="Exists('..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props')" />
4+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5+
<PropertyGroup>
6+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8+
<ProductVersion>
9+
</ProductVersion>
10+
<SchemaVersion>2.0</SchemaVersion>
11+
<ProjectGuid>{13E1FA94-4DCC-453D-8687-AB8364879A83}</ProjectGuid>
12+
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
13+
<OutputType>Library</OutputType>
14+
<AppDesignerFolder>Properties</AppDesignerFolder>
15+
<RootNamespace>JavaScriptSPA</RootNamespace>
16+
<AssemblyName>JavaScriptSPA</AssemblyName>
17+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
18+
<UseIISExpress>true</UseIISExpress>
19+
<IISExpressSSLPort>44316</IISExpressSSLPort>
20+
<IISExpressAnonymousAuthentication />
21+
<IISExpressWindowsAuthentication />
22+
<IISExpressUseClassicPipelineMode />
23+
<UseGlobalApplicationHostFile />
24+
<NuGetPackageImportStamp>
25+
</NuGetPackageImportStamp>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
28+
<DebugSymbols>true</DebugSymbols>
29+
<DebugType>full</DebugType>
30+
<Optimize>false</Optimize>
31+
<OutputPath>bin\</OutputPath>
32+
<DefineConstants>DEBUG;TRACE</DefineConstants>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
</PropertyGroup>
36+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
37+
<DebugSymbols>true</DebugSymbols>
38+
<DebugType>pdbonly</DebugType>
39+
<Optimize>true</Optimize>
40+
<OutputPath>bin\</OutputPath>
41+
<DefineConstants>TRACE</DefineConstants>
42+
<ErrorReport>prompt</ErrorReport>
43+
<WarningLevel>4</WarningLevel>
44+
</PropertyGroup>
45+
<ItemGroup>
46+
<Reference Include="Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
47+
<HintPath>..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll</HintPath>
48+
</Reference>
49+
<Reference Include="Microsoft.CSharp" />
50+
<Reference Include="System.Web.DynamicData" />
51+
<Reference Include="System.Web.Entity" />
52+
<Reference Include="System.Web.ApplicationServices" />
53+
<Reference Include="System.ComponentModel.DataAnnotations" />
54+
<Reference Include="System" />
55+
<Reference Include="System.Data" />
56+
<Reference Include="System.Core" />
57+
<Reference Include="System.Data.DataSetExtensions" />
58+
<Reference Include="System.Web.Extensions" />
59+
<Reference Include="System.Xml.Linq" />
60+
<Reference Include="System.Drawing" />
61+
<Reference Include="System.Web" />
62+
<Reference Include="System.Xml" />
63+
<Reference Include="System.Configuration" />
64+
<Reference Include="System.Web.Services" />
65+
<Reference Include="System.EnterpriseServices" />
66+
</ItemGroup>
67+
<ItemGroup>
68+
<Content Include="index.html" />
69+
<Content Include="msalconfig.js" />
70+
<Content Include="packages.config" />
71+
<None Include="Web.Debug.config">
72+
<DependentUpon>Web.config</DependentUpon>
73+
</None>
74+
<None Include="Web.Release.config">
75+
<DependentUpon>Web.config</DependentUpon>
76+
</None>
77+
</ItemGroup>
78+
<ItemGroup>
79+
<Content Include="Web.config" />
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Compile Include="Properties\AssemblyInfo.cs" />
83+
</ItemGroup>
84+
<PropertyGroup>
85+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
86+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
87+
</PropertyGroup>
88+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
89+
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
90+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
91+
<ProjectExtensions>
92+
<VisualStudio>
93+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
94+
<WebProjectProperties>
95+
<UseIIS>True</UseIIS>
96+
<AutoAssignPort>True</AutoAssignPort>
97+
<DevelopmentServerPort>30662</DevelopmentServerPort>
98+
<DevelopmentServerVPath>/</DevelopmentServerVPath>
99+
<IISUrl>https://localhost:44316/</IISUrl>
100+
<NTLMAuthentication>False</NTLMAuthentication>
101+
<UseCustomServer>False</UseCustomServer>
102+
<CustomServerUrl>
103+
</CustomServerUrl>
104+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
105+
</WebProjectProperties>
106+
</FlavorProperties>
107+
</VisualStudio>
108+
</ProjectExtensions>
109+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
110+
<PropertyGroup>
111+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
112+
</PropertyGroup>
113+
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.1.3.2\build\Microsoft.Net.Compilers.props'))" />
114+
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
115+
</Target>
116+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
117+
Other similar extension points exist, see Microsoft.Common.targets.
118+
<Target Name="BeforeBuild">
119+
</Target>
120+
<Target Name="AfterBuild">
121+
</Target>
122+
-->
123+
</Project>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("JavaScriptSPA")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("JavaScriptSPA")]
13+
[assembly: AssemblyCopyright("Copyright © 2017")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("13e1fa94-4dcc-453d-8687-ab8364879a83")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Revision and Build Numbers
33+
// by using the '*' as shown below:
34+
[assembly: AssemblyVersion("1.0.0.0")]
35+
[assembly: AssemblyFileVersion("1.0.0.0")]

JavaScriptSPA/Web.Debug.config

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
4+
5+
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6+
<!--
7+
In the example below, the "SetAttributes" transform will change the value of
8+
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
9+
finds an attribute "name" that has a value of "MyDB".
10+
11+
<connectionStrings>
12+
<add name="MyDB"
13+
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
14+
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15+
</connectionStrings>
16+
-->
17+
<system.web>
18+
<!--
19+
In the example below, the "Replace" transform will replace the entire
20+
<customErrors> section of your web.config file.
21+
Note that because there is only one customErrors section under the
22+
<system.web> node, there is no need to use the "xdt:Locator" attribute.
23+
24+
<customErrors defaultRedirect="GenericError.htm"
25+
mode="RemoteOnly" xdt:Transform="Replace">
26+
<error statusCode="500" redirect="InternalError.htm"/>
27+
</customErrors>
28+
-->
29+
</system.web>
30+
</configuration>

JavaScriptSPA/Web.Release.config

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- For more information on using web.config transformation visit https://go.microsoft.com/fwlink/?LinkId=125889 -->
4+
5+
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6+
<!--
7+
In the example below, the "SetAttributes" transform will change the value of
8+
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
9+
finds an attribute "name" that has a value of "MyDB".
10+
11+
<connectionStrings>
12+
<add name="MyDB"
13+
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
14+
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15+
</connectionStrings>
16+
-->
17+
<system.web>
18+
<compilation xdt:Transform="RemoveAttributes(debug)" />
19+
<!--
20+
In the example below, the "Replace" transform will replace the entire
21+
<customErrors> section of your web.config file.
22+
Note that because there is only one customErrors section under the
23+
<system.web> node, there is no need to use the "xdt:Locator" attribute.
24+
25+
<customErrors defaultRedirect="GenericError.htm"
26+
mode="RemoteOnly" xdt:Transform="Replace">
27+
<error statusCode="500" redirect="InternalError.htm"/>
28+
</customErrors>
29+
-->
30+
</system.web>
31+
</configuration>

JavaScriptSPA/Web.config

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
For more information on how to configure your ASP.NET application, please visit
4+
https://go.microsoft.com/fwlink/?LinkId=169433
5+
-->
6+
<configuration>
7+
<system.web>
8+
<compilation debug="true" targetFramework="4.5.2"/>
9+
<httpRuntime targetFramework="4.5.2"/>
10+
</system.web>
11+
<system.codedom>
12+
<compilers>
13+
<compiler language="c#;cs;csharp" extension=".cs"
14+
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
15+
warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
16+
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
17+
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
18+
warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
19+
</compilers>
20+
</system.codedom>
21+
</configuration>

0 commit comments

Comments
 (0)