Simple Static Websites using Azure Blob service
This post is about hosting a static website on Azure Blob service. To enable online presence, most of the small business will setup a Wordpress blog. A fully functional WordPress site is great, however most websites are pretty static and don’t really need all the bells and whistles that come...
Working with dependencies in dotnet core
This post is about working with nuget dependencies and project references in ASP.NET Core or .NET Core. In earlier versions of dotnet core, you can add dependencies by modifying the project.json file directly and project references via global.json. This post is about how to do this better with dotnet add...
.editorconfig support in Visual Studio 2017
This post is about .editorconfig support in Visual Studio 2017. EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. As part of productivity improvements in Visual Studio, Microsoft introduced support for .editorconfig file in Visual Studio 2017. Unlike earlier versions, Visual Studio 2017 comes with...
Live Unit Testing in Visual Studio 2017
This post is about Live Unit Testing in Visual Studio 2017. With VS2017, Microsoft released Live Unit Testing. Live Unit Testing automatically runs the impacted unit tests in the background as you edit code, and visualizes the results and code coverage, live in the editor. This feature is only available...
Create a dotnet new project template in dotnet core
This post is about creating project template for the dotnet new command. As part of the new dotnet command, now you can create Empty Web app, API app, MS Test and Solution file as part of dotnet new command. This post is about creating a Web API template with Swagger...
What is new in Visual Studio 2017 for web developers?
This post is about new features of Visual Studio 2017 for Web Developers. The new features inclues ASP.NET Core tooling, CSProj support, Migration option from project.json to csproj, client side debugging improvements etc. ASP.NET Core Tooling As part of the release, Microsoft released the RTM version of ASP.NET Core Tooling....
Create an offline installer for Visual Studio 2017
This post is about building an offline installer for Visual Studio 2017. On March 7th 2017, Microsoft introduced Visual Studio 2017. Unlike earlier versions of Visual Studio, Microsoft don’t offer an ISO image. This post will help you to install Visual Studio when you’re offline. First you need to download...
Aspect oriented programming with ASP.NET Core
This post is about implementing simple AOP (Aspect Oriented Programming) with ASP.NET Core. AOP is a programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. It does so by adding additional behavior to existing code (an advice) without modifying the code itself. An example of...
Hosting ASP.NET Core applications on Heroku using Docker
This post is about hosting ASP.NET Core applications on Heroku using Docker. Heroku is a cloud Platform-as-a-Service (PaaS) supporting several programming languages that is used as a web application deployment model. Heroku, one of the first cloud platforms, has been in development since June 2007, when it supported only the...
How to use Log4Net with ASP.NET Core for logging
This post is about using Log4Net with ASP.NET Core for implementing logging. The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent Apache log4j™ framework to the Microsoft® .NET runtime. We have kept...