Create custom HttpMethod in Asp.Net Core


In Asp.Net Core there are 7 HttpMethod attributes by default: (HttpDelete, HttpGet, HttpPost, HttpPut, HttpOption, HttpPatch, HttpHead). In this article, we want to create two custom attributes called HttpRead and HttpWrite that use HttpWrite ....
Read more

How to use HttpPatch in Asp.Net Core


We typically use HttpPut to edit information. In this case, we have to send all the fields related to the entity. But if only one or two fields need to be edited, what is the need to send the rest of the fields? Using HttpPatch we can only send the fields ....
Read more

پیاده سازی Swagger در Asp.Net Core 2.1


Swagger یک ابزار کامل برای مستندسازی Api هاست. با استقاده از Swagger میتوانید لیست Api های خود را نمایش دهید. Swagger اطلاعات کاملی درباره نحوه استفاده از Api ها را در اختیار شما قرار میدهد. ورودی Api ها و خروجی آنها را مشخص می کند. دیگر نیازی نیست برای Api های خود یک ....
Read more