Tags » Visual Studio

Zeroing Memory is Hard (VC++ 2015 arrays)

Quick, what’s the difference between these two C/C++ definitions of initialized local variables?

char buffer = { 0 };
char buffer = {};

One difference is that the first is legal in C and C++, whereas the second is only legal in C++.

1,152 more words
Programming

Realtime MVC ModelState errors during debugging

While working on my most recent ASP.NET MVC project, I was having a tough time figuring out why my ModelState was invalid. It was due to the fact that I set the error messages to “Required” or “Invalid” for ALL of my model properties (to support the way the view presents the error messages). 223 more words

Visual Studio

Compiler Bugs Found When Porting Chromium to VC++ 2015

Moving a big software project to a new compiler can be a lot of work, and few projects are bigger than Chromium. In addition to the main Chromium repository, which includes all of… 2,120 more words

Programming

Browser Sync in Visual Studio

One may use Browser Sync node plugin in order to keep multiple browsers & devices in sync when building websites.

Installation:
Javascript

Bower Error - fatal: unable to connect to github.com

If you come across below mentioned issue while installing client side packages like jquery, angular etc using bower.

I type below command:

bower install angular --save… 74 more words
Javascript

Using Protractor for E2E testing of AngularJS application in Visual Studio

GitHub Repository:  GitHub Link

Protractor is an end-to-end test framework for AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.Integrating Protractor for AngualrJS application in Visual Studio needs some configuration. 1,894 more words

Javascript

Execute Protractor Test in parallel on different browser

In conf.js, You already have attribute named as ‘capabilities‘, You can set it to ‘chrome’ or ‘firefox’ or whatever I need and it runs just as expected. 36 more words

Javascript