Author: pakzad

0

Model State Validation in ASP.NET Core

ASP.NET Cоre 2.1 intrоduced the APICоntrоller аttribute which perfоrms аutоmаtic Model State Validation in ASP.NET Core аnd in cаse оf аn invаlid mоdel stаte, respоnds with а 400 bаd request errоr. When the cоntrоller...

0

WebAssembly and Blazor .NET, The future of Web

Over the years front-end development tightly coupled with JavaScript or any flavor of it. However, things are about to change in near future. Have you ever dreamed of writing c#/java/any-language-of-choice code for the client-side...

0

Swagger in ASP.NET Core

If you want to have open API standards and API documentation easy and almost no code, you should try Swagger in ASP.NET Core. Whаt is Swаgger? Swagger is a language-independent specification for describing REST APIs. The...

0

Leverage FluentMigrator in ASP.NET Core 2.0

Let’s see how easy it is to use FluentMigrator in ASP.NET Core 2.0 🙂 If this is the first time you hear about FluentMigrator then here is the description from https://fluentmigrator.github.io/ Fluent Migrator is a migration...

0

Make configuration strongly-typed in ASP.NET Core

Well if you familiar with ASP.NET Core, you probably know about IOptions<T> and how easy it is to bind classes to configuration sections, however, there is an easier way to make configuration strongly-typed ASP.NET Core. The...

0

How to migrate legacy applications easily

There is always concern over migrating legacy applications either to a new platform or even re-writing it completely. Below I tried to come up with the list things you might need to consider before...

0

Anti-CSRF protection in ASP.Net Core

In this article, I have given the reason why it is necessary to globally apply protection against CSRF attacks for all HTTP requests using the POST method. Throughout this article I talk about Anti-CSRF protection...