19 lines
535 B
Forth
19 lines
535 B
Forth
namespace Company.WebApplication1
|
|
|
|
open System
|
|
open Microsoft.AspNetCore.Builder
|
|
open Microsoft.AspNetCore.Hosting
|
|
open Microsoft.AspNetCore.Http
|
|
open Microsoft.Extensions.DependencyInjection
|
|
|
|
type Startup() =
|
|
|
|
member this.ConfigureServices(services: IServiceCollection) =
|
|
()
|
|
|
|
member this.Configure(app: IApplicationBuilder, env: IHostingEnvironment) =
|
|
if env.IsDevelopment() then app.UseDeveloperExceptionPage() |> ignore
|
|
|
|
app.Run(fun context -> context.Response.WriteAsync("Hello World!"))
|
|
|
|
() |