Блогомарафон v2.0. Статистика. Результаты. Выводы

0
Comments
Блогомарафон v2.0. Статистика. Результаты. Выводы

Вот и закончился блогомарафон v2.0. Не просто было 30-ть дней подряд писать по одной статье, но я справился :) С результатами марафона можно ознакомиться по тегу блогомарафон. Теперь пришло время проанализировать результаты, сделать небольшие выводы и поделиться впечатлениями. Первое что приходит в голову после месяца написания статей, порой очень тяжело найти тему для очередного поста. Ну просто не реально тяжело. Не особо хочется просто копипастить чужие статьи, хочется написать о чем-то интер...

Read further...

[ASP.NET 5] Production Ready Web Server on Linux. Run Kestrel In The Background

3
Comments
[ASP.NET 5] Production Ready Web Server on Linux. Run Kestrel In The Background

In the previous article we have installed nginx as a "gate" for our ASP.NET 5 application. Today we will see how to start kestrel server in the background. We will do even more, we will create init.d script to control our APS.NET 5 application and start it on  the system's startup. The simplest way to start kestrel in the background from console: nohup k kestrel & But if you want to start your application at the system's startup you need init.d script. Eventually, we will have following comm...

Read further...

[Fix] Error "Status: 0xc00000e9" in Windows 7, Windows 8, Windows 10

0
Comments

You might get this error during booting or while installing a new version of Windows. Error code 0xc00000e9 refers to an unexpected I/O error. Usually, it is caused by damaged HDD, so first what you should do is to check you Hard Drive. You can use standard Windows CHKDSK or Linux ntfsfix. Load from Windows or Linux live USB and use those utilities to check you HDD. The other possible solution: Turn off computer Disconnect all USB devices Try to boot or install windows again And one more option:...

Read further...

AdSense Consultation. How It Works

0
Comments
AdSense Consultation. How It Works

Recently I've got an email from Publisher Monetization Specialist from Google. I was surprised. Why me? I've just registered in the Google AdSense, my blog is not so popular, why specialist from google decided to contact me? We've arranged a phone call to talk about my account and the monetization of my site. After that, I've googled if it's a common thing to got such email from Google, and I found out that they select existing or new accounts almost randomly and help publishers to increase thei...

Read further...

C# 6.0 await in catch/finally

2
Comments
C# 6.0 await in catch/finally

C# 6.0 become more asynchronous-friendly than before. Finally, you can use await keyword in catch and finally blocks! Here is example: class Program { static void Main(string[] args) { do { Console.WriteLine("Before caller " + Thread.CurrentThread.ManagedThreadId); CallerMethod(); Console.WriteLine("After caller " + Thread.CurrentThread.ManagedThreadId); } while (Console.ReadKey().Key != ConsoleKey.Q); } public static async void CallerMethod() { try { throw new Exception(); }...

Read further...

[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

12
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

34
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...