Button Click counter + textbox

I’m new to C# and visual studio, I started learning recently…at the moment I’m trying to make one button that counts the number of clicks and a text box which you can type in any number and it will be reflected in the button counter while adding 1, right now it works but I want the button to add 1 every time you click, here is my code,

Getting an unconfigured reply URL error on Blazor App with Azure AD authentication

I’ve created a template Blazor Server Side project in VS with single tenant Azure AD authentication. Running the app on localhost i’m able to log in fine, but unable to log in when the app is published as Azure Web app. Error: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: ‘app client id here’.