اشتراک‌ها
مدیریت بدون کاغذ با OneNote 2016
OneNote makes your paper notebooks, index cards, and sticky notes obsolete, taming the “paper jungle” and raising your note taking to a whole new level. Microsoft OneNote 2016 makes taking notes a paperless activity, helping you become more organized, more productive, and more persuasive with your ideas than ever before.
مدیریت بدون کاغذ با OneNote 2016
اشتراک‌ها
اعتبارسنجی IOptions توسط کتابخانه MiniValidation

In this post I described the problem that by default, DataAnnotation validation doesn't recursively inspect all properties in an object for DataAnnotation attributes. There are several solutions to this problem, but in this post I used the MiniValidation library from Damian Edwards. This simple library provides a convenience wrapper around DataAnnotation validation, as well as providing features like recursive validation. Finally I showed how you can replace the built-in DataAnnotation validation with a MiniValidation-based validator

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddOptions<MySettings>()
    .BindConfiguration("MySettings")
    .ValidateMiniValidation() // 👈 Replace with mini validation
    .ValidateOnStart();

var app = builder.Build();
OptionsValidationException: 
  DataAnnotation validation failed for 'MySettings' member: 'Nested.Value' with errors: 'The Value field is required.'.; 
  DataAnnotation validation failed for 'MySettings' member: 'Nested.Count' with errors: 'The field Count must be between 1 and 100.'.
Microsoft.Extensions.Options.OptionsFactory<TOptions>.Create(string name)
Microsoft.Extensions.Options.OptionsMonitor<TOptions>+<>c__DisplayClass10_0.<Get>b__0()


اعتبارسنجی IOptions  توسط کتابخانه MiniValidation
اشتراک‌ها
Unit Testing در AngularJS

JavaScript is a dynamically typed language which comes with great power of expression, but it also comes with almost no help from the compiler. For this reason we feel very strongly that any code written in JavaScript needs to come with a strong set of tests. We have built many features into Angular which make testing your Angular applications easy. With Angular, there is no excuse for not testing. 

Unit Testing در AngularJS
اشتراک‌ها
تغییر نام و همچنین مجوز استفاده از jqGrid

- از این پس jqGrid به «Guriddo jqGrid JavaScript» تغییر نام می‌یابد.
- مجوز سورس باز و رایگان قبلی آن به «Creative Commons Attribution-NonCommercial 3.0 License» تغییر خواهد یافت. یعنی همچنان سورس باز است؛ اما دیگر رایگان نیست و مجوز استفاده‌ی تجاری از آن، باید خریداری شود.
- سایت جدید آن guriddo.net خواهد بود.

تغییر نام و همچنین مجوز استفاده از jqGrid
اشتراک‌ها
کتاب رایگان Eloquent JavaScript

Licensed under a Creative Commons attribution-noncommercial license. All code in this book may also be considered licensed under an MIT license 

کتاب رایگان Eloquent JavaScript
اشتراک‌ها
ویژگی های ویژوال استدیو
Come to hear the future of Visual Studio. This session will illustrate how Visual Studio is evolving demo by demo. We’ll show you the latest capabilities to enable any developer to build any apps. We’ll provide a preview of the streamlined acquisition experience for the next release of Visual Studio. You will see the cutting edge features we are working on to bring your productivity to the next level. We’ll even provide a back stage peek into how we’re using your feedback to continuously improve Visual Studio.
 
ویژگی های ویژوال استدیو
نظرات اشتراک‌ها
GitHub هم ایران را تحریم کرد
گویا نظر GitHub، در مورد ایران تغییر کرده، اون پیام تحریم برداشته شده و امکان حذف مخزن رو دارم ولی مخزن خصوصی نمیشه ساخت.