Implementing Autofac in Asp.Net Core 3.1
Autofac is a tool for managing interdependence between classes that simplifies application development as it grows in size and complexity. Asp.Net Core, unlike the classic Asp.Net, supports built-in Dependency Injection ....
Read more
Prevent Brute Force Attack
One of the most common attacks faced by developers is Brute-Force Attack. In these attacks, users use any possible combination of letters, numbers and symbols to discover the correct combination to discover the password. If your website needs authentication ....
Read more
How to implement password forgetting on the OWASP website
On the first page of implementing a secure password forgetfulness you ask the user to enter at least the information he has already registered. At the very least, you should have collected data that will allow you to send password recovery information to the user via SMS, email, and so on. ....
Read more
Using AutoMapper in Asp.Net Core
AutoMapper is a library for object mapping that simplifies manual mapping. For example you need to map an input DTO to another model. To do this, you must write code for all the required properties. For example, you should do the following ....
Read more
پیاده سازی Swagger در Asp.Net Core 2.1
Swagger یک ابزار کامل برای مستندسازی Api هاست. با استقاده از Swagger میتوانید لیست Api های خود را نمایش دهید. Swagger اطلاعات کاملی درباره نحوه استفاده از Api ها را در اختیار شما قرار میدهد. ورودی Api ها و خروجی آنها را مشخص می کند. دیگر نیازی نیست برای Api های خود یک ....
Read more