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
var MyModule = (function(){ | |
function _log() { | |
console.log(arguments); | |
} | |
function _warn(){ | |
console.warn(arguments); | |
} |
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
git config user.name "Andrew" | |
git config user.email "[email protected]" |
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
#MANAGEMENT STUDIO SERVER NAME | |
.\SQLEXPRESS | |
tcp:medilync-ukwest-db.database.windows.net,1433 | |
#LOCAL SERVER CONNECTION STRING | |
"Data Source=.\\SQLEXPRESS;Initial Catalog=MedilyncSharingDb;Integrated Security=True;Connect Timeout=30;Encrypt=True;Trusted_Connection=True;TrustServerCertificate=True;MultipleActiveResultSets=true" |
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
Dotnet EF Migrations | |
dotnet ef migrations add {MigrationName} | |
dotnet ef migrations remove | |
dotnet ef database update | |
dotnet ef migrations add InitialIdentityServerMigration -c PersistedGrantDbContext | |
dotnet ef migrations add InitialIdentityServerMigration -c ConfigurationDbContext | |
dotnet ef migrations add InitialIdentityServerMigration -c ApplicationDbContext |
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
FCT 01.12.2016 0.002802 73.48726981 0.20591133 |
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
http://localhost:1941/.well-known/openid-configuration |
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
COOKIE AUTH | |
//Auth | |
app.UseCookieAuthentication(new CookieAuthenticationOptions | |
{ | |
AutomaticAuthenticate = true, | |
AutomaticChallenge = true, | |
LoginPath = new PathString("/Account/Login"), | |
Events = new CookieAuthenticationEvents() | |
{ |
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
Create a new ASP.NET 4.5 project in VS2015, selecting the Empty Template | |
Add OWIN references through nuget (Install-Package Microsoft.Owin.Host.SystemWeb and Microsoft.Owin.StaticFiles) | |
Add a startup file similar to this: | |
[assembly: OwinStartup(typeof(MyApp.Startup))] | |
namespace MyApp.UI | |
{ | |
public class Startup | |
{ | |
public void Configuration(IAppBuilder app) |