Quantcast
Channel: User Tarmil - Stack Overflow
Viewing all articles
Browse latest Browse all 38

Answer by Tarmil for How to get Elmah working with .Net 6 F# Web Api Project

$
0
0

The equivalent in F#, and with asp.net minimal API that you are using, would be to put this before let app = ...:

builder.Services.AddElmah<SqlErrorLog>(fun options ->    options.ConnectionString <- "Server=localhost;Database=ELMAH;Integrated Security=True;")

Viewing all articles
Browse latest Browse all 38

Trending Articles