Click here to Skip to main content
16,021,810 members
Articles / Mobile Apps / iOS
Article

Visual Studio Enterprise 2015 Reviewed

Rate me:
Please Sign up or sign in to vote.
4.95/5 (14 votes)
3 Nov 2015CPOL7 min read 24.1K   13   6
This review will dig a little deeper under the hood and show what Visual Studio Enterprise 2015 can do for your development team.

This Review is from our sponsors at CodeProject. These reviews are intended to provide you with information on products and services that we consider useful and of value to developers.

Visual Studio Enterprise 2015

Some of us have come a long way with this IDE. Having worked in other IDE's in the past, I always feel at home when using Visual Studio. While I use it every day of my life, I sometimes wonder if we really know what Visual Studio is capable of. This review will dig a little deeper under the hood and show what Visual Studio Enterprise 2015 can do for your development team.

Account Management

The Visual Studio sign in functionality allows developers to have multiple accounts. This creates a seamless and expanded experience inside Visual Studio Enterprise 2015. You can now have separate accounts for work and home (having a pet project is essential for a developer). Some companies might even have multiple developers working from the same machine. Perhaps you want a separate account for developing and another for testing. The bottom line is that Visual Studio caters to these needs.

Image 1

In the top right of Visual Studio, you will see the sign-in link. If you are not signed in, Visual Studio will allow you to do so by associating your Microsoft account with Visual Studio. Take note though that if you have two-step authentication enabled for your Microsoft account, you will need to have your Authenticator App handy. Visual Studio will then take you through the account creation process and create a new online profile for you. This profile is great as it allows you to roam. Your Visual Studio settings on your home PC will be synced to your Visual Studio instance when you sign in at work for example.

Diagnostic Tools

This is probably my number one favorite enhancement area of Visual Studio Enterprise. Take Intellitrace, for example. It's been around since 2010, but it has so much more relevance and use in Visual Studio Enterprise. One of the most frustrating issues to come across in development is when there is an error (think Windows service or web application) that is difficult to reproduce. The option most developers use is to set breakpoints in areas where they think the exception might be occurring. Then they painfully step through the code one line at a time (or jump between methods) until the error pokes its head out. With Intellitrace, you simply run the application in Debug mode. Intellitrace is on by default and acts as a type of debugging session recorder.

Image 2

While your app is running, you will see your applications events appear in the Diagnostic Tools window. When you are ready, you simply hit the Break All button and inspect the recorded data that Intellitrace collected. You now have a birds eye view of the information collected during the debug session. Exceptions are indicated by red diamond icons. To illustrate the capability of this, I have forced a silly divide by zero exception, but more complex issues will also be highlighted in the Diagnostic Tools window.

Image 3

A good example of a particularly difficult exception to reproduce is one where the application crashes as a result of a specific sequence of events and combination of data read from the production database. You can then easily find these issues in your code with Intellitrace. The Diagnostic Tools then also allow you to activate Historical Debugging for the exceptions. This takes you to the specific line of code that generated the Exception at that point in time. You can then also see the value of the different variables in play at that point in time. This is the easiest way to track exceptions in your applications, and I simply love it!

Cross Platform Mobile Device Support

This is another gem in the repertoire of Visual Studio Enterprise 2015. You can now build apps for a variety of mobile platforms. These are as follows:

  • Windows 10 Apps
  • Windows 8 and Windows 8.1
  • Windows Phone
  • Universal Windows Applications
  • Android
  • iOS

Let us take a quick look at creating an Android application using Apache Cordova. From the New Project screen in Visual Studio, select JavaScript from the Installed Templates and select Apache Cordova Apps.

Image 4

Once the project has been created you will see the solution loaded into the Visual Studio Solution Explorer window. Here are a few items we need to take note of.

Image 5

