I have just found this website: http://highscalability.squarespace.com/ At this site, you can learn more about high scalability web application, real-life scaling strategy... Happy coding!
In Web programming, HTTP is stateless, so that by default HTTP won't allow you to share user's data across pages. Cookie and Session is the most basic technique of storing persistent data across page loads for a web visitor. There are much other storage like local storage, session storage, Indexed SQL, Web SQL, and more in … Continue reading What is the different between Session and Cookie
I have just read a post from Zach Holman about the software deployment. In his blog, he mention about how to deploy a software, to make our work be stress-free: "Your deploys should be as boring, straightforward, and stress-free as possible" There is no step-by-step guidance but He give us a good approach about to getting a … Continue reading How to deploy software
Yesterday, I received a question about the difference between nvarchar(n) and nvarchar(max). Why don't we always use nvarchar(max)? Are nvarchar(n) and nvarchar(max) different in performance ? Are nvarchar(n) and nvarchar(max) different in storage size ? First of all, What is nvarchar(n)? nvarchar [ ( n | max ) ] Variable-length Unicode string data. n defines the string … Continue reading nvarchar(n) vs nvarchar(max) performance in MS-SQL Server
TL;DR Session based authentication could be more secure but Token based authentication is faster and much easier to implement in mobile application. And You can implement Web-Farm with Token based easier than using Session. Session based authentication vs Token based authentication The introduction: You know that, HTTP is stateless protocol. Each request as an independent … Continue reading Session vs Cookie/Token based authentication
According to Google Security Blog, Beginning in January 2017 (Chrome 56), we’ll mark HTTP pages that collect passwords or credit cards as non-secure, as part of a long-term plan to mark all HTTP sites as non-secure. So, Since January 2017 If your HTTP pages contain password/credit card field, Chrome will marks them as non-secured. This is … Continue reading In 2017, Chrome marks HTTP pages as non-secure
Rất vui được gặp các bạn tại phần đầu tiên của series ASP .NET Core. Tại phần này mình sẽ không đề cập nhiều về việc lập trình, mình chỉ nói sơ qua hoàn cảnh và "sứ mệnh lịch sử" của .NET Core cũng như kiến trúc tổng quát của nền tảng này. Hoàn cảnh lịch sử … Continue reading ASP .NET Core, phần 1 giới thiệu .NET CORE