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
using Microsoft.AspNetCore.Mvc.ApplicationParts; | |
using Microsoft.AspNetCore.Mvc.Controllers; | |
using Microsoft.AspNetCore.Mvc.Infrastructure; | |
public SomeController( | |
IActionDescriptorCollectionProvider actionDescriptorCollectionProvider, | |
ApplicationPartManager applicationPartManager) | |
{ } | |
[Route("routes")] |
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
$ExpirationDate = (Get-Date).AddYears(20) | |
New-SelfSignedCertificate -dnsname localhost -subject "CN=BlahApp" -CertStoreLocation "Cert:\LocalMachine\My" -FriendlyName "Blah Local Development Certificate" -NotAfter $ExpirationDate |
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
#https://github.com/aspnet/IISIntegration/issues/1401#issuecomment-423252335 | |
net stop /y was && net start w3svc |
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
#https://stackoverflow.com/a/66290952/185123 | |
net stop winnat; net start winnat |