How to install Debian on Synology NAS

Debian is a free operating system (OS) that comes with over 29000 packages, and below description is from the wiki: Debian¬†(/ňąd…õbi…ôn/[4]¬†or¬†/ňąde…™bi…ôn/)[5]) is a¬†Unix-like¬†computer¬†operating system¬†that is composed entirely of¬†free software, most of which is under the¬†GNU General Public License¬†and packaged by a group of individuals participating in the Debian Project. The Debian Project was first announced in 1993 by¬†Ian Murdock, Debian...

Customizing authentication in MVC

If you want to develop a web application which requires authentication or security features not included in the regular ASP.NET membership feature, you might decide to implement these features yourself. But it seems as if the first instinct of many ASP.NET MVC developers is to do this by customizing their Controllers, but I will share you a better way that uses an attribute for that. We can inherit a System.Web.Mvc.AuthorizeAttribute for do that. You can specifies that access to a controller or action method is restricted to users who meet the authorization requirement.