اشتراک‌ها
ابزار Autorest : کد جنریتوری برای OpenAPI Specification

OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, Go, Java, Node.js, TypeScript, Python, Ruby and PHP. 

AutoRest is an open source tool that generates client libraries for accessing RESTful web services. 

Video Tutorial : https://azure.microsoft.com/en-us/resources/videos/inside-autorest-with-david-justice/ 

ابزار Autorest : کد جنریتوری برای OpenAPI Specification
نظرات مطالب
مروری بر کاربردهای Action و Func - قسمت اول
فکر نمی‌کنم به خاطر دات نت 1 باشه. دلیلی فراتر از این وجود داره. با کمی جستجو، این لینک که بر اساس VS 2010 نوشته شده، در پاراگراف آخر دلیل منطقی‌تری رو ارائه میده. در مورد WebGrid که فرمودید، بحثش جداست. من از کامپوننت‌های متن باز Telerik در بستر ASP.NET MVC استفاده می‌کنم و از انعطاف پذیری Action و Func در متدهای اون لذت می‌برم. حرف من در مورد تعریف واجب استفاده از Predefined Delegates به جای اینترفیس‌های تک متدی است.

One good example of using a single-method interface instead of a delegate is IComparable or the generic version, IComparable<T>. IComparable declares the CompareTo method, which returns an integer that specifies a less than, equal to, or greater than relationship between two objects of the same type. IComparable can be used as the basis of a sort algorithm. Although using a delegate comparison method as the basis of a sort algorithm would be valid, it is not ideal. Because the ability to compare belongs to the class and the comparison algorithm does not change at run time, a single-method interface is ideal. 
نظرات مطالب
شروع به کار با EF Core 1.0 - قسمت 3 - انتقال مهاجرت‌ها به یک اسمبلی دیگر
سلام؛ من بعد از انتقال کانتکس و کلاس‌های مدل به اسمبلی‌های خودشون اقدام به اضافه کردن مهاجرت‌ها کردم ولی با خطای  زیر مواجه شدم :
Unable to create an object of type 'ApplicationDbContext'. Add an implementation of 'IDesignTimeDbContextFactory<ApplicationDbContext>' to the project, or see https://go.microsoft.com/fwlink/?linkid=851728 for additional patterns supported at design time.
 ضمنا سازنده کانتکست:
 public ApplicationDbContext(DbContextOptions options) : base(options)
        {
            
        }
دستور اضافه کردن مهاجرت‌ها:
dotnet ef --startup-project ../MohasebKhodro/ migrations add InitialDatabase
نظرات اشتراک‌ها
دوره‌هایی رایگان برای دوران کرونا
لینک مستقیم و همچنین عناوین فایل‌های ویدیوهای این دوره‌ها برای دریافت: dls.7z
کل متن آن‌را در حافظه کپی کنید. بعد گزینه‌ی automatically start downloading of URLs placed to clipboard را در IDM انتخاب کنید. این فایل‌های bin در اصل mp4 هستند.
اشتراک‌ها
کتاب رایگان Application Security in .NET Succinctly

Security in software development should be a first-order requirement, but it’s often implemented in projects as an afterthought. With Application Security in .NET Succinctly, author Stan Drapkin provides a refresher of .NET security practices and fills common knowledge gaps for experienced developers and novices alike. Learn about hashes, machine authentication code, key derivation, binary and text encodings, symmetric and authenticated encryption, and much more, and begin properly securing your .NET apps today.

Table of Contents
  1. Preface
  2. .NET Security
  3. Hashes and MACs
  4. Key Derivation
  5. Comparing Byte Arrays
  6. Binary Encodings
  7. Text Encodings
  8. Symmetric Encryption
  9. Authenticated Encryption
  10. Asymmetric Cryptography
  11. Two-Factor Authentication (2FA)
  12. Web Security 
کتاب رایگان Application Security in .NET Succinctly
اشتراک‌ها
خودآزمایی SQL

The SQL Murder Mystery

There is a murder in SQL City! A very interactive self-thought SQL tutorial where you have to find a murder using SQL Queries 

خودآزمایی SQL
اشتراک‌ها
پیاده سازی کش LRU

LRU cache is a container that ensures its maximum capacity is never exceeded by using a Least Recently Used strategy to discard elements.

پیاده سازی کش LRU
اشتراک‌ها
استفاده از GenFu برای تولید اطلاعات اتفاقی با مفهوم

GenFu is a test and prototype data generation library for .NET apps. It understands different topics – such as “contact details” or “blog posts” and uses that understanding to populate commonly named properties using reflection and an internal database of values or randomly created data.  

استفاده از GenFu برای تولید اطلاعات اتفاقی با مفهوم
اشتراک‌ها
ایجاد Pull to Share برای موبایل

A mobile "pull to share" interaction that allows to share a page by using the familiar "pull to refresh" movement. Based on the action for refreshing and opening/closing a tab in Google Chrome for mobile. 

ایجاد Pull to Share برای موبایل