Answer the question
In order to leave comments, you need to log in
Why doesn't the method work in RAzor PAge?
Created a default Core Web Razor Page application from Visual Studio
added a handler to index
public void OnTest()
{
_logger.LogInformation("Hi");
}
<a asp-page-handler="OnTest" >test</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question