Removed unused FSharpWebsite (#9794)
This commit is contained in:
parent
2b2aeee9f8
commit
8e37f8477d
|
|
@ -313,8 +313,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Signal
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson", "..\SignalR\common\Protocols.NewtonsoftJson\src\Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.csproj", "{F99CAC82-C96E-41F4-AA28-1BBBD09C447A}"
|
||||
EndProject
|
||||
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharpWebSite", "test\WebSites\FSharpWebSite\FSharpWebSite.fsproj", "{65E98187-96FB-4FCD-94A3-F8048C2F13F1}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RazorBuildWebSite.PrecompiledViews", "test\WebSites\RazorBuildWebSite.PrecompiledViews\RazorBuildWebSite.PrecompiledViews.csproj", "{A8C3066F-E80D-4E03-9962-741B551B8FBC}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mvc.Components.Prerendering", "Mvc.Components.Prerendering", "{45CE788D-4B69-4F83-981C-F43D8F15B0F1}"
|
||||
|
|
@ -1793,18 +1791,6 @@ Global
|
|||
{F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F99CAC82-C96E-41F4-AA28-1BBBD09C447A}.Release|x86.Build.0 = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1}.Release|x86.Build.0 = Release|Any CPU
|
||||
{A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A8C3066F-E80D-4E03-9962-741B551B8FBC}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
|
|
@ -1980,7 +1966,6 @@ Global
|
|||
{49C9115F-CA12-48EC-8F60-253651FC0A0E} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4}
|
||||
{F85D8F0C-2300-4021-B5C4-A245D94FF419} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4}
|
||||
{F99CAC82-C96E-41F4-AA28-1BBBD09C447A} = {5FE3048A-E96B-44F8-A7C4-FC590D7E04B4}
|
||||
{65E98187-96FB-4FCD-94A3-F8048C2F13F1} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
|
||||
{A8C3066F-E80D-4E03-9962-741B551B8FBC} = {16703B76-C9F7-4C75-AE6C-53D92E308E3C}
|
||||
{6D6489E5-48BD-4F9B-9EEE-22AEEA1E1890} = {45CE788D-4B69-4F83-981C-F43D8F15B0F1}
|
||||
{C6F3BCE6-1EFD-4360-932B-B98573E78926} = {45CE788D-4B69-4F83-981C-F43D8F15B0F1}
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace FSharpWebSite.Controllers
|
||||
|
||||
open System
|
||||
open System.Collections.Generic
|
||||
open System.Linq
|
||||
open System.Threading.Tasks
|
||||
open Microsoft.AspNetCore.Mvc
|
||||
|
||||
type HomeController () =
|
||||
inherit Controller()
|
||||
|
||||
member this.Index () =
|
||||
this.View()
|
||||
|
||||
member this.AsyncAction () = async {
|
||||
do! Async.Sleep 50
|
||||
return this.Content("Action completed asynchronously")
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
|
||||
<IsTestAssetProject>true</IsTestAssetProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\*.fs" />
|
||||
<Compile Include="Startup.fs" />
|
||||
<Compile Include="Program.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||
|
||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace FSharpWebSite
|
||||
|
||||
open System.IO
|
||||
open Microsoft.AspNetCore.Hosting
|
||||
|
||||
|
||||
module Program =
|
||||
|
||||
[<EntryPoint>]
|
||||
let main args =
|
||||
let host =
|
||||
WebHostBuilder()
|
||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
||||
.UseStartup<Startup>()
|
||||
.UseKestrel()
|
||||
.UseIISIntegration()
|
||||
.Build()
|
||||
|
||||
host.Run()
|
||||
|
||||
0
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace FSharpWebSite
|
||||
|
||||
open Microsoft.AspNetCore.Builder
|
||||
open Microsoft.AspNetCore.Hosting
|
||||
open Microsoft.Extensions.DependencyInjection
|
||||
|
||||
|
||||
type Startup () =
|
||||
|
||||
member this.ConfigureServices(services: IServiceCollection) =
|
||||
services.AddMvc() |> ignore
|
||||
|
||||
member this.Configure(app: IApplicationBuilder) =
|
||||
app.UseDeveloperExceptionPage() |> ignore
|
||||
app.UseStaticFiles() |> ignore
|
||||
app.UseRouting() |> ignore
|
||||
app.UseEndpoints(fun endpoints -> endpoints.MapDefaultControllerRoute() |> ignore) |> ignore
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<h1>Hello from FSharpWebSite</h1>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>@ViewData["Title"] - FSharpWebSite</title>
|
||||
</head>
|
||||
<body>
|
||||
@RenderBody()
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
@using FSharpWebSite
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
||||
Loading…
Reference in New Issue