Blog

Blog posts on .NET, Azure, and more.

What is new in Visual Studio 2017 for web developers?

March 09, 2017 by Anuraj

Visual Studio 2017 Visual Studio Web Development

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.

Create an offline installer for Visual Studio 2017

March 08, 2017 by Anuraj

Visual Studio 2017 Visual Studio

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.

Aspect oriented programming with ASP.NET Core

February 24, 2017 by Anuraj

ASP.NET Core AOP

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 crosscutting concerns is “logging,” which is frequently used in distributed applications to aid debugging by tracing method calls. AOP helps you to implement logging without affecting you actual code.

Hosting ASP.NET Core applications on Heroku using Docker

February 22, 2017 by Anuraj

ASP.NET Core Heroku 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 Ruby programming language, but now supports Java, Node.js, Scala, Clojure, Python, PHP, and Go. Heroku doesn’t support .NET or .NET Core natively, but recently they started supporting Docker. In this post I am using Docker to deploy my application to Heroku, there is build pack option is also available (Build Pack is the deployment mechanism which is supported by Heroku natively.), but there is no official build pack for .NET available yet.

How to use Log4Net with ASP.NET Core for logging

February 18, 2017 by Anuraj

ASP.NET Core Logging Log4Net

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 the framework similar in spirit to the original log4j while taking advantage of new features in the .NET runtime.

Copyright © 2024 Anuraj. 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. Powered by Jekyll. Hosted with ❤ by GitHub