-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_AppStart.cshtml
28 lines (21 loc) · 1.03 KB
/
_AppStart.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@{
WebSecurity.InitializeDatabaseConnection("StarterSite", "UserProfile", "UserId", "Email", autoCreateTables: true);
// To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, Twitter,
// you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=226949
//OAuthWebSecurity.RegisterMicrosoftClient(
// clientId: "",
// clientSecret: "");
//OAuthWebSecurity.RegisterTwitterClient(
// consumerKey: "",
// consumerSecret: "");
//OAuthWebSecurity.RegisterFacebookClient(
// appId: "",
// appSecret: "");
//OAuthWebSecurity.RegisterGoogleClient();
//WebMail.SmtpServer = "mailserver.example.com";
//WebMail.EnableSsl = true;
//WebMail.UserName = "[email protected]";
//WebMail.Password = "your-password";
//WebMail.From = "[email protected]";
// To learn how to optimize scripts and stylesheets in your site go to http://go.microsoft.com/fwlink/?LinkID=248973
}