New JSON Serialization
In 3.0-preview5, ASP.NET Core MVC adds supports for reading and writing JSON using System.Text.Json. The System.Text.Json serializer can read and write JSON asynchronously, and is optimized for UTF-8 text making it ideal for REST APIs and backend applications.
Open source MVVM framework for ASP.NET Core and OWIN
View
@viewModel DotvvmDemo.CalculatorViewModel, Dotvvm <p> Enter the first number: <dot:TextBox Text="{value: Number1}" /> </p> <p> Enter the second number: <dot:TextBox Text="{value: Number2}" /> </p> <p> <dot:Button Text="Calculate" Click="{command: Calculate()}" /> </p> <p> The result is: {{value: Result}} </p>
ViewModel
using System; namespace DotvvmDemo { public class CalculatorViewModel { public int Number1 { get; set; } public int Number2 { get; set; } public int Result { get; set; } public void Calculate() { Result = Number1 + Number2; } } }
احراز هویت (Identity) در ASP.Net Core با استفاده از بانک اطلاعاتی Redis
برای انتقال جداول احراز هویت (Identity) از SQL Server به بانک اطلاعاتی
Redis و نحوه استفاده از آن در ASP.Net Core از سورس نمونه در لینک بالا استفاده کنید.
همچنین میتوانید از پکیج Aguacongas.Identity.Redis استفاده کنید.
برای انتقال جداول احراز هویت (Identity) از SQL Server به بانک اطلاعاتی
MongoDB و نحوه استفاده از آن در ASP.Net Core از سورس نمونه در لینک بالا استفاده کنید.
همچنین میتوانید از پکیج AspNetCore.Identity.Mongo استفاده کنید.
The first version of ASP.NET was released 17 years ago and during these years, it is fascinating to see how the ASP.NET team constructively reacted through these years to the major shifts happening on the web. Initially a platform that was closed and tried to hide and abstract the web; ASP.NET has metamorphized into an open source and cross platform - one that fully embraces the nature of the web. This is the first part of a series of 3 articles that will cover the history of ASP.NET from its launch to the latest ASP.NET Core releases.