IT Dead Inside
Published in

IT Dead Inside

Use ASP.NET Core Razor Pages as API Endpoints

Use Razor Pages and jQuery to Quickly Create RESTful Interactivity

What Are We Building?

We’re going to whip up a simple Razor page application with some jQuery interactivity built into it. The jQuery will call upon another specialised Razor page to act as a mini-API, a source of RESTful data. That’s it.

Why Would I Need This?

If you have an existing API for your product, and this API is wired into your…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store