Looking at the expanded solution (image below) the following is true:

  1. The merges folder holds platform-specific code. By default, the platform-specific code lives in the platformOverrides.js file for Android and Windows respectively.
  2. The res folder is used for platform-specific assets such as icons and splash screens (more on these below).
  3. The index.html file within the www folder is your apps default home screen.
  4. The taco.json file stores metadata that allows Visual Studio to create builds on non-Windows OS'

You will also notice the config.xml file in the project root. This is where you will add configuration settings for your application. If you are a web developer, this will all feel quite familiar.

Image 6

Next, you will notice that the Solution Platforms list is set to Android. It will also use the Ripple Emulator when you debug your application using F5 (or Shift+F5 if you want to start without debugging).

Image 7

If you do not see the Solution Platforms list, select the Add or Remove Buttons dropdown and check Solution Platforms from the list. You will then see the Visual Studio Screen as in the previous image with the available Solution Platforms.

Image 8

Hitting F5 from here without making any changes will start the Ripple Emulator. Please note that the Apache Ripple emulators are available if you chose the Android platform and you have Chrome installed.

Image 9

There is however another option too. If you have Hyper-V enabled on your machine, you can select to run the application using the Google Android Emulator.

Image 10

The emulator takes a little while to start up initially. Once it has booted the OS and launched your application, you will see the default home screen of you application.

Image 11

Closing the application and going to view all your applications on the Android home screen, you will see your Android application. The only problem is that it doesn't have the icon I want to use.

Image 12

Changing this is really easy to do. In the res folder (as mentioned previously) you expand your icons and screens folders. Here you will add your icon and splash screen images under the android folder.

Image 13

Heading over to the config.xml file, you need to modify the settings to reflect the new image file names for each file you uploaded.

Image 14

If you run your application again, you will see that the correct icon is loaded for the device you are testing within the selected emulator.

Image 15

Your application will also use the images you specified as the splash screen.

Image 16

There is really a lot more you can go into here. You can install several plugins from the config screen (just double click on it) and even import community plugins into your application.

Visual Studio Emulator For Android

Visual Studio Enterprise 2015 now also includes a Visual Studio Emulator for Android applications. I have to say that this is my preference, because to me it feels snappier, faster. This is obviously personal choice. Here is how you use it. From the dropdown with Android selected as the platform, change your selection to VS Emulator.

Image 17

When you start your debug session, the Visual Studio for Android emulator is launched. Your common set of controls are listed on the right of the emulator.

Image 18

Clicking on the application's icon launches the application we created. I simply love the experience that the Visual Studio Emulator for Android provides me. The experience is great and it definitely feels faster to me than the others.

Image 19

Conclusion

As you can see, Visual Studio Enterprise 2015 is a fantastic IDE. It offers developers free reign in creating applications for a wide variety of platforms. It makes the development task so much easier by integrating advanced diagnostic and debugging tools. Visual Studio Enterprise 2015 is a world-class development tool for professional developers.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
South Africa South Africa
With over 17 years of experience programming with C# and Visual Studio, I have worked for various companies throughout my career. I have been privileged to work with and learn from some of the most brilliant developers in the industry. I have authored several books on topics ranging from Visual Studio and C# to ASP.NET Core. I am passionate about writing code and love learning new tech and imparting what I know to others.

Comments and Discussions

 
QuestionMy vote for Microsoft is 3 Pin
inlandchris5-Jan-17 5:37
inlandchris5-Jan-17 5:37 
QuestionOn Windows support Pin
Dmitri Nеstеruk6-Feb-16 2:32
Dmitri Nеstеruk6-Feb-16 2:32 
GeneralMy vote of 5 Pin
Humayun Kabir Mamun4-Nov-15 22:26
Humayun Kabir Mamun4-Nov-15 22:26 
PraiseThanks for sharing Pin
Damza3-Nov-15 21:57
Damza3-Nov-15 21:57 
GeneralMy vote of 5 Pin
Farhad Reza3-Nov-15 18:46
Farhad Reza3-Nov-15 18:46 
NiceSmile | :)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.