.NET Core Data Protection One of the main benefits of building a new .NET project using .NET Core is cross platform deployment, however, IIS will still be a common home for ASP.NET Core web applications. In netcore 2.0 MVC applications, a transparent feature that is configured during app Startup is Data Protection. Data Protection provides … Continue reading "[SOLVED] Using…
Read Article
Running Nginx and PHP-FPM is a pretty great setup for the most part. One thing we’ve struggled with on occasion however are some problems with unclear error messages and non-obvious solutions. One of those instances involved the following generic error message in the nginx logs: 500 Internal Server Error,readv() failed (104: Connection reset by peer) … Continue reading "500 Internal…
Read Article
Google Volley is awesome. If you’re an Android developer and you’ve done AsyncTask and HttpClient stuff (and there is no avoiding it), prepare for a huge relief once you get up and running with Volley. All of the leg work has been handled for you when it comes to managing the threads, dealing with a … Continue reading "Setting up…
Read Article
As an avid internet connoisseur you’ve likely seen Google’s notorious “Danger: Malware Ahead” warning that curbs traffic, kills profit and effectively shuts down a site for Chrome users. So how does it happen? Well, at any given moment, your website is being scoped and probed by malicious robots on the other side of the planet. These bots, … Continue reading "Hacked? Here’s…
Read Article
Sorting values on the server side is usually pretty trivial. There are a lot of tools at your disposal, not the least of which is the data query itself. When it comes to sorting an element on the front end however, it can sometimes take a little bit of clever data value usage to accomplish … Continue reading "How to…
Read Article
Error handling and feedback for AJAX requests can be a tedious undertaking for JavaScript heavy web applications. Often the AJAX functions are spread out in your code and, if you’re like me, you may put off error handling until late in the game. In a significant web project we’re wrapping up, we were struggling to … Continue reading "Global AJAX…
Read Article
While ASP.NET MVC has a powerful routing engine for handling requests, there can be a scenario when you need to process a list of specific URL rewrites in your application. Often this can be due to a new version of an existing site going live where the URL structure has changed. Under Apache, this can … Continue reading "How to…
Read Article
I’ve written previously on how to handle AJAX requests for Internet Explorer but recently we came across a strange issue where the requests were being aborted by IE before the response was finished being delivered. Using Fiddler and Firebug, we were able to see that the request was being made properly, and even the response … Continue reading "Internet Explorer…
Read Article
Update: March 2013 This method of retrieving timeline data from Twitter is going to be shut down very soon. Please see my follow up article on the death of the Twitter API v1 for more details on why it will no longer be possible to use JavaScript for the Twitter API. Twitter. For better or … Continue reading "How to…
Read Article
There comes a time when your once fast server needs to be replaced with a superior machine. In fact, this time comes fairly often for system administrators these days. Around here, our developers are also our system admins, so time is at a premium. This means that we stretch the lives our our servers as … Continue reading "Migrating a…
Read Article