Measuring code coverage of .NET Core applications with Visual Studio 2017

Posted by Anuraj on Wednesday, January 17, 2018

.NET Core Code coverage Visual Studio

This post is about Measuring code coverage of .NET Core applications with Visual Studio. Test coverage is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs. A program with high test coverage, measured as a percentage, has had more of its source code executed during testing which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage.

Building Progressive Web apps with ASP.NET Core

Posted by Anuraj on Monday, January 8, 2018

ASP.NET Core PWA Progressive Web App

This post is about building Progressive Web Apps or PWA with ASP.NET Core. Progressive Web App (PWA) are web applications that are regular web pages or websites, but can appear to the user like traditional applications or native mobile applications. The application type attempts to combine features offered by most modern browsers with the benefits of mobile experience.

How to launch different browsers from VS Code for debugging ASP.NET Core

Posted by Anuraj on Monday, January 1, 2018

ASP.NET Core VSCode Debugging

This post is about launching different browsers from VSCode, while debugging ASP.NET Core. By default when debugging an ASP.NET Core, VS Code will launch default browser. There is way to choose the browser you would like to use. Here is the code snippet which will add different debug configuration to VS Code.

Runtime bundling and Minification in ASP.NET Core with Smidge

Posted by Anuraj on Wednesday, December 20, 2017

ASP.NET Core Bundling Minification Smidge

This post is about enabling bundling and minification in ASP.NET Core with Smidge. Long back I wrote a post about bundling and minification in ASP.NET Core. But it was during the compile time or while publishing the app. But Smidge helps you to enable bundling and minification in runtime similar to earlier versions of ASP.NET MVC.

Connecting Localdb using Sql Server Management Studio

Posted by Anuraj on Wednesday, December 20, 2017

Sql Server LocalDb SSMS

This post is about connecting and managing SQL Server LocalDB instances with Sql Server Management Studio. While working on an ASP.NET Core web application, I was using LocalDB, but when I tried to connect to it and modifying the data, but I couldn’t find it. Later after exploring little I found one way of doing it.

Unit Testing ASP.NET Core Tag Helper

Posted by Anuraj on Monday, December 11, 2017

ASP.NET Core Unit Testing Tag Helper

This post is about unit testing an ASP.NET Core tag helper. Tag Helpers enable server-side code to participate in creating and rendering HTML elements in Razor files. Unlike HTML helpers, Tag Helpers reduce the explicit transitions between HTML and C# in Razor views.

Implementing feature toggle in ASP.NET Core

Posted by Anuraj on Thursday, December 7, 2017

ASP.NET Core Feature Toggle

This post is about implementing feature toggle in ASP.NET Core. A feature toggle(also feature switch, feature flag, feature flipper, conditional feature, etc.) is a technique in software development that attempts to provide an alternative to maintaining multiple source-code branches (known as feature branches), such that a feature can be tested even before it is completed and ready for release. Feature toggle is used to hide, enable or disable the feature during run time. For example, during the development process, a developer can enable the feature for testing and disable it for other users.
BMC logoBuy me a coffee

Copyright © 2018 - Anuraj P. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Hosted with ❤ by GitHub