-
Continue reading →: What is the different between Session and CookieIn 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,…
-
Continue reading →: How to deploy softwareI 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…
-
Continue reading →: nvarchar(n) vs nvarchar(max) performance in MS-SQL ServerYesterday, I received a question about the difference between nvarchar(n) and nvarchar(max). NVARCHAR(N) First of all, What is nvarchar(n)? nvarchar [ ( n | max ) ] Variable-length Unicode string data. n defines the string length and can be a value from 1 through 4,000. max indicates that the maximum…
-
Continue reading →: Session vs Cookie/Token based authenticationTL;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.…
-
Continue reading →: In 2017, Chrome marks HTTP pages as non-secureAccording 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…
-
Continue reading →: ASP .NET Core, phần 1 giới thiệu .NET CORERấ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…





