REDMOND, Wash. —June 4, 2018—Microsoft Corp. on Monday announced it has reached an agreement to acquire GitHub, the world’s leading softwareh development platform where more than 28 million developers learn, share and collaborate to create the future. Together, the two companies will empower developers to achieve more at every stage of the development lifecycle, accelerate enterprise use of GitHub, and bring Microsoft’s developer tools and services to new audiences.
https://github.com/Vintharas/angular2-step-by-step-01-your-first-component https://github.com/Vintharas/angular2-step-by-step-02-refactoring-to-services https://github.com/Vintharas/angular2-step-by-step-03-your-second-component-and-data-bindings https://github.com/Vintharas/angular2-step-by-step-04-routing https://github.com/Vintharas/angular2-step-by-step-05-forms-and-validation https://github.com/Vintharas/angular2-step-by-step-06-consuming-real-data-with-http
نگارش نهایی SQL Server 2016 منتشر شد
Today we announced the general availability of SQL Server 2016, the world’s fastest and most price-performant database for HTAP (Hybrid Transactional and Analytical Processing) with updateable, in-memory columnstores and advanced analytics through deep integration with R Services. Software applications can now deploy sophisticated analytics and machine learning models in the database resulting in 100x or more speedup in time to insight, compared to deployments of such models outside of the database.
برگزاری dotnetConf 2016
Immerse yourself in the world of .NET and join our live stream for 3 days of free online content June 7 - 9 featuring speakers from the .NET Community and Microsoft product teams.
Learn to develop for web, mobile, desktop, games, services, libraries and more for a variety of platforms and devices all with .NET! We'll have presentations on .NET Core and ASP.NET Core, C#, F#, Roslyn, Visual Studio, Universal Windows Platform (UWP), Xamarin, and much more.
In short, we’re making Xamarin’s cross-platform tools available in
Visual Studio, from Community up through Enterprise at no additional
cost and we’re open-sourcing the Xamarin SDK – the core of the Xamarin
toolchain. In addition, we’re making Xamarin’s services (for example,
Test Cloud and Xamarin University) available along with the existing
Microsoft mobile DevOps capabilities.
https://blog.xamarin.com/xamarin-for-all/?utm_medium=social&utm_campaign=blog&utm_source=twitter&utm_content=xamarin-for-all
فرآیند رندر شدن در Angular2
معرفی WebHook ها
Introducing Microsoft ASP.NET WebHooks Preview
ASP.NET WebHooks Documentation
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; var builder = WebApplication.CreateBuilder(args); builder.Services.AddSingleton<BigCacheConsumer>(); builder.Services.AddSingleton<SmallCacheConsumer>(); builder.Services.AddKeyedSingleton<IMemoryCache, BigCache>("big"); builder.Services.AddKeyedSingleton<IMemoryCache, SmallCache>("small"); var app = builder.Build(); app.MapGet("/big", (BigCacheConsumer data) => data.GetData()); app.MapGet("/small", (SmallCacheConsumer data) => data.GetData()); app.Run(); class BigCacheConsumer([FromKeyedServices("big")] IMemoryCache cache) { public object? GetData() => cache.Get("data"); } class SmallCacheConsumer(IKeyedServiceProvider keyedServiceProvider) { public object? GetData() => keyedServiceProvider.GetRequiredKeyedService<IMemoryCache>("small"); }
EF Code First #15
Install-Package Pomelo.EntityFrameworkCore.MySql
"ConnectionStrings": { "MariaDbConnectionString": "server=localhost;user id=root;password=root;database=aspnetcore.mariadb" }
public void ConfigureServices(IServiceCollection services) { services.AddDbContextPool<ApplicationDbContext>(options => options .UseMySql( Configuration.GetConnectionString("MariaDbConnectionString"),MariaDbServerVersion.AutoDetect(Configuration.GetConnectionString("MariaDbConnectionString")) ) ); }
Services.AddScoped<SomeCustomType>(); [Route("[controller]")] [ApiController] public class MyController : ControllerBase { // Binding from the services [HttpPost] public ActionResult Post(SomeCustomType service) => Ok(); }
services.Configure<ApiBehaviorOptions>(options => { options.DisableImplicitFromServicesParameters = true; });