اشتراک‌ها
Entity Framework Core 5.0 Preview 5 منتشر شد

Database collations

The default collation for a database can now be specified in the EF model.
This will flow through to generated migrations to set the collation when the database is created.
For example:

 modelBuilder.UseCollation("German_PhoneBook_CI_AS");
Entity Framework Core 5.0 Preview 5 منتشر شد
نظرات مطالب
معرفی کتابخانه Postal برای ASP.NET MVC
با سلام من وقتی برنامه و اجرا میکنم خطای زیر رو بهم میده
No default Instance is registered and cannot be automatically determined for type 'Postal.IEmailViewRenderer'

There is no configuration specified for Postal.IEmailViewRenderer

1.) new EmailService(*Default of IEmailViewRenderer*, *Default of IEmailParser*, *Default of Func<SmtpClient>*)
2.) Postal.EmailService
3.) Instance of Postal.IEmailService (Postal.EmailService)
4.) new AccountController(*Default of IApplicationUserManager*, *Default of IApplicationSignInManager*, *Default of IAuthenticationManager*, *Default of IProfileService*, *Default of IUserService*, *Default of IIdentityMessageService*, *Default of IEmailService*, *Default of IUnitOfWork*)
5.) Annual_faculty_promotions.WebUI.Controllers.AccountController
6.) Instance of Annual_faculty_promotions.WebUI.Controllers.AccountController
7.) Container.GetInstance(Annual_faculty_promotions.WebUI.Controllers.AccountController)

حتی به StructureMap هم اینترفیس IEmailService رو معرفی کردم.
ioc.For<IEmailService>().Use<EmailService>();

ممنون میشم کمک کنید
نظرات مطالب
طراحی افزونه پذیر با ASP.NET MVC 4.x/5.x - قسمت سوم
اگر در تزریق وابستگی به مثال رسمی Identity در ساختار پروژه جاری که به صورت یک پلاگین جدا در نظر گرفته شود ظاهرا با مشکلاتی مواجه خواهیم شد .
همه مباحث گفته شده در این بحث و همچنین بخش تزریق وابستگی به مثال رسمی Identity  در نظر گرفته شده است ولی با پیغام خطای زیر مواجه شده ام.
No default Instance is registered and cannot be automatically determined for type 'Microsoft.Owin.Security.DataProtection.IDataProtectionProvider'

There is no configuration specified for Microsoft.Owin.Security.DataProtection.IDataProtectionProvider

1.) new ApplicationUserManager(*Default of IUserStore<AppUser, Int32>*, *Default of IApplicationRoleManager*, *Default of IDataProtectionProvider*, *Default of IIdentityMessageService*, *Default of IIdentityMessageService*, *Default of IUserService*)
2.) PPU.Plugin.Accounting.Service.ApplicationUserManager
3.) Instance of PPU.Plugin.Accounting.Service.Contract.IApplicationUserManager (PPU.Plugin.Accounting.Service.ApplicationUserManager)
4.) new HomeController(*Default of IApplicationUserManager*, *Default of IApplicationSignInManager*, *Default of IAuthenticationManager*, *Default of IProfileService*, *Default of IUserService*, *Default of IUnitOfWork*)
5.) PPU.Plugin.Accounting.Areas.Account.Controllers.HomeController
6.) Instance of PPU.Plugin.Accounting.Areas.Account.Controllers.HomeController
7.) Container.GetInstance(PPU.Plugin.Accounting.Areas.Account.Controllers.HomeController)

اشتراک‌ها
ویژگی های جدید dotNET Core 2.1

Earlier this week, Microsoft published the roadmap for .NET Core 2.1, ASP.NET Core 2.1 and EF Core 2.1, expected to be out in the first quarter of 2018. The team also talked about several new features with this new release. This release is more of a feedback-oriented release based on .NET Core 2.0 release. The.NET Core 2.0 is a huge success and already more than half a million developers are now using .NET Core 2.0. All thanks to .NET Standard 2.0 release . In this post find out about the new features of .NET Core 2.1. 

ویژگی های جدید dotNET Core 2.1
اشتراک‌ها
نگاهی به راه‌حل‌های موجود پیاده سازی سیستم احراز هویت مرکزی در برنامه‌های دات‌نتی
Securing Modern .NET Core App

Table of Contents:

OAuth 2.0
OpenID Connect
OAuth 2.0 & OpenID Connect: Interplay and Usage
.NET OpenIddict & .NET IdentityServer, How Similar are they?
- OAuth 2.0 Implementation and supported features
- OIDC Implementation and supported features
.NET OpenIddict & .NET IdentityServer, How Different are they?
- OpendictId
- IdentityServer
- Choosing between them
IAM
- Keycloak
- OpenIAM
- Choosing Between OpenIAM and Keycloak
DIF
نگاهی به راه‌حل‌های موجود پیاده سازی سیستم احراز هویت مرکزی در برنامه‌های دات‌نتی