search

As more and more data is exposed via APIs either as API-first companies or for the explosion of single page apps/JAMStack, API security can no longer be an afterthought. The hard part about APIs is that it provides direct access to large amounts of data while bypassing browser precautions. Instead of worrying about SQL injection and XSS issues, you should be concerned about the bad actor who was able to paginate through all your customer records and their data.

Bharat Dwarkani shared on Jul 21, 2020
image
dzone.com
bookmarks
share
visibility21
visibility21 share bookmarks

When I first started playing with API testing in .NET Core 3, I wanted to have a quick In Memory API test that takes snapshots. In this article, I am going to describe a way how to do it easily so even you can do it in your project. If you are not familiar with the snapshot testing and why you should care, it will be explained below.

Bharat Dwarkani shared on Jul 17, 2020
image
medium.com
bookmarks
share
visibility21
visibility21 share bookmarks

In this article, we’re going to learn how to implement paging in ASP.NET Core Web API. Paging (pagination) is one of the most important concepts in building RESTful APIs.

Bharat Dwarkani shared on Nov 24, 2019
image
code-maze.com
bookmarks
share
visibility111
visibility111 share bookmarks

Basic and advanced samples - simple 'Hello GraphQL!' example based on console version from GraphQL for .NET on GitHub, but using ASP.NET Core, Entity Framework Core and some best practices, patterns and principles. Advanced - GraphQL queries and mutations with full 'Star Wars' database

Bharat Dwarkani shared on Oct 26, 2019
image
github.com
bookmarks
share
visibility214
visibility214 share bookmarks

This tutorial shows how to call an ASP.NET Core web API with JavaScript, using the Fetch API.

Bharat Dwarkani shared on Aug 29, 2019
image
docs.microsoft.com
bookmarks
share
visibility12
visibility12 share bookmarks

This article describes how to add some additional claims (e.g. a full user's name) to the user's identity in ASP.NET Core web applications and then use that new claims on our pages.

Sergiy Korzh shared on Aug 22, 2019
image
korzh.com
bookmarks
share
visibility14
visibility14 share bookmarks

In ASP.NET you are able to have many different formatters. The best known built-in formatter is the JsonOutputFormatter which is used as the default OutputFormatter in ASP.NET Web API.

Bharat Dwarkani shared on Aug 19, 2019
image
asp.net-hacker.rocks
bookmarks
share
visibility3
visibility3 share bookmarks

While building an API, the client should receive a proper and descriptive HTTP response message for each request. The Web API provides a very simple approach to achieve this.

Bharat Dwarkani shared on Aug 18, 2019
image
debugmode.net
bookmarks
share
visibility4
visibility4 share bookmarks

This article shows how to persist access tokens for a trusted ASP.NET Core application which needs to access secure APIs. These tokens which are persisted are not meant for public clients but are used for the service to service communication.

Bharat Dwarkani shared on Aug 12, 2019
image
damienbod.com
bookmarks
share
visibility19
visibility19 share bookmarks

Project templates with batteries included providing the minimum amount of code required to get you going. Templates for API, GraphQL API, Orleans https://github.com/Dotnet-Boxed/Templates

Bharat Dwarkani shared on Aug 12, 2019
image
github.com
bookmarks
share
visibility11
visibility11 share bookmarks
add