Routing In RESTful APIs Using .NET Core

bg_image86
 
Routing, an open debatable topic among many in the developer community, is an interesting feature in which to deep dive. Routing is a functionally based tag or Uri template used by APIs to match the desired action or methods expected to be executed. There are two types or rather two different types of Routing being used during development. Namely, ‘Convention-based Routing’ the elder son in the REST routing family followed by ‘Attribute Routing’ the most

Continue Reading

How To Using Node Services In ASP.NET Core

03_blog
 
This post is about running Javascript code in the Server. Because a huge number of useful, high-quality Web-related open source packages are in the form of Node Package Manager (NPM) modules. NPM is the largest repository of open-source software packages in the world, and the Microsoft.AspNetCore.NodeServices package means that you can use any of them in your ASP.NET Core application. To use Node Services, first you need to include the reference of Microsoft.AspNetCore.NodeServices package in

Continue Reading

Login & Authentication for your ASP.NET Core Web API

How_to_Monitor_IIS_Performance
 
You’re building an ASP.NET Core Web API which is primarily going to serve a Single Page Application (Angular, ReactJS or something else) and/or other clients. You realise that you need to make your API secure. If you don’t, it won’t take much effort for someone to start poking around, doing whatever they like to your data. It’s surprisingly difficult to find good resources on login/authentication when using a SPA backed by ASP.NET Core. This is

Continue Reading