-
Open proto file
- Talk about syntax highlighting
-
Connected Services
- Add new proto file (with streaming)
-
Click on show all files and show generated code
-
Introduce an error in proto file. Show go to error
-
Show off the "override" flow with design time build
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.Collections.Generic; | |
using System.Diagnostics; | |
using System.Diagnostics.Tracing; | |
using Microsoft.Diagnostics.Tools.RuntimeClient; | |
using Microsoft.Diagnostics.Tracing; | |
namespace Repro | |
{ | |
class Program |
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 Google.Protobuf; | |
using Google.Protobuf.Reflection; | |
using Grpc.Core; | |
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.Loader; |
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.Buffers.Binary; | |
using System.Collections.Generic; | |
using System.Net.Http; | |
using System.Reflection; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using Grpc.Core; | |
namespace Sample.Clients |
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
Import-Module IISAdministration | |
# Stop WAS/W3SVC | |
Stop-Service -Name WAS -Force | |
# Disable shared config | |
$sm = Get-IISServerManager | |
$sm.GetRedirectionConfiguration().GetSection("configurationRedirection").Attributes["enabled"].Value = $false | |
$sm.CommitChanges() |
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
app.Run(async (context) => | |
{ | |
var processName = Process.GetCurrentProcess().ProcessName; | |
await context.Response.WriteAsync($"Hello World from {processName}"); | |
}); |
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
<PropertyGroup> | |
<AllowUntrustedCertificate>True</AllowUntrustedCertificate> | |
</PropertyGroup> |
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
<PropertyGroup> | |
<AspNetCoreModuleHostingModel>inprocess</AspNetCoreModuleHostingModel> | |
</PropertyGroup> |
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
Invoke-WebRequest -Uri https://raw.githubusercontent.com/shirhatti/ANCM-ARMTemplate/b13de5f65b8c524d9ce72da5fd8df774e0eb76da/install-ancm.ps1 -OutFile install-ancm.ps1 | |
.\install-ancm.ps1 |
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /> | |
</handlers> | |
<aspNetCore processPath="dotnet" arguments=".\MyWebApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" /> | |
</system.webServer> | |
</configuration> |