Skip to content

Commit 782e8de

Browse files
committed
Add project skeleton
1 parent 11be753 commit 782e8de

File tree

8 files changed

+241
-0
lines changed

8 files changed

+241
-0
lines changed

MarkdownViewEngine.sln

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.25928.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{992E3830-491C-4CCF-83E3-732489C3F450}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{AEEED0E7-A994-46A9-A588-B73032D626B4}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MarkdownViewEngineSample", "samples\MarkdownViewEngineSample\MarkdownViewEngineSample.csproj", "{AE568D13-5E5E-4A5D-9000-6AF816B55803}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarkdownViewEngine", "src\MarkdownViewEngine\MarkdownViewEngine.csproj", "{57A08001-A2D0-49E2-8C84-69DFF91241A6}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|Any CPU = Debug|Any CPU
17+
Debug|x64 = Debug|x64
18+
Debug|x86 = Debug|x86
19+
Release|Any CPU = Release|Any CPU
20+
Release|x64 = Release|x64
21+
Release|x86 = Release|x86
22+
EndGlobalSection
23+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|x64.ActiveCfg = Debug|x64
27+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|x64.Build.0 = Debug|x64
28+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|x86.ActiveCfg = Debug|x86
29+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Debug|x86.Build.0 = Debug|x86
30+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|x64.ActiveCfg = Release|x64
33+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|x64.Build.0 = Release|x64
34+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|x86.ActiveCfg = Release|x86
35+
{AE568D13-5E5E-4A5D-9000-6AF816B55803}.Release|x86.Build.0 = Release|x86
36+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|x64.ActiveCfg = Debug|Any CPU
39+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|x64.Build.0 = Debug|Any CPU
40+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|x86.ActiveCfg = Debug|Any CPU
41+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Debug|x86.Build.0 = Debug|Any CPU
42+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|x64.ActiveCfg = Release|Any CPU
45+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|x64.Build.0 = Release|Any CPU
46+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|x86.ActiveCfg = Release|Any CPU
47+
{57A08001-A2D0-49E2-8C84-69DFF91241A6}.Release|x86.Build.0 = Release|Any CPU
48+
EndGlobalSection
49+
GlobalSection(SolutionProperties) = preSolution
50+
HideSolutionNode = FALSE
51+
EndGlobalSection
52+
GlobalSection(NestedProjects) = preSolution
53+
{AE568D13-5E5E-4A5D-9000-6AF816B55803} = {AEEED0E7-A994-46A9-A588-B73032D626B4}
54+
{57A08001-A2D0-49E2-8C84-69DFF91241A6} = {992E3830-491C-4CCF-83E3-732489C3F450}
55+
EndGlobalSection
56+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp1.0</TargetFramework>
6+
<PreserveCompilationContext>true</PreserveCompilationContext>
7+
</PropertyGroup>
8+
<ItemGroup>
9+
<Compile Include="**\*.cs" Exclude="$(GlobalExclude)" />
10+
<EmbeddedResource Include="**\*.resx" Exclude="$(GlobalExclude)" />
11+
<Folder Include="wwwroot\" />
12+
</ItemGroup>
13+
<ItemGroup>
14+
<PackageReference Include="Microsoft.NETCore.App">
15+
<Version>1.0.1</Version>
16+
</PackageReference>
17+
<PackageReference Include="Microsoft.NET.Sdk.Web">
18+
<Version>1.0.0-alpha-20161104-2-112</Version>
19+
</PackageReference>
20+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics">
21+
<Version>1.0.0</Version>
22+
</PackageReference>
23+
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration">
24+
<Version>1.0.0</Version>
25+
</PackageReference>
26+
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel">
27+
<Version>1.0.1</Version>
28+
</PackageReference>
29+
<PackageReference Include="Microsoft.Extensions.Logging.Console">
30+
<Version>1.0.0</Version>
31+
</PackageReference>
32+
</ItemGroup>
33+
<ItemGroup>
34+
<ProjectReference Include="..\..\src\MarkdownViewEngine\MarkdownViewEngine.csproj" />
35+
</ItemGroup>
36+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
37+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.IO;
4+
using System.Linq;
5+
using System.Threading.Tasks;
6+
using Microsoft.AspNetCore.Hosting;
7+
8+
namespace MarkdownViewEngineSample
9+
{
10+
public class Program
11+
{
12+
public static void Main(string[] args)
13+
{
14+
var host = new WebHostBuilder()
15+
.UseKestrel()
16+
.UseContentRoot(Directory.GetCurrentDirectory())
17+
.UseIISIntegration()
18+
.UseStartup<Startup>()
19+
.Build();
20+
21+
host.Run();
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"iisSettings": {
3+
"windowsAuthentication": false,
4+
"anonymousAuthentication": true,
5+
"iisExpress": {
6+
"applicationUrl": "http://localhost:52899/",
7+
"sslPort": 0
8+
}
9+
},
10+
"profiles": {
11+
"IIS Express": {
12+
"commandName": "IISExpress",
13+
"launchBrowser": true,
14+
"environmentVariables": {
15+
"ASPNETCORE_ENVIRONMENT": "Development"
16+
}
17+
},
18+
"MarkdownViewEngineSample": {
19+
"commandName": "Project",
20+
"launchBrowser": true,
21+
"environmentVariables": {
22+
"ASPNETCORE_ENVIRONMENT": "Development"
23+
},
24+
"applicationUrl": "http://localhost:52900"
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
using Microsoft.AspNetCore.Builder;
6+
using Microsoft.AspNetCore.Hosting;
7+
using Microsoft.AspNetCore.Http;
8+
using Microsoft.Extensions.DependencyInjection;
9+
using Microsoft.Extensions.Logging;
10+
11+
namespace MarkdownViewEngineSample
12+
{
13+
public class Startup
14+
{
15+
// This method gets called by the runtime. Use this method to add services to the container.
16+
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
17+
public void ConfigureServices(IServiceCollection services)
18+
{
19+
}
20+
21+
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
22+
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
23+
{
24+
loggerFactory.AddConsole();
25+
26+
if (env.IsDevelopment())
27+
{
28+
app.UseDeveloperExceptionPage();
29+
}
30+
31+
app.Run(async (context) =>
32+
{
33+
await context.Response.WriteAsync("Hello World!");
34+
});
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
4+
<!--
5+
Configure your application settings in appsettings.json. Learn more at https://go.microsoft.com/fwlink/?LinkId=786380
6+
-->
7+
8+
<system.webServer>
9+
<handlers>
10+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
11+
</handlers>
12+
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
13+
</system.webServer>
14+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
3+
4+
<PropertyGroup>
5+
<TargetFramework>netstandard1.4</TargetFramework>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<Compile Include="**\*.cs" />
10+
<EmbeddedResource Include="**\*.resx" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="NETStandard.Library">
15+
<Version>1.6</Version>
16+
</PackageReference>
17+
<PackageReference Include="Microsoft.NET.Sdk">
18+
<Version>1.0.0-alpha-20161104-2</Version>
19+
<PrivateAssets>All</PrivateAssets>
20+
</PackageReference>
21+
</ItemGroup>
22+
23+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
24+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"iisSettings": {
3+
"windowsAuthentication": false,
4+
"anonymousAuthentication": true,
5+
"iisExpress": {
6+
"applicationUrl": "http://localhost:52975/",
7+
"sslPort": 0
8+
}
9+
},
10+
"profiles": {
11+
"IIS Express": {
12+
"commandName": "IISExpress",
13+
"launchBrowser": true,
14+
"environmentVariables": {
15+
"ASPNETCORE_ENVIRONMENT": "Development"
16+
}
17+
},
18+
"MarkdownViewEngine": {
19+
"commandName": "Project"
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)