[Raspberry Pi 2] Create C# Background Application for Windows 10 IoT Core

18
Comments
[Raspberry Pi 2] Create C# Background Application for Windows 10 IoT Core

In this article,  we will see how to create simple Web Server for Raspberry Pi 2 running Windows 10 IoT Core. Because it is a Web Server we don't need UI for this application, we can run it in headless mode. Open Visual Studio 2015 RC and create Windows IoT Core Background Application solution. Now we need a web server. This will be simple one. It will always response with "Hello, World!" string. internal class WebServer { private const uint BufferSize = 8192; public void Start() { StreamSocketL...

Read further...

[Raspberry Pi 2] Enable Headless Mode on Windows 10 IoT Core

0
Comments
[Raspberry Pi 2] Enable Headless Mode on Windows 10 IoT Core

If you want to run your application as a service (without UI) on Windows 10 IoT Core you first need to switch your device to the headless mode. First, let's connect to your Raspberry Pi 2 with a Power Shell, so then we can execute commands remotely on the device. Run PowerShell as an Administrator Start WinRM service to enable remote connections: net start WinRM Add your Raspberry Pi 2 in a trusted device list: Set-Item WSMan:\localhost\Client\TrustedHosts -Value <IP Address> Disable psrea...

Read further...

[vNext] ASP.NET 5 Automatic Migrations with Fluent NHibernate

0
Comments
[vNext] ASP.NET 5 Automatic Migrations with Fluent NHibernate

As I said in the previous article, I am gonna tell you about Automatic migrations with NHibernate and Fluent NHibernate in ASP.NET 5 applications. Automatic migrations is a really powerful feature, but you should be also really careful with it. Sometimes it might corrupt your schema or even data. Now back to ASP.NET 5 and migrations. I have already explained how to install and configure Postgresql with NHibernate. To enable automatic migrations you need to modify configuration a bit: private sta...

Read further...

[BlueStacks] How to kill process after exit

4
Comments
[BlueStacks] How to kill process after exit

In BlueStacks version 0.9.24, after you close emulator from a tray menu it will stay in a system as a background process. It might slow down your host system. To properly close BlueStacks you need to run c:\Program Files (x86)\BlueStacks\HD-Quit.exe  To speed up this process, create a shortcut on desktop and use it to close your BlueStacks instance.

Read further...

[ASP.NET 5] Production Ready Web Server on Linux. Kestrel + nginx

9
Comments
[ASP.NET 5] Production Ready Web Server on Linux. Kestrel + nginx

You can run ASP.NET 5 applications on Linux using kestrel web server. This is development web server, so it has limited functionality. But sometimes you need more functions, for example, https or virtual hosts support. Today we will see how to configure a system, so you can access your application through a domain name. First, you need ASP.NET 5 environment up and running.  You can use my article to install and configure everything, but it's a bit outdated, so it's better to use official documen...

Read further...

[Fix] "VT-x is not available. (VERR_VMX_NO_VMX)" in VirtualBox

33
Comments
[Fix]

Sometimes you can get "VT-x is not available. (VERR_VMX_NO_VMX)" error if you are trying to start x64 bit virtual machine in VirtualBox. Failed to open a session for the virtual machine Windows 10 TP. VT-x is not available. (VERR_VMX_NO_VMX). Result Code: E_FAIL (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6} There are three most common reasons for this error: Your CPU doesn't support VT-x or AMD-V virtualization VT-x or AMD-V is not enabled in BIOS (UE...

Read further...

Speedup Unity3d development with SSD

5
Comments
Speedup Unity3d development with SSD

I was wondering if I move my Unity3d project from HDD to SDD, how it will improve performance? There are two possible cases. First, if you already have your system  (with Unity3d editor) installed on SSD (I hope you do) and a second case is when you have only HDD (I hope you will buy SSD asap). To figure that out I made some simple tests I took a first computer with OS and programs installed on SSD and run all tests on a project which was located on HDD, then I moved the project to the SSD drive...

Read further...

[How-to] Remove BlueStacks Ads (Sponsored Apps Popup)

29
Comments
[How-to] Remove BlueStacks Ads (Sponsored Apps Popup)

If you are annoyed by BlueStacks Ads banner, here are couple of ways to remove it from BlueStacks. If you have BlueStacks version  0.9.24, 0.9.25 and higher:     Open Windows command prompt (cmd.exe) Run command "c:\Program Files (x86)\BlueStacks\HD-Adb.exe" shell Then execute: /system/xbin/bstk/su And then: pm disable-user com.bluestacks.s2p Alternative solution: Start BlueStacks Open Root Explorer Navigate to: /data/downloads Remove file S2P.apk If you have BlueStacks older...

Read further...

[Fixed] How-to recover iPhone from "Unicode of Death" SMS

0
Comments
[Fixed] How-to recover iPhone from

As you probably know, you can send special SMS to the iPhone and after that this iPhone will be "dead". Not actually dead, recipient's UI system will crash, he will see a black screen for a while. After that, message app will be not working anymore. This is working not only with an SMS, but with other applications that can send push notifications. There is a defect in some UI elements in iOS which cause this crash if they want to display one latin, two Arabic, two Marathi and one Chinese symbol...

Read further...

C# 6.0 Detailed Overview Of The New Features

0
Comments
C# 6.0 Detailed Overview Of The New Features

C# 6.0 has a lot of great new features, which save developer's time and make code more clean and short. At the conclusion of the C# 6.0 series let's go through the whole list of the new C# 6.0 features again (all titles are active). Each article contains detailed explanation of the particular feature with resulted IL code and "old-school" way of doing the same things. String Interpolation var a = 1.2345; Console.WriteLine($"test {a}"); Console.WriteLine($"test {a} {a} {a}");...

Read further...