26 lines
637 B
Forth
26 lines
637 B
Forth
namespace Company.WebApplication1
|
|
|
|
open System
|
|
open System.Collections.Generic
|
|
open System.IO
|
|
open System.Linq
|
|
open System.Threading.Tasks
|
|
open Microsoft.AspNetCore
|
|
open Microsoft.AspNetCore.Hosting
|
|
open Microsoft.Extensions.Configuration
|
|
open Microsoft.Extensions.Hosting
|
|
open Microsoft.Extensions.Logging
|
|
|
|
module Program =
|
|
let createHostBuilder args =
|
|
Host.CreateDefaultBuilder(args)
|
|
.ConfigureWebHostDefaults(fun webBuilder ->
|
|
webBuilder.UseStartup<Startup>() |> ignore
|
|
)
|
|
|
|
[<EntryPoint>]
|
|
let main args =
|
|
createHostBuilder(args).Build().Run()
|
|
|
|
0 // Exit code
|