Skip to content

Commit 4d21497

Browse files
committed
Use SQLEXPRESS instead of localhost
1 parent 2aa1be1 commit 4d21497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/storage/use-sqlprovider-ssdt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ open Shared
168168
open Microsoft.AspNetCore.Http
169169
170170
let todosApi =
171-
let db = Database.createContext @"Data Source=.\SQLEXPRESS;Initial Catalog=SafeTodo;Integrated Security=SSPI;"
171+
let db = Database.createContext @"Data =.\SQLEXPRESS,1433;Database=SafeTodo;User ID=sa;Password=yourStrong(!)Password;Encrypt=false"
172172
{ getTodos = fun () -> TodoController.getTodos db
173173
addTodo = TodoController.addTodo db }
174174

0 commit comments

Comments
 (0)