[vNext] Install ASP.NET 5 (DNX) on Ubuntu

10
Comments
[vNext] Install ASP.NET 5 (DNX) on Ubuntu

ASP.NET MVC application on Linux? Easy! As you may know, Microsoft recently released a lot of their products under MIT license. .NET Core runtime, .NET CoreFX, ASP.NET 5, MVC 6, Entity Framework 7, MSBuild, everything is now available on GitHub. Our goal is: run Asp.Net MVC application with postgresql database on ubuntu server Today we are gonna start with setting up .NET environment. In the new asp.net stack you can choose between full .NET runtime and .NET Core. For now .NET Core has a lot of...

Read further...

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

1
Comments

I got this error after installing Visual Studio 2015 CTP 6 with Windows Phone 8.1 emulator. Sometimes  you can get this error if you turned off VTx or AMDv in bios. So, first things to do is: make sure that Virtualization is enabled in bios. Next - turn off Hyper-V. After installing Visual Studio with emulator it automatically turn Hyper-V on. And, apparently, Virtual Box cannot work together with Hyper-V. Run cmd.exe as administrator Execute command dism /online /disable-feature /featurename:Mi...

Read further...

[How-to] Record sound in .NET application

0
Comments

First import mciSendStringA from winmm.dll: [DllImport("winmm.dll", EntryPoint = "mciSendStringA", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] private static extern int mciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback); To start recording: mciSendString("open new Type waveaudio Alias recsound", null, 0, 0); mciSendString("set recsound time format ms bitspersample 16 channels 2 samplespersec...

Read further...