Skip to content

Blazor @onclick event not firing when using Windows Authentication #17347

@vsfeedback

Description

@vsfeedback

This 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions