Search code examples
debuggingblazorblazor-webassemblyiis-express

debug blazor wasm when using custom domain


Im building some Blazor wasm project

and to access OIDC i had to make my dev iis expres to run under https:/xxx.localhost and OIDC is veryfying this callback url so it mus be like that

so i had to add to my hosts xxx.localhost 127.0.0.1 and then edit applicationhost.config and add

 <binding protocol="https" bindingInformation="*:443:xxx.localhost" />

then

 netsh http add sslcert ipport=0.0.0.0:443 certhash=certhash.. appid={appid...}

and it is wotking - now i can run it on xxx.localhost but i canot debug.

i see breakpoints not hit like like this enter image description here

what shoud i do to be able to debug like this also? did i do something wrong ? please advise. best regards !


Solution

  • for future readers solution was pretty simple issue was with my corp network and PROXY

    for xx.localhost it was going thru proxy not directly !!!

    shame on me regrds.