عنوان:

‫استفاده از فایل‌های JSON بجای XML برای بومی سازی برنامه‌های ASP.NET Core


نویسنده: وحید نصیری
تاریخ: ۱۳۹۷/۰۳/۱۹ ۱۲:۱۸
آدرس: www.dntips.ir

Elemental.JsonResource

Json Resource file support in C# projects.

This provides an alternative to using resx files to defined resources in C# projects. The benefits over resx are:

  • human readable file format (try writing resx xml from scratch without documentation)
  • generated C# code doesn't get included in project/source control
  • Doesn't require modifying the .csproj (adding a single resx file will add ~12 lines to your csproj file)
  • Doesn't require Visual Studio to function. (resx files don't work in VS Code for example) 


مشاهده مطلب اصلی