Category Archives: Web

Issue with System.Net.Http 4.2.0.0 not found

Recently I got next error when executing application on remote server: System.IO.FileNotFoundException occurred Message=Could not load file or assembly ‘System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.   On local PC all worked fine. Same version of .net framework was installed on local development pc and remote.… Read More »

5 cents hint – Dump and restore MySQL database on WAMP server

For backing up and restoring MySQL database on WAMP server no fancy tools are needed. Out of the box command line tools will do all you need: Dump database : [path to wamp mysql bin directory]\bin\mysqldump -u[user]-p[password] [database name] > [destination file] For example C:\wamp64\bin\mysql\mysql5.6.17\bin\mysqldump -uroot -p mydatabase > c:\temp\mydatabase.sql   And restoring same thing back: [path to wamp… Read More »

HTTP Error 404.3 while browsing wcf service

How to fix HTTP Error 404.3 – Not Found error  while browsing wcf service on Windows Server 2012 R2 Symptoms :   Solution: From the Server Manager, click on Add roles and features   Select the appropriate server Then select Features. Under .NET Framework 4.5 Features, you’ll see WCF Services, and under that, you’ll find… Read More »

c# – Windows File Explorer extension for creating url shortcuts – Part 2

In previous post we stated extension for creating url shortcuts. Now it is time to create actual file explorer menu items and get the basics working. First let’s create small class what will deal with needed registry entries. Creating contect menu items is quite simple, just two entries in registry.   using Microsoft.Win32; using System.Windows.Forms; namespace… Read More »

c# – Windows File Explorer extension for creating url shortcuts – Part 1

I like to save interesting websites as file system shortcuts in OneDrive directiory. It works nice using New->Shortcut in file explorer, but there is room for improvement. In first part we will look how to fetch website info and create url shortcut and in second will convert prepared code to file explorer extension. Development is easier using… Read More »

C# Application Launcher with autoupdate. Part 1

Today we start article about application launcher with autoupdate feature. By default Visual Studio offers ClickOnce publishing. It has lot of nice features with all kind bells  and whistles. But there area also some shortcomings like hardcoded url for update and install, no option to have simultaneously installed multiple versions of same application, no option to pass… Read More »