Click here to Skip to main content
13,050,429 members (118,559 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Data » Downloads


39 bookmarked
Posted 12 Aug 2009

HTTP Binary Serialization through ASP.NET without WCF

, 15 Aug 2009
Shows how to serialize an object using binary serialization without using WCF.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace DataClass
    /// <summary>
    /// This class will be serialized to binary and sent thru HTTP via the 
    /// Default.aspx page.
    /// </summary>
    public class SampleData
        public string SomeData { get; set;}
        public bool otherData { get; set; }
        public int moreData { get; set; }

        public override string ToString()
            var builder = new StringBuilder();
            return builder.ToString();

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ricardo Pineda Then
Software Developer NeoDeck Software
Puerto Rico Puerto Rico
I've been programming since I was 10 years old, and I consider it my passion. I founded NeoDeck Software a small development company in 2002, and we've been in business developing various applications, concentrating in medical software.

My programming experience ranges from VB6, C#, VB.NET and Objective-C.
I have experience in SQL Server, ASP.NET, WCF, WPF, Blend, Silverlight, SQLite, iPhone and XCode.

I'm a Microsoft Certified Professional and have a Bachelors Degree in Computer Science.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 15 Aug 2009
Article Copyright 2009 by Ricardo Pineda Then
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid