Blazor @onclick event not firing when using Windows Authentication
See original GitHub issueThis issue has been moved from a ticket on Developer Community.
Hi
Without changing a thing, I:
Creating a new Blazor App with default temple works great thank you.
Creating a new Blazor App changing the Authentication to Windows Authentication, I discovered that:
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
onclick event does not fire?
Is this a bug or am I missing something?
Using VS Community 2019 Version 16.3.9
Best regards
Original Comments
Johannes denToom on 11/13/2019, 09:17 PM:
Changing the launchsetting.json file:
"iisSettings": {
"windowsAuthentication": true,
"anonymousAuthentication": true,
onclick event fires again, however Windows Authentication doesn't
"anonymousAuthentication": false,
onclick event does not fire.
Visual Studio Feedback System on 11/14/2019, 02:14 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
I had the same issue using google chrome with the “Avast Online Security” extension. These are the console logs after loading the Counter page:
It looks like it stopped before logging the web socket connection.
If I disable the Avast extension the application starts working normally and these are the console logs:
These are the server logs: server_logs_with_avast_plugin.log server_logs_without_avast_plugin.log
Before enabling the windows authentication I’ve never had a problem with this browser extensions.
Avast Online Security version 19.2.289 The extension icon appears greyed out on my blazor application but I’m testing on localhost and I don’t know if that’s the reason. If I press the icon while writing this message on github, none of the checkboxes in the “Automatically block all trackers” section is selected.