Virtual event – Connect 2015
Interesting upcoming virtual event “Connect 2015” @ nov 18’th by Microsoft. Microsoft Connect 2015 Look most forward for the subject at day 2 “Building apps with .NET – ASP.NET & .NET Core”.
Interesting upcoming virtual event “Connect 2015” @ nov 18’th by Microsoft. Microsoft Connect 2015 Look most forward for the subject at day 2 “Building apps with .NET – ASP.NET & .NET Core”.
Tried to call a SP via Entity framework (DBContext) but got a exception that parameter is not supplied. My call looked like: context.Database.ExecuteSqlCommand(“NameOfSP”, new SqlParameter(“@param1”, 1), new SqlParameter(“@param2”, DateTime.Now), new SqlParameter(“@param3”, “test”)); The right call should look like: context.Database.ExecuteSqlCommand(“NameOfSP @p1,…
I’ve upgraded to Windows 10 for about a month ago. After the update the Arial font seems really strange in some Windows forms and browsers. I.e in Chrome it looks like this: This problem isn’t existing in Firefox so…
Create a menu option with background image with only css. On hover change opacity for the background image. Without affecting the text color. .mainMenu .option { width: 374px; height: 248px; display: inline-block; border: 1px solid #d0d0d0; vertical-align: top; margin: 2px…
Got message access denied when trying to get new updates in Android SDK Manager. Solution was to navigate to the android-sdk folder (default on my computer was C:\Program Files\Android\android-sdk) right click on “SDK Manager.exe” and choose Run as Administrator and…
A friend has tried to call me couple of times but has come to the voice mail every time. SMS didn’t work either. Called the operator but no luck there. Has also tried to restart the phone a couple of…
Did a silly mistake when I updated a MVC website the other day. I did some css and html changes but that didn’t seem to be updated when I hit F5 in the browser. It only become updated when I…
Unable to process the type ‘ClassName[]’, because it has no known mapping to the value layer. Problem shows when trying to assign a null value to a IEnumerable<> , like: var test = context.Where(x => x == 1) .Select(x =>…
Made a time execution comparison between a usual syncronous, asynchronous and a threaded method call with delegates. //Declare delegate public delegate void DelGetList(List<int> lista, string tName); //Create delegate handler DelGetList delReporter = ReportList; //Init method private void Init() { TestThreads();…
public void Test(Color foreColor = Color.Black) doesn’t work (error message Default parameter value for ‘parameter’ must be a compile-time constant) beacause Color.Black isn’t a constant value (Color is a struct). Solution: public void Test(Color? foreColor = null)
Checkout the new MVC!
Arbetat med en app till korkortsteori.se och suttit hela dagen och fäktats med en mobilapp skapad med Phonegap / Cordova. Uppgraderade Cordova till version 3.6.4 samt plugins’en (datepicker, childbrowser och progressdialog). Men vid start poppar felmeddelandet: [Error] Error initializing Cordova…