نظرات مطالب
استفاده از Fluent Validation در برنامه‌های ASP.NET Core - قسمت پنجم - اعتبارسنجی تنظیمات آغازین برنامه
ممنون
اموزش‌ها رو دیدم
مشکل اینجاست که اگه کلاس validator داخل یک پروژه دیگه باشه کار نمیکنه

// work
services.AddValidatorsFromAssemblyContaining<Car>();

// not work
services.AddValidatorsFromAssemblyContaining<ClassLibrary1.Person>();

الان کلاس Car داخل پروژه asp.net قرار داده و کار میکنه
ولی کلاس Person که داخل یک کلاس لایبرری هست کار نمیکنه
اشتراک‌ها
پشتیبانی از JSON در sql server 2016

At last, SQL Server has caught up with other RDBMSs by providing a useful measure of JSON-support. It is a useful start, even though it is nothing like as comprehensive as the existing XML support. For many applications, what is provided will be sufficient. Robert Sheldon describes what is there and what isn't. 

پشتیبانی از JSON در sql server 2016
اشتراک‌ها
Bootstrap 4.1.1 منتشر شد

Here’s a quick rundown of some of the changes:

  • Added validation styles for file inputs
  • Improved printing of dark tables
  • Suppressed that text-hide deprecation notice by default
  • Fixed an issue where Collapse wasn’t working in Internet Explorer
  • Cleaned up some JS globals and improve coverage
  • Bumped dependencies, namely Jekyll
  • Fixed docs issue with incorrect name for our monospace font utility 
Bootstrap 4.1.1 منتشر شد
اشتراک‌ها
پیاده سازی AutoPostBack در ASP.NET Core

Those of you who worked with ASP.NET web forms will recollect that certain server controls such as DropDownList have a property called AutoPostBack. This property when set to true automatically submits the form to the server whenever the selection changes and raises some server side event. In modern web development people prefer to use Ajax over AutoPostBack but at times AutoPostBack is what you might need. To that end this article shows how AutoPostBack can be implemented in ASP.NET Core applications. 

پیاده سازی AutoPostBack در ASP.NET Core
اشتراک‌ها
ReSharper Ultimate 2018.3.1 منتشر شد

This bug-fix update resolves the following issues:

ReSharper Build couldn’t build a project if MSBuild was installed as part of Visual Studio 2019 Preview 1 (RSRP-472694).
Visual Studio froze on JavaScript debugging (RSRP-472802).
Inconsistent default state around ‘Inconsistent Naming‘ inspection (RSRP-472812).
A false positive for NUnit TestCase (RSRP-472787).
Unit test coverage highlighting is not shown for projects targeting .NET Framework 3.5 and lower (DCVR-9525).
False “Cannot convert type” error for Promise in TypeScript.
Find Usages did not process bodies of #define macros when looking for textual occurrences (RSCPP-24977).
“Remove unused parameter” quick-fix was broken in C++ (RSCPP-25094).
 

ReSharper Ultimate 2018.3.1 منتشر شد
اشتراک‌ها
نگارش 1.13.0 افزونه #C مخصوص VSCode منتشر شد

Fixed bug where LangVersion property was not read correctly from project file, blocking C# 7.1 development.
Fixed long-standing problem with renaming files.
Added csharp.referencesCodeLens.enabled and csharp.testsCodeLens.enabled options to allow disabling/enabling for the 'references' and 'run/debug test' code lenses independently.

نگارش 1.13.0 افزونه #C مخصوص VSCode منتشر شد
بازخوردهای دوره
رها سازی منابع IDisposable در StructureMap
بله. ADO.NET (فناوری اصلی پشت صحنه) از یک connection pool برای بالا بردن سرعت اتصال‌های جدید استفاده می‌کند (استفاده از کانکشن‌های موجود، بجای ایجاد یک کانکشن جدید که بسیار هزینه‌بر و کند است). Max Pool Size در اینجا 100 است. اگر اتصالات، بسته نشده و به این pool بازگشت داده نشوند، کاربران با پیام time out مواجه خواهند شد:
System.InvalidOperationException: Timeout expired. 
The timeout period elapsed prior to obtaining a connection from the pool.  
This may have occurred because all pooled connections were in use and max pool size was reached.
نظرات مطالب
DbContext pooling در EF Core 2.0
از وقتی که از AddDbContextPool  استفاده کردم بعضی مواقع خطای: 

Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached. 
اتفاق میوفته حتی من مقدار max pool size رو هم در connection string تنظیم میکنم اما باز هم این خطا وجود دارد.