This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace __NAMESPACE__ | |
{ | |
using System; | |
using System.IO; | |
using System.Xml; | |
using System.Text; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using Newtonsoft.Json; | |
using JsonSerializer = ServiceStack.Text.JsonSerializer; | |
using XmlSerializer = System.Xml.Serialization.XmlSerializer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace __NAMESPACE__ | |
{ | |
using System.IO; | |
public static class StreamExtension | |
{ | |
public static byte[] ToByteArray(this Stream input) | |
{ | |
using (var memStream = new MemoryStream()) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace __NAMESPACE__ | |
{ | |
using System.Linq; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Check if expected list items are all in master list | |
/// </summary> | |
/// <typeparam name="T">Generic Type</typeparam> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace __NAMESPACE__ | |
{ | |
using System; | |
using System.IO; | |
using System.Runtime.Serialization.Formatters.Binary; | |
public static class ObjectCopier | |
{ | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Stolen from @mkristensen | |
//Use to bust static content like .js and .css when they changed. | |
using System.IO; | |
using System.Web; | |
using System.Web.Caching; | |
using System.Web.Hosting; | |
namespace CHANGE_YOUR_NAMESPACE_HERE | |
{ | |
public class Fingerprint |
NewerOlder