اشتراک‌ها
مقایسه‌ای کوتاه بین ABP Framework و DNTFrameworkCore

In this post, I want to compare “DNTFrameworkCore” with “ABP Framework”.


ABP is one of most popular and well documented frameworks with high level abstraction that I learned a lot from it. It has many other features that I don’t list them in this post, because, DNTFrameworkCore has not them actually. Behind of ABP, there is a team. It has 123 contributors in GitHub. Also, all of features have related unit-tests.

In other side, DNTFrameworkCore is lightweight with low level abstraction. It is personal open-source project without any contributor and has unit-tests for small part. 

I wrote this post to prove that thinking behind of DNTFrameworkCore completely different from ABP (at least in most sections)  

مقایسه‌ای کوتاه بین ABP Framework و DNTFrameworkCore
اشتراک‌ها
TFS 2015 Update 2.1منتشر شد

You can install Update 2.1 on top of Update 2 or upgrade directly to Update 2.1 from previous versions (Update 1, TFS 2015 RTM, TFS 2013 and any of its Updates, TFS 2012 and any of its Updates, TFS 2010). 

TFS 2015 Update 2.1منتشر شد
اشتراک‌ها
8 ویژگی جذاب Angular

I've been doing some work the last couple of weeks with Angular2. I really like it. Not just because it uses typescript, but also because it feels really natural and straightforward while working with it. No more string based dependency injection, or strange digest cycle stuff, it just seems to work. This last week I've migrated our beta-13 Angular app to the latest rc-1, and used that to keep track of the fun and easy stuff Angular 2 provides. Note though, that the application we're developing is really that complex, so I can only assume we'll run into more complex Angular2 features in the near future. For now, though, let me share some general tips and tricks we've encountered thus far (in no particular order). Oh, all examples are in typescript, since after using that, I really don't want to go back to plain old javascript (POJS?). 

8 ویژگی جذاب Angular
اشتراک‌ها
BenchmarkDotNet v0.10.13 منتشر شد

BenchmarkDotNet v0.10.13 has been released! This release includes:

  • Mono Support for DisassemblyDiagnoser: Now you can easily get an assembly listing not only on .NET Framework/.NET Core, but also on Mono. It works on Linux, macOS, and Windows (Windows requires installed cygwin with obj and as). (See #541)
  • Support ANY CoreFX and CoreCLR builds: BenchmarkDotNet allows the users to run their benchmarks against ANY CoreCLR and CoreFX builds. You can compare your local build vs MyGet feed or Debug vs Release or one version vs another. (See #651)
  • C# 7.2 support (See #643)
  • .NET 4.7.1 support (See 28aa94)
  • Support Visual Basic project files (.vbroj) targeting .NET Core (See #626)
  • DisassemblyDiagnoser now supports generic types (See #640)
  • Now it's possible to benchmark both Mono and .NET Core from the same app (See #653)
  • Many bug fixes (See details below) 
BenchmarkDotNet v0.10.13 منتشر شد
اشتراک‌ها
5.Visual Studio 2017 15.9 منتشر شد

These are the customer-reported issues addressed in 15.9.5:

Security Advisory Notices

5.Visual Studio 2017 15.9 منتشر شد
نظرات مطالب
مقابله با XSS ؛ یکبار برای همیشه!
معادل HtmlCleaner ایی که در این مطلب مطرح شده برای NET Core.

ابتدا بسته‌ی نیوگت DNTCommon.Web.Core را نصب کنید:
PM> Install-Package DNTCommon.Web.Core
سپس به فایل appsettings.json، تنظیمات تگ‌ها و ویژگی‌های مجاز را اضافه کنید. این تنظیمات باید در فایل آغازین برنامه خوانده شوند.
پس از آن یک نمونه مثال از IAntiXssService آن‌را جهت تمیزسازی قطعه HTML دریافتی، در اینجا می‌توانید مشاهده کنید.
نظرات مطالب
انجام کارهای زمانبندی شده در برنامه‌های ASP.NET توسط DNT Scheduler
یک نکته‌ی تکمیلی
- این پروژه در GitHub قرار گرفت. در اینجا
- بسته‌ی نیوگت آن‌را نیز به این صورت می‌توانید نصب کنید:
Install-Package DNTScheduler
چند مورد اصلاحیه در این بسته هست:
- تعریف صحیح الگوی singleton در آن
- همچنین می‌توانید public override Task RunAsync را نیز برای زمانیکه نیاز است از متدهای async استفاده کنید، تعریف کنید (از تعریف async void پرهیز کنید).
نظرات مطالب
طراحی افزونه پذیر با ASP.NET MVC 4.x/5.x - قسمت سوم
«Method not found» یعنی مشکل تداخل نگارش‌های مختلف EF را با هم دارید (در یک نگارش و یک پروژه، این متد هست و در دیگری خیر). نحوه‌ی رفع مشکل (با این فرض که EF در هیچ پروژه‌ای به صورت دستی اضافه نشده و حتما از طریق نیوگت اضافه شده‌است):
PM> update-package
اجرای این دستور، تمام تداخلات و عدم هماهنگی‌ها را به صورت یکجا در تمام پروژه‌ها برطرف می‌کند.