Post two

Post two

This post is just an example using Post List widget with image in the post body. Post List widget should find first image in the post body and display it in the post list when this option selected in the widget admin.

Welcome to BlogEngine.NET

Welcome to BlogEngine.NET

If you see this post it means that BlogEngine.NET is running and the hard part of creating your own blog is done. There is only a few things left to do. Write Permissions To be able to log in, write posts and customize blog, you need to enable write permissions on the App_Data and Custom folders. If your blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support. If you…

Read More Read More

X2go Server on Ubuntu 15.04

X2go Server on Ubuntu 15.04

X2go is a great way of remotely connecting to a headless Ubuntu server (assuming you’re the type of person that wants to manage Ubuntu graphically). In my case my headless Ubuntu is just a hobbyist’s server and I think it’s cheaper to have one hosted for me, than to pay for the electricity and with the added fire risk of hosting a physical server myself. (Except for disk space considerations).I’ve been using DigitalOcean droplets and I think their control panel…

Read More Read More

Nginx, PHP FPM, try_files and path_info

Nginx, PHP FPM, try_files and path_info

In the post, http://wiki.nginx.org/PHPFcgiExample, the author gives an URL example for testing various parameters, especially PATH_INFO and $fastcgi_path_info. This URL is, http://lemp.test/test.php/foo/bar.php?v=1 (this URL is not a hyperlink and does not work, of course) I was interested to find what Location clause would be necessary to test this on my own server. In my case, I wanted to test in a separate sub-directory, so the test string becomes:- http://mydomain.co.uk/mytest/test.php/foo/bar.php?v=1 (this URL does not work either. It’s intended you construct a…

Read More Read More

DigitalOcean droplet without X running on Console

DigitalOcean droplet without X running on Console

Since my Ubuntu DigitalOcean droplet is for non-serious use I find it useful to have X running so I can use graphical tools to manage it, and I’ve installed LXDE. It works really well. With X2GoServer installed and X2GoClient on my Windows 8.1 laptop, server maintenance is very convenient. Unfortunately, once I installed LXDE, the Console window available via the DigitalOcean web control panel also showed the X server and the lightdm login prompt. This couldn’t be used successful. There…

Read More Read More

A New Hosting Provider since Summer 2013

A New Hosting Provider since Summer 2013

Almost a year without any new posts. How time flies. In the summer last year as my yearly contract with my hosting provider was due for renewal, I noticed that the price for a Virtual Windows Server 2012 had come down considerably. After a month’s trial with Netcetera which went well I decided on AspNetHosting.co.uk. I chose them because they allow me to take up to 5 snapshots of the virtual image, and restore myself on demand. One hosting provider…

Read More Read More

Caliburn.Micro and HelloScreens (WPF and Decoupled)

Caliburn.Micro and HelloScreens (WPF and Decoupled)

Caliburn.Micro has a very useful demo called HelloScreens. The original is available in the samples directory of the sources on CodePlex. Currently it’s a SilverLight 4 xap. Over the years a number of people have made their own versions – there is a Silverlight Decoupled version and two WPF versions. Attached here is a decoupled WPF version. Nothing spectacular, it has separate DLLs for Orders and Customers loaded by MEF and it’s working with Caliburn.Micro 1.4.1 and .Net 4.5. I’ve…

Read More Read More

Caliburn.Micro and SimpleContainer

Caliburn.Micro and SimpleContainer

If you don’t want to use a fully fledged IoC container, then you can use the simple one Caliburn.Micro contains. It’s needed to support the Windows Phone development, but works with WPF, which is my interest.  It’s a source release, and you can get from Nuget, as Caliburn.Micro.Container. Of course, Caliburn.Micro has it’s own direct access to any IoC, like this in a ViewModel ctor:- public ShellViewModel() { windowsmgr = Caliburn.Micro.IoC.Get<IWindowManager>(); } But it makes testing difficult and this direct…

Read More Read More

EventAggregator Comparison Demo

EventAggregator Comparison Demo

Ever since I started using Caliburn.Micro I was puzzled why the EventAggregator used an interface in the ViewModel signature, like this public class ShellViewModel : Screen, IShell, IHandle<YourMessageOne>, IHandle<YourMessageTwo>{} Agreed, the documentation is clear, in that you can Cast to see if the view model supports messaging, and if so automatically subscribe. But is that the only advantage? In the few EventAggregators I describe here it’s the only one using this technique. Anyway, a quick search showed that I was…

Read More Read More