For .NET Core 3.0, we’re shipping a brand new namespace called System.Text.Json with support for a reader/writer, a document object model (DOM), and a serializer. In this blog post, I’m telling you why we built it, how it works, and how you can try it.
ConfigureAwait(true):
پس از اتمام wait ادامه کار توسط همان Thread اولیه انجام میشود. اگر Thread در اختیار درخواست دیگری باشد، تا اتمام آن باید صبر مضاعف کرد! امکان بروز Deadlock وجود دارد. در عوض Thread synchronization context از دست نمیرود. زمانی که متد Async در یک متد غیر Async فراخوانی گردد نیز امکان Deadlock وجود دارد. رفتار پیشفرض .Net Framework همین گونه است!
ConfigureAwait(false):
پس از اتمام wait ادامه کار توسط یک Thread آزاد انجام میشود. که لزوما همان اولیه نیست، پس صبر اضافی لازم ندارد. از بروز Deadlock مربوط به این رفتار جلوگیری میشود. رفتار پیشفرض .Net Core این گونه است.
Here’s the list of what’s new in this preview:
- New Razor features:
@attribute
,@code
,@key
,@namespace
, markup in@functions
- Blazor directive attributes
- Authentication & authorization support for Blazor apps
- Static assets in Razor class libraries
- Json.NET no longer referenced in project templates
- Certificate and Kerberos Authentication
- SignalR Auto-reconnect
- Managed gRPC Client
- gRPC Client Factory
- gRPC Interceptors
Casbin.NET؛ کتابخانهی مدیریت دسترسیها با پشتیبانی از ACL, RBAC, ABAC
301, MovedPermanently