Coder Blog Blog

0

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...

465 total views, 14 views today

0

Pass values from backend controller to Javascript

There are many of times we need to pass data from backend controller to javascript, in ASP.NET MVC, we can use @VariableName to get backend variable, but this just for that case you write...

332 total views, 8 views today

0

Dynamic to generate menu items with MVCSiteMapProvider

The MVCSiteMapProvider is powerful and can generate the site map menu from xml, but sometime you may want to dynamic to generate the menu by user access rights, in this time we can use...

329 total views, 10 views today

0

Customizing authentication in MVC

Introduction 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...

321 total views, 7 views today

0

How to setup and restart the cron job on a Synology NAS

Under normal circumstances, we can use the schedule app for run our script or jobs in Synology NAS, but I found that seem not works when I set the schedule for execute by every...

348 total views, 7 views today

0

How to create and download file with Ajax in ASP.NET MVC

Introduction When you use the Ajax call in ASP.NET MVC, you just can return a JSON object but not a file, if you want to do that, you need to create and save the file in server and return it’s path to Ajax, after that, you can call a redirect link for download the file, because this is a temp file, so you should need to delete it after download. 372 total views, 11 views today

372 total views, 11 views today