Articles
1,163 articles

Windows 7 - Random disconnections of Internet / Web / Network Card? How to fix
A common problem affecting many Windows 7 users is the Network Card Interface disconnection issue, which can happen randomly and results in a sudden loss of Internet access, shared folders, corporate network, and so on. Although the problem can be easily fixed with a hardware
2 min read
How to perform a SOAP Web Service Request in ASP.NET C# without using WSDL, proxy classes or SoapClient
If you are a well-seasoned ASP.NET Web Service developer you most certainly know about the SoapClient class and how it can be used to send SOAP messages using transport-independent protocols using two main methods: The ASP.NET services, which is old way of doing SOA The
4 min read
How to create a SOAP Web Service using ASP.NET WCF, Visual Studio and IIS 8+
As we recently wrote a few weeks ago in this older post, the most appropriate way to create a Web Service SOAP on ASP.NET is, by the end of 2016, to use the WCF Framework (acronym for Windows Communication Foundation): that’s a rather outdated architecture,
7 min read
WCF Web Service on Windows Server 2012 and IIS8 - 404 Error - How to fix
Most recent ASP.NET developers don’t know much about the WCF architecture anymore, despite the decent amount popularity achieved by that framework some years ago: the acronym stands for Windows Communication Foundation, a framework devoted to the development of service-oriented web applications launched by Microsoft several
4 min read
MediaWiki: Convert Pages and Categories to PDF Files with PdfBook extension (and HTMLDOC)
If you own a MediaWiki-based Wiki and you’re looking for a way to transform your pages to PDF files, look no further: the PdbBook extension has (almost) anything you need to do so. It even allows you to transform a whole category into a single
4 min read
C# Random Password Generator for ASP.NET Core & ASP.NET MVC Identity Framework
Yesterday I had to implement a C# method that creates a random generated password in C#. Before committing into it I spent some minutes surfing the web, trying to find something I could use. I stumbled upon this 2006 post from Mads Kristensen, which is
4 min read
Install & Enable AMP Auto Ads by AdSense Labs in Worpdress - How To
If you’re a Google AdSense user you will probably know about AdSense Lab, the incubator hosting those brand-new Ad-based features that aren’t yet ready to be rolled out to all AdSense publishers. The new deal these weeks is called AMP Auto Ads, a new family
3 min read
WordPress - How to perform Search and Replace on whole Database (post, pages, wp_options) using WP plugins or MySQL tools
Those who are frequently working with Worpress often find themselves operating mass-replace tasks throughout the whole WP Database. Such situation most likely arises in the following scenarios: WebSite URL change (from www.url-a.com to www.url-b.com), meaning we have to replace the old one in all of
3 min read
WordPress - How to retrieve all posts from one or more given categories with a SQL query
Today a client asked me to remove all the posts from a given category to the auto-generated XML Sitemap of his Wordpress blog and also redirect these posts to a new website (same slug, different host): here’s a quick report of how I managed to
3 min read
RunningLow - PowerShell script to check for disk space and send e-mail
Today I would like to share with our readers RunningLow, a simple yet effective PowerShell script I coded a while ago to get to know when one of my servers is running low of disk space. Whoever works with physical and/or virtualized Windows Servers is
6 min read
How to fix "MySQL server has gone away", "Packets out of order" and similar MySQL connection errors
If you’re a fond MySQL and/or MariaDB user you most certainly experienced at least one of these common errors: MySQL server has gone away Error reading result set’s header Error executing query MySQL server has gone away for query 2006, MySQL server has gone away
4 min read
WordPress - How to redirect all posts in one or more Categories, having one or more Tags or other custom conditions
Being able to redirect a post to another URL is a common need of any Wordpress-based Web Master: there are a number of good reasons for doing that, such as: splitting your blog, moving a post from a website to another or to a sub-domain,
3 min read