نظرات مطالب
ASP.NET MVC #18
مورد بالا رفع شده هست ولی اخیر موردی که پیش آمده این هست گاهی دوباره همین اتفاق میفته به عنوان مثال روی یکی از سیستم‌ها (ویندوز 8.1) این مشکل چند وقت پیش برای فایرفاکس رخ داد که فقط اینترنت اکسپلورر پاسخ صحیح میداد که البته فردای آن روز چنین چیزی رخ نداد.

و بعد از چند روز مجددا روی یک سیستم دیگر (ویندوز 10) برای فایرفاکس و کروم این مشکل رخ داد در صورتی که مرورگرهای مایکروسافت قادر به لاگین هستند.
اشتراک‌ها
معرفی ASP.NET 5

The first preview release of ASP.NET 1.0 came out almost 15 years ago.  Since then millions of developers have used it to build and run great web applications, and over the years we have added and evolved many, many capabilities to it. 

I'm excited today to post about a new release of ASP.NET that we are working on that we are calling ASP.NET 5.  
معرفی ASP.NET 5
اشتراک‌ها
ASP.NET Core 2.2.0-preview1 منتشر شد

What’s new in 2.2

We’re publishing a series of posts here that go over some of the new feature areas in detail. We’ll update the post with links to these posts as they go live over the coming days:

  • API Controller Conventions
  • Endpoint Routing
  • Health Checks
  • HTTP/2 in Kestrel
  • Improvements to IIS hosting
  • SignalR Java client 
ASP.NET Core 2.2.0-preview1 منتشر شد
اشتراک‌ها
کتاب Readings in Database Systems, 5th Edition

Readings in Database Systems (commonly known as the "Red Book") has offered readers an opinionated take on both classic and cutting-edge research in the field of data management since 1988. Here, we present the Fifth Edition of the Red Book — the first in over ten years. 

کتاب Readings in Database Systems, 5th Edition
نظرات مطالب
متدی برای بررسی صحت کد ملی وارد شده
سلام. من کدتون رو بهینه و بازنویسی کردم. خوشحال می‌شم تست کنید ببینید رفتار کد عوض نشده باشه:
public static bool IsValidIranianNationalCode(string input)
{
    // input has 10 digits that all of them are not equal
    if (!System.Text.RegularExpressions.Regex.IsMatch(input, @"^(?!(\d)\1{9})\d{10}$"))
        return false;

    var check = Convert.ToInt32(input.Substring(9, 1));
    var sum = Enumerable.Range(0, 9)
        .Select(x => Convert.ToInt32(input.Substring(x, 1)) * (10 - x))
        .Sum() % 11;

    return sum < 2 && check == sum || sum >= 2 && check + sum == 11;
}
در regex از negative lookahead استفاده شده که بررسی‌شه هر ده عدد یکی نباشن، از Substring استفاده‌شده که با توجه به پیاده‌سازی کلاس String به نظر من خیلی بهنیه هست، پرانتزها هم حذف شدند چون بدون پرانتز با توجه به اولویت عملگرها همان معنی را می‌دهد.
اشتراک‌ها
تمرین‌های SQL نویسی

The lost art of writing SQL queries
I noticed that most (junior) developers no longer are able to write anything but the most trivial SQL queries.  Time to fix that! 

تمرین‌های SQL نویسی
اشتراک‌ها
معرفی OpenJDK ساخت مایکروسافت

Today we are excited to announce the general availability of the Microsoft Build of OpenJDK, a new no-cost distribution of OpenJDK that is open source and available for free for anyone to deploy anywhere.  

معرفی OpenJDK ساخت مایکروسافت
اشتراک‌ها
پیشنهادهایی برای تغییرات قوانین دسترسی به اینترنت در اروپا

3. Article 12a: No posting your own photos or videos of sports matches. Only the "organisers" of sports matches will have the right to publicly post any kind of record of the match. No posting your selfies, or short videos of exciting plays. You are the audience, your job is to sit where you're told, passively watch the game and go home. 

پیشنهادهایی برای تغییرات قوانین دسترسی به اینترنت در اروپا