AD Authentication for a cloud solution

Corporate users prefer to use the corporate identity to access their applications irrespective of the hosting platform. With the increase in cloud adoption, many of the applications moved from on-premises to cloud with different access right implementations. Active Directory Federation Services (ADFS) implementation resolved the issue for certain level.

New Azure based AD along with Directory allow the user to work seamlessly across different cloud solutions like Office 365, Visual Studio Online, Azure, and so on.

Ad Authentication for a cloud solution

Ad Authentication for a cloud solution

Directory integration can be set up in different ways

  1. Directory Sync: synchronize on-premises directory objects to cloud. Users will use different user name and password to access resources in cloud and on-premises
  2. Directory Sync with Password Sync: directory object along with password will be synchronized to cloud based AD. Users will use the same credentials to access the resources in cloud as well as in on-premises
  3. Directory Sync with Single Sign-On: Set up a security token service like ADFS in on-premises. This will allow the user to use the AD corporate credential to access resources in cloud and on-premises

There are many directory integration tools available like Azure Active Directory Synchronization tool (DirSync), Azure Active Directory Synchronization Services (AAD Sync) and Forefront Identity Manager 2010 R2. AAD Connect is a single tool, which help the entire process of directory sync. This tool is in public preview release now.

 

Posted in Azure, Visual Studio | Tagged , , | Leave a comment

TFS 2013 Work Item Custom Controls

TFS provides set of controls to customize the work items like Bug, testcase, and so on. Built-in controls are limited in number and functionality and often require new controls to support the project or organization specific requirements.

TFS provides lot of extensibility points to develop new custom controls for web access and Visual Studio. I have published set of custom controls which can address the common requirements of TFS work item customization to GitHub. Currently the collection consists of three web access controls and one Visual Studio control. I will be adding new controls to the collection.

Please refer the collection at https://github.com/ambilykk/tfswitcustomcontrols

Please let me know your suggestion of improvements and also new generic control requirements.

Posted in General | Tagged | Leave a comment

Smart Unit Test for Smart Developers

One of my nightmare on development of new application is the creation of unit tests which cover all the code paths and provide a code coverage of more than 98%. Creation of unit tests matching all code paths and binding the same with proper test data occupy most of our time. This may not be the case with those who use unit test frameworks instead of using Visual Studio. As a Microsoft technology lover, it is hard for me to switch to any other unit test platform.

Now, MS is addressing my pain point by introducing the Smart Unit Test as part of Visual Studio 2015. Smart Unit test feature explores the .NET code and generate test data along with set of unit tests. Smart Unit Test perform a case analysis on each statement to generate unit tests, which provide maximum code coverage.

Creation of smart unit test as simple as opening a class file, right click on the method for which you need to generate the unit test and select Smart Unit Tests option from context menu. This will generate set of unit tests along with test data. We can save the unit tests and test data as a regression suit for future regression testing.

Smart Unit for Smart Developers

Smart Unit for Smart Developers

Posted in Visual Studio 2015 | Tagged , | 2 Comments

Responsive Design Testing – BrowserStack

Are you developing a web application based on RWD or responsive web design? How you are planning to test the same across multiple devices?

RWD based web applications needs to be tested across different browsers and devices. We may able to achieve different browser testing by installing the browsers in one system itself. Still, we may not able to use the different versions of a single browser like IE 9 and IE 11. Moreover, we need to test the web application across multiple devices.

Single solution for all the issues and challenges related to Responsive Design Testing – BrowserStacka cross browser, device testing tool. Leverage the power of BrowserStack for your next responsive web application testing.

Responsive Design Testing - BrowserStack

Responsive Design Testing – BrowserStack

See more details at http://www.browserstack.com/responsive

Posted in HTML5, IE, Load Test | Tagged | Leave a comment

.NET Portable Library

We have been developing most of the dependent components as libraries in .Net stack. For developing a library, we use normally the Class Library project template and build it a .Net dll; which can be used by other applications too. This class library concept evolved over the years and added the flavour of Portability now. We have a new library template available in .Net for developing libraries, which can be shared across Windows, Windows Phone and Silverlight. This new project type is called Portable Class Library.
Next time, when you plan to develop a new library, consider the Portable class library and decide the option depends on future road map of the project.
For creating a new portable class library, select the Class Library (Portable) option from the new Project window in Visual Studio

11

This will open the target platform list, from where you can select the target platforms and framework versions

12 13

Posted in C#, Visual Studio 2012, Visual Studio 2013 | Tagged | Leave a comment