PC camera capture in WPF application

Sometimes we require PC camera to be captured from within a WPF application. Achieving this is not a daunting task. Few open source  and commercial library are available in the market that help us achieve this.

AForge is one such library. Attached is a sample WPF application using AForge.

Sample WPF application zip



U-SQL project template in Visual Studio

Those who have worked with Microsoft Azure Data lake know the use U-SQL. For others you can read a good definition here:
What is U-SQL
It is possible to create U-SQL project in Visual studio. For that you must have Azure SDK already installed on your machine. Once there you need tool Microsoft.Azure.DataLakeAndStreamAnalyticsToolsForVS2015.msi from location:
Microsoft Azure Data Lake and Stream Analytics Tools for Visual Studio

for blog

After success install of this tool you can open Visual studio and you will find new entry for the corresponding project and template.

Visual Studio 2015 Known issues and Bugs

As a .Net developer Visual studio is a must tool for all us. I was keen to find the list of all possible known issues/ bugs and possible work around in 2015.

Here is the path: https://msdn.microsoft.com/en-US/library/mt584216.aspx

Assumed that it lists the issues/ bugs and possible work around for all the releases of 2015.

So next time when you face a problem in Visual studio 2015, do visit this link and possibly you will find the solution.



if you found it useful, do Like it please 🙂

Code Metrics in Visual Studio

Out of box Visual Studio comes with facility to judge the Code quality. Below 5 metrcis can be checked in VS.
Maintainability Index,
Cyclomatic Complexity,
Depth of Inheritance,
Class Coupling, and
Lines Of Code (LOC).

Depth of Inheritance, Class Coupling are Design metrics.

In the industry more than 20 metrics exist to validate the code. LCOM4 is important of all such.

How Visual Studio Understand Code written in its editor?

Ever wondered how Visual Studio come to know that a class has been created?
How Code editor understand if a function or a property or a namespace has been created?

The CodeDOM provides types that represent many common types of source code elements. You can design a program that builds a source code model using CodeDOM elements to assemble an object graph. This object graph can be rendered as source code using a CodeDOM code generator for a supported programming language. The CodeDOM can also be used to compile source code into a binary assembly.

Some common uses for the CodeDOM include:

Templated code generation: generating code for ASP.NET, XML Web services client proxies, code wizards, designers, or other code-emitting mechanisms.

Dynamic compilation: supporting code compilation in single or multiple languages.

For full article go to: