استفاده از فایل csv برای مقدار دهی اولیه‌ی جداول با استفاده از EF
200, OK
https://www.davepaquette.com/archive/2014/03/18/seeding-entity-framework-database-from-csv.aspx icon

protected override void Seed(SeedingDataFromCSV.Domain.LocationContext context)
{
    Assembly assembly = Assembly.GetExecutingAssembly();
    string resourceName = "SeedingDataFromCSV.Domain.SeedData.countries.csv";
    using (Stream stream = assembly.GetManifestResourceStream(resourceName))
    {
        using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
        {
            CsvReader csvReader = new CsvReader(reader);
            csvReader.Configuration.WillThrowOnMissingField = false;
            var countries = csvReader.GetRecords<Country>().ToArray();
            context.Countries.AddOrUpdate(c => c.Code, countries);
        }
    }

    resourceName = "SeedingDataFromCSV.Domain.SeedData.provincestates.csv";
    using (Stream stream = assembly.GetManifestResourceStream(resourceName))
    {
        using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
        {
            CsvReader csvReader = new CsvReader(reader);
            csvReader.Configuration.WillThrowOnMissingField = false;
            while (csvReader.Read())
            {
                var provinceState = csvReader.GetRecord<ProvinceState>();
                var countryCode = csvReader.GetField<string>("CountryCode");
                provinceState.Country = context.Countries.Local.Single(c => c.Code == countryCode);
                context.ProvinceStates.AddOrUpdate(p => p.Code, provinceState);
            }
        }
    }
}

یک کتابخانه مرتبط: EntityFramework.Seeder

استفاده از فایل csv برای مقدار دهی اولیه‌ی جداول با استفاده از EF
چهارچوبی برای توسعه نرم افزارهای تحت وب چند مستاجری با ASP.NET Core و EF Core
302, Found
https://www.finbuckle.com/Blog/8/introduction-finbuckle-multitenant icon

Finbuckle.MultiTenant

Finbuckle.MultiTenant is an open source framework for multitenant support in ASP.NET Core 2.0+ applications. Check out the GitHub repository for source code and samples or to provide feedback and suggestions. 

چهارچوبی برای توسعه نرم افزارهای تحت وب چند مستاجری با ASP.NET Core و EF Core
خودکارسازی فرآیند اعمال GlobalQueryFilter در EF Core
200, OK
https://dzone.com/articles/global-query-filters-in-entity-framework-core-20-1 icon

Entity Framework Core 2.0 introduces global query filters that can be applied to entities when a model is created. It makes it easier to build multi-tenant applications and support soft deleting of entities. This blog post gives a deeper overview of how to use global query filters in real-life applications and how to apply global query filters to domain entities automatically. 

خودکارسازی فرآیند اعمال GlobalQueryFilter در EF Core
تجربیاتی مفید در رابطه با طراحی و مدیریت رویدادهای دوره ای
301, MovedPermanently
https://medium.com/@ScullWM/design-and-manage-recurring-events-fb43676e711a icon

Manage events entities is pretty easy. You define few informations like a subject, a content, and maybe the most important, dates (a start and a end date of course).
You’re ready to create calendar or timeline features. Baooom! Now you need to be able to create recurrent event ! And everything is going to break.
I’ve work on this kind of feature, and here are my small advices 

تجربیاتی مفید در رابطه با طراحی و مدیریت رویدادهای دوره ای
روش صحیح استفاده از ASP.NET Identity، بدون وابستگی Domain و سایر لایه ها به آن
301, MovedPermanently
http://timschreiber.com/2015/01/28/persistence-ignorant-asp-net-identity-with-patterns-part-4/ icon

The Problem

What they neglect to say is all that testability and persistence ignorance flies right out the window when you create a new ASP.NET Web Application using the MVC template and "Individual User Accounts" authentication. What you get is a single-layered application, tightly coupled to Entity Framework, that:

  • Ignores the patterns that facilitate testing, including: the repository pattern, unit of work pattern, and dependency injection;

  • Forces you to implement their IUser interface in your application’s User entity, thereby coupling it to ASP.NET Identity;

  • Eliminates any clear separation between your entities, persistence concerns, and business logic. Persistence ignorance? Forget about it.

Thankfully, due to the extensibility designed into ASP.NET Identity, it is possible to ditch the reference to the Microsoft.AspNet.Identity.EntityFramework assembly and write a custom implementation that can address these and other architectural issues. Just be forewarned: it is not a trivial undertaking, and you’ll have to put up with some code smell that is baked into the Microsoft.AspNet.Identity.Core assembly. 

روش صحیح استفاده از ASP.NET Identity، بدون وابستگی Domain و سایر لایه ها به آن
رویداد: بررسی روال‌های مدیریت پروژه‌های نرم‌افزاری در TFS، الگوهای Agile, Scrum, CMMI
200, OK
https://evand.com/events/37512531 icon

زمان برگزاری: پنج‌شنبه ۳۱ فروردین ۱۳۹۶ ساعت ۰۹:۳۰-۱۱:۳۰

در این جلسه به بررسی روال‌های مدیریت پروژه‌های نرم‌افزاری در TFS و با تمپلیت‌های Agile, Scrum, CMMI خواهیم پرداخت، تا تیم‌های نرم‌افزاری متناسب با مختصات و نیازمندی‌های خودشون تمپلیت مناسب رو انتخاب و مورد استفاده قرار بدهند.

تفاوت‌ها، الزامات و بومی‌کردن فرایند‌های انجام پروژه هم مورد بررسی قرار می‌گیره و روی Team Foundation Server 2017.1 هم کار خواهیم کرد.

مخاطب این دوره مدیران توسعه نرم‌افزار، برنامه‌نویس‌های ارشد می‌باشد و محدود به توسعه‌دهندگان مبتنی بر تکنولوژی‌های مایکروسافتی «نیست»! لذا این جلسه برای توسعه‌دهندگان اندروید یا iOS یا لینوکس نیز می‌تواند مفید باشد. 

رویداد: بررسی روال‌های مدیریت پروژه‌های نرم‌افزاری در TFS، الگوهای Agile, Scrum, CMMI