Last active
April 14, 2018 10:37
-
-
Save samueleresca/2fc4d58ae8a485bd8ee9b48307caae61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let configureServices (services : IServiceCollection) = | |
services.AddDbContext<LabelsContext> | |
(fun (options : DbContextOptionsBuilder) -> | |
options.UseSqlServer | |
(@"Server=localhost;Database=ContentDataDB2;User Id=<user_id>;Password=<password>;") | |
|> ignore) |> ignore | |
services.AddCors() |> ignore | |
services.AddGiraffe() |> ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment