aspnetcore/template_feed/Microsoft.DotNet.Web.Projec.../content/WebApi-FSharp/Program.fs

27 lines
544 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.Logging
module Program =
let exitCode = 0
let BuildWebHost args =
WebHost
.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build()
[<EntryPoint>]
let main args =
BuildWebHost(args).Run()
exitCode