Skip to content

Instantly share code, notes, and snippets.

View kinathru's full-sized avatar

Kinath Rupasinghe kinathru

View GitHub Profile
@HarryAmmon
HarryAmmon / Log4NetHelp.md
Last active October 18, 2023 15:21
Log4Net .NET Core Console App Quickstart

Log4Net .NET Core Console App Quickstart

Getting Log4Net working with a .NET Core console app is simple. You may have found guides for getting Log4Net working on a .NET Framework project. The setup is similar but requires a few additional steps. This quick start assumes you are using Visual Studio 2019.

Installing Log4Net

This process is the same for installing any other package using NuGet. Either the Package Manager Console or the Manage NuGet Packages GUI can be used.

Package Manger Console

Open the Package Manager Console and run the following command.

@nhuhoai
nhuhoai / bootstrap-callout.css
Created June 22, 2017 12:23
Bootstrap Callout CSS Styles
/**
* Source: https://cpratt.co/twitter-bootstrap-callout-css-styles/
*/
.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;