Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Visual Studio Tips and Trips: II
Visual Studio Tips and Trips: II
Visual Studio Tips and Trips: II
Ebook150 pages32 minutes

Visual Studio Tips and Trips: II

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Visual Studio .NET is one of the most versatile and extensible programming tools released by Microsoft. Unlock the secrets of Visual Studio—learning tips and shortcuts for optimizing the editor, search, navigation, windows layouts, and other capabilities. The number of features and shortcuts available in VS.NET is truly immense, and it grows tremendously with each release.

“Visual Studio Tips and Tricks” is written analyzing nearly every feature in the core environment—unearthing the tips and tweaks that streamline work and maximize efficiency and is packed with helpful examples and progresses through a range of topics that gradually increase in their complexity.
Developers who are unaware of these timesaving features surely miss out on opportunities to increase their programming productivity and effectiveness. “Visual Studio Tips and Tricks” explains how to use VS.NET efficiently. Get practical insights into how IDE features work, and how to quickly adapt them for any programming language.

Organized into short and easy-to-grasp sections, and containing tips and tricks on everything from editing and compiling to debugging and navigating within the VS.NET IDE, this book is a must-read for all .NET developers, regardless of expertise and whether they program in C#, VB.NET, or any other .NET language.
Specifically, it will provide you with solid guidance and education that will allow you to squeeze the ultimate productivity and use out of the Visual Studio development environment. This book folds in real-world development experience with detailed information about the IDE to make you more productive and ease transition from other development environments. This book demonstrates the new features of the IDE, including code snippets, refactoring, and patterns.
Keywords – Visual Studio, .NET, .NET 4.0, Tips and Tricks, C#, Debugging, XAML, CodeLens, Productivity tool, Editor, Xamarin, Windows, Profiler, Tasks, Phone, Mobile, Visual Studio 2010, Visual Studio 2013, Visual Studio 2015

LanguageEnglish
Publishermeetcoogle
Release dateApr 16, 2018
ISBN9781370251391
Visual Studio Tips and Trips: II

Read more from Priyanka Agarwal

Related to Visual Studio Tips and Trips

Related ebooks

Software Development & Engineering For You

View More

Related articles

Reviews for Visual Studio Tips and Trips

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Visual Studio Tips and Trips - Priyanka Agarwal

    Using CodeLens to display the Application Insights Exception Telemetry in Visual Studio

    You can now leverage the CodeLens to display the Exception telemetry inside Visual Studio. Application Insights Exception details now can be accessible and display via CodeLens in Visual Studio. As long as you are connected with Application Insights, the CodeLens exception indicator will display the count of exception and details for each method over the past 24 hrs.

    When there is no exception, it will show count as 0 along with time elapsed from the last request time to get the exception details (Queried ago).

    Using CodeLens to display the Application Insights Exception Telemetry

    Exception details will be displayed as the red color Application Insights exception indicators.  Tooltip window also categorized the type of exception and display the count of each of category.

    Using CodeLens to display the Application Insights Exception Telemetry

    We can find the details of exception or tread either by each category or all of them together.

    Using CodeLens to display the Application Insights Exception Telemetry

    Following images shows the trends of all exception using Application Insights Trends tool.

    Explore Telemetry Trends using Application Insights Trends Tool in Visual Studio

    All in all this is very useful and quick access to your exception information.

    Quickly add a reference to a NuGet packages in Visual Studio 2015

    With the recent updates of Visual Studio 2015 (Update 3 RC), we can now install and add references for Nuget Packages as part of quick fix light bulb.  Likewise, adding references from installed assemblies, Visual Studio now also suggests Nuget Packages for references for the specific types. Then you can install and refer the latest version automatically or take help of package manager to install specific versions for the same Nuget Package.

    Consider an example of using JSON.NET in your application, where either we do install the packages from Package Manager, Package Manager Console. Now, with the Visual Studio updates, the yellow light bulb also suggests for quick fix to add and install Newtonsoft.Json nuget package.

    Quickly add a reference to a NuGet packages in Visual Studio 2015

    You can select "Find and Install latest version" which will install the Nuget references in solution explorer, also refer the same in the file.

    Quickly add a reference to a NuGet packages in Visual Studio 2015

    In case you select "Install with Package Manager", Visual Studio will open the Package Manager with Newtoksoft.Json as search item. Here you can select specific versions to

    Enjoying the preview?
    Page 1 of 1