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
using System; | |
using System.Security.Cryptography; | |
using Microsoft.IdentityModel.JsonWebTokens; | |
using Microsoft.IdentityModel.Tokens; | |
public class RSAAuth | |
{ | |
[Fact] | |
public void RSATest |
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
{ | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"newline": true, | |
"segments": [] | |
}, | |
{ | |
"type": "prompt", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="generator" content="Asciidoctor 2.0.10"> | |
<title>Objectives</title> | |
<link rel="stylesheet" |
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
#!/bin/bash | |
# create new solution based on input argument | |
create_new_solution () { | |
local root_dir=$1 | |
echo creating solution : $root_dir | |
# create solution directory | |
mkdir $root_dir | |
dotnet new sln -o $root_dir |
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
using Microsoft.EntityFrameworkCore; | |
using Microsoft.Extensions.Configuration; | |
using Multitenant.Models; | |
using MultiTenant.Data.Interfaces; | |
namespace Multitenant.Data | |
{ | |
public class DbContextFactory : IDbContextFactory | |
{ | |
public ApplicationDbContext CreateDbContext(Tenant tenant, IConfiguration configuration) |