VS 2015 + Bower: Does not work behind firewall

Same problem using VS 2015, my workaround : Install Git http://git-scm.com/ Configure Git to use http instead of git:// with Git Bash git config –global url.”http://”.insteadOf git:// Edit (as pointed by g.pickardou) you can use https to be more secure: git config –global url.”https://”.insteadOf git:// Configure VS to use the new installed Git over VS … Read more

How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)

Unfortunately Boost documentation is quite verbose because it tries to take care of all OS and environments. Also, it skips over some time saving details. Here’s quick steps specifically for VS2015 with Boost 1.61. First, let’s understand that Boost is huge library with lots of contributors. Consequently, all of the Boost code is divided in … Read more

How to use Windows Active Directory Authentication and Identity Based Claims?

Just hit AD with the username and password instead of authenticating against your DB // POST: /Account/Login [HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] public async Task<ActionResult> Login(LoginViewModel model, string returnUrl) { if (ModelState.IsValid) { var user = await UserManager.FindByNameAsync(model.UserName); if (user != null && AuthenticateAD(model.UserName, model.Password)) { await SignInAsync(user, model.RememberMe); return RedirectToLocal(returnUrl); } else { ModelState.AddModelError(“”, “Invalid username … Read more

Visual Studio 2015 with Update 2 – ‘The Scc Display Information package did not load correctly’

This is caused if you have certain MSSCCI-based SCC providers installed. You can check your registry’s HKLM key: SOFTWARE\WOW6432Node\SourceCodeControlProvider If this key is present, that’s likely causing the problem. Proper Fix Install the fix from KB3151378. New installations of VS 2015 Update 2 after 4/11/2016 automatically include this fix and no manual installation of a … Read more

Garbage Collection and Parallel.ForEach Issue After VS2015 Upgrade

This indeed performs excessively poorly, the background GC is not doing you favor here. First thing I noted is that Parallel.ForEach() is using too many tasks. The threadpool manager misinterprets the thread behavior as “bogged down by I/O” and starts extra threads. This makes the problem worse. Workaround for that is: var options = new … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)