title: Is it possible to have something similar to Next.js API routes in ASP.NET Core Razor Pages?
body: <p>I'm developing some applications using ASP.NET Core Razor Pages. And I know that many times I need to connect to backend only to send and receive data, and no view is in the process.</p>
  <p>NEXT.js has the concept of <code>api route</code> which works perfectly for this scenario.</p>
  <p>Do we have something similar in ASP.NET Core Razor Pages?</p>