News
1,163 articles
Adding custom Actions and Filters to your WordPress blog
One of the most interesting features of the WordPress platform is the Hook capability, which can be easily used to any developer in order to add new features to themes and plugin. There are two distinct types of Hooks: Actions and Filters. For a complete
2 min readPHP & WinCache: a GUI to display statistics and usage info
If you installed WinCache on your web server (hopefully thanks to our previously posted guide) and you would like to know more about what’s happening behind the curtains, you can install this neat script to show all the WinCache caching mechanics & features fetched through
1 min readPHP: How to install WinCache on IIS to improve performances
The most crippling bottleneck for many PHP-based software is almost always related to memory consumption. The PHP command interpreter does an excellent job for any low-traffic website, but when your Wordpress blog (or Joomla! commercial website) jumps out of the unknown and really starts to
4 min read
ASP.NET - MantainScrollPositionOnPostback for Chrome and most recent browsers
To keep (or to say it better, to recover) the page scrollbar position after a postback is definitely a feature any form-containing page should have. This used to be a trival task for any ASP.NET developer, who could just by add a simple configuration parameter
2 min read
VMware 10 and Windows Update KB2995388: Not enough physical memory available
Windows 8.1 users who installed VMware 10 (Player or Workstation) and periodically keeps their system up to date with the Windows Update feature will most likely ran into the following “Not enough physical memory” issue when starting a Virtual Machine: The reason for this error
1 min readAndroid SDK: when Eclipse hangs on "Resolving error markers" or "Android SDK Content Loader"
Any Android developers who chose to not adopt Android Studio and continue using Eclipse will eventually face the dreadful problem of the workspace not loading properly. The most common jobs who tend to get stuck are: Android SDK: Resolving error markers… and Android SDK Content
2 min read
Allow the download of APK files within IIS (avoiding 404 errors)
When you’re developing an Android App you’ll most likely want to give someone – the customers and/or beta-testers, colleagues, etc – an URL pointing to an .APK file not (yet) present in the Google Store Market. Since the vast majority of web servers (including IIS)
2 min read
HTTP Basic Authentication with ASP.NET MVC using a custom ActionFilter
A common-case scenario during the development of an ASP.NET MVC web application is the need to restrict the access to some web resources to authenticated users only. If our application features an authentication system based on ASP.NET Membership framework (like the ASP.NET Membership Provider or
3 min readConfigure MySQL to handle camel case (or case sensitive) table names
The default settings provided with the Win32 and Win64 builds of MySQL enforce a strict lowercase conversion for all the table and database names. This feature can be annoying for those working with auto-generated code tools (such as Entity Framework) because all the entities will
2 min read
ASP.NET: Setup a MVC5 website with MySQL, Entity Framework 6 Code-First and VS2013
The new features available in EF6 allow any developer to build a simple DB-powered website with very few lines of code. There are many tutorials explaining how to do that with SQL Express available on the web, but those who want (or are forced) to
7 min readASP.NET MVC: How to set global ViewBag properties and have them available in each View
When you’re building a website featuring a whole lot of Views you most likely end up setting a lot of variables & properties in each and every ViewBag object: some common examples are stuff like IsAdmin, IsAuthenticated, AvatarURL and similar tropes. When such situation arises,
2 min read