Skip to content

Instantly share code, notes, and snippets.

View AuthorProxy's full-sized avatar
👾
Don't worry, be happy :)

Alex Kostyukov AuthorProxy

👾
Don't worry, be happy :)
View GitHub Profile
@AuthorProxy
AuthorProxy / GetObjectsArray.js
Last active July 3, 2016 12:09
JSON Array Post methods
// The same but for 'GET'
$.ajax({
url: '/Backend/Article/GetChildArticleIds',
traditional: true,
data: {
filter: '',
fieldId: 1115,
ids: [19975]
}
@AuthorProxy
AuthorProxy / _Layout.cshtml
Created July 1, 2013 14:34
X-UA-Compatible - ASP.NET MVC HTTP Browser Compatibility
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1" />
</head>
</html>
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace AutoSenderService
{
public static class XmlSerializerHelper
{
public static string Serialize<T>(T item)