var services = new ServiceCollection()
.AddPooledDbContextFactory<EFStorageDbContext<TestMessage>>(options =>
{
options.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=TestDatabase;Trusted_Connection=True;");
options.ReplaceService<IModelCustomizer, SqlServerModelCostumizer<TestMessage>>();
})
.BuildServiceProvider()
This file contains hidden or 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
{ | |
"exporter": "[email protected]", | |
"name": "Microsoft.PracticesChecker.Build.release.speedscope", | |
"activeProfileIndex": 0, | |
"$schema": "https://www.speedscope.app/file-format-schema.json", | |
"shared": { | |
"frames": [ | |
{ | |
"name": "Frame=0" | |
}, |
This file contains hidden or 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
cmd.exe /c '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat" && set' | | |
Out-String -Stream | Select-String -Pattern '^(.*?)=(.*)$' | | |
ForEach-Object { Set-Content -Path "env:$($_.Matches.Groups[1].Value)" -Value $_.Matches.Groups[2].Value } | |
Import-Module posh-git | |
Set-PSReadlineOption -HistoryNoDuplicates -ShowToolTips -BellStyle Visual |
This file contains hidden or 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
Enable-RemoteDesktop | |
cinst fiddler4 | |
cinst sysinternals | |
cinst 7zip.install | |
cinst notepadplusplus.install | |
cinst linqpad4 | |
cinst windirstat | |
Install-WindowsUpdate -AcceptEula |