ASP.NET Core versus Spring Boot

I want to compare ASP.NET Core versus Spring Boot in order to see what the differences are between the two frameworks.

In order to do this I am creating a web app that will allow a user to log on via a web url and to then view and create users.

When users log on I want to generate a token which can be used to stay logged on and can be used to authenticate and authorise. I also want to generate a CSRF token to prevent CSRF attacks.