search

In this article, we are going to talk about a neat concept called data shaping and how to implement it in ASP.NET Core Web API. To achieve that, we are going to use similar tools as we did in the sorting article. Data shaping is not something that every API needs, but it can be very useful in some cases.

Bharat Dwarkani shared on Jan 28, 2020
image
code-maze.com
bookmarks
share
favorite_border0 visibility1
favorite_border0 visibility1 share bookmarks

In distributed systems, retries are inevitable. From network errors to replication issues and even outages in downstream dependencies, services operating at a massive scale must be prepared to encounter, identify, and handle failure as gracefully as possible.

Bharat Dwarkani shared on Jan 27, 2020
image
eng.uber.com
bookmarks
share
favorite_border0 visibility3
favorite_border0 visibility3 share bookmarks

Roslyn is the C# and VB.NET compiler. Roslyn also provides language services that can be used by IDE such as refactorings, code fixes, or edit and continue. If you are not familiar with Roslyn, you should read the following post to discover the scope of Roslyn.

Bharat Dwarkani shared on Jan 26, 2020
image
meziantou.net
bookmarks
share
favorite_border0 visibility0
favorite_border0 visibility0 share bookmarks

When learning CS, there are some useful sites you must know to get always informed in order to do your technologies even better and learn new things. Here is a non exhaustive list of some sites you should visit.

Bharat Dwarkani shared on Jan 26, 2020
image
github.com
bookmarks
share
favorite_border0 visibility4
favorite_border0 visibility4 share bookmarks

innerHTML is a JavaScript tag whos property is used for DOM manipulation. More specifically, it "sets or returns the HTML content (the inner HTML) of an element." Ordinarily, this property is used to examine the current HTML source of the page, including any changes that have been made since the page was initially loaded. But, it can also be used for Cross-site Scripting(XSS).

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

A JavaScript Polyglot is a Cross Site Scripting (XSS) vector that is executable within various injection contexts in its raw form, or a piece of code that can be executed in multiple contexts in the application. So, a JavaScript polyglot can be multiple things at once, like a JavaScript/JPEG

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

JWT vs Cookies

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute unwanted actions on a web application in which they're currently authenticated. CSRF attacks specifically target state-changing requests, not theft of data, since the attacker has no way to see the response to the forged request.

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

There are two main types of XSS that people are referring to when talking about XSS, Persistent (aka Stored) and Reflected. But, did you know there is a third type also, DOM Based? Furthermore, what's the difference between them and why should I care?

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

In the coding world Hashing and Encryption are two processes that are often used interchangeably when talking about security of information. However, though they might be used interchangeably they are two different processes that are used in difference places and it is important to note their differences to understand where to use them.

Bharat Dwarkani shared on Jan 26, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility4
favorite_border0 visibility4 share bookmarks
add