Skip to content

Instantly share code, notes, and snippets.

View tjmoore's full-sized avatar

Tim Moore tjmoore

View GitHub Profile
@Stephanvs
Stephanvs / JsonNetFormatter.cs
Created March 7, 2012 13:34
JSON.net Formatter for ASP.NET MVC WEB-API
using System;
using System.IO;
using System.Net;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Global.Serialization
@rafaelsc
rafaelsc / VisualStudio.flt
Created May 6, 2015 22:07
WinMerge Directory/File Filter for Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.
## by rafaelsc
## This is a directory/file filter for WinMerge
## This filter Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons
name: Visual Studio Files
desc: Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.
## This is an inclusive (loose) filter
## (it lets through everything not specified)
def: include
@jirolabo
jirolabo / HttpClientCoreSapmle.cs
Created March 27, 2019 12:58
HttpClientFactory for console application
using System.Net.Http;
using Microsoft.Extensions.DependencyInjection;
namespace ConsoleApp1
{
// Install-Package Microsoft.Extensions.DependencyInjection
// Install-Package Microsoft.Extensions.Http
class HttpClientCoreSapmle
{