JamesNK

Stories submitted by JamesNK

Json.NET 4.0 Release 1 – .NET 4 and Windows Phone support(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 1 year, 4 months ago

By popular demand: Json.NET 4.0! This is the first Json.NET release to target .NET 4 and integrates the many new features added in the latest version of .NET read more...

add a comment |category: |Views: 19

tags: another

JSON Performance in .NET with Binary Data (testing...)(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 3 months ago

Binary data and text file formats (JSON, XML) don’t tend get along. To be included in JSON or XML binary data has to be encode into a text friendly format, generally base64, which creates overhead both in the time spent encoding/decoding binary, and the extra size of the text encoded data in the message. In our test we’ll compare serializing a message with binary data using common .NET serialization methods and compare the result. read more...

add a comment |category: |Views: 363

tags: another

.NET Serialization Performance Comparison(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 4 months ago

Comparing the speed and output of the different serializers available in .NET with the latest version of Json.NET. read more...

3 comments |category: |Views: 931

tags: another

Efficient JSON with Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 7 months ago

One of the common problems encountered when serializing .NET objects to JSON is that the JSON ends up containing a lot of unwanted properties and values. This can be especially important when returning JSON to the client. More JSON means more bandwidth and a slower website. To solve the issue of unwanted JSON Json.NET has a range of built in options to fine tune what gets written from a serialized object. read more...

1 comment |category: |Views: 27

tags: another

Enable LINQ in your .NET 2.0 application(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 9 months ago

Simple steps on how to bring LINQ to a .NET 2.0 only application. read more...

add a comment |category: |Views: 42

tags: another

A Simple .NET Profanity Filter(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 2 years, 10 months ago

A website I am working on right now accepts public comments, and one of the requirements is to do a basic check for dirty language. Surprisingly for such a common problem I wasn’t able to find any code on the net that did what I wanted and so I’ve ended up writing my own. The Censor class is pretty simple: you give it a list of words you want to censor, either simple text or with wildcards, and the censor will star out any matches it finds. read more...

2 comments |category: |Views: 669

tags: another

No bandwidth MSDN: Reflector(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 1 month ago

How you can use Reflector to browse the insides of the .NET framework classes and why choosing Reflector over MSDN will make you a better developer. read more...

add a comment |category: |Views: 542

tags: another

Blog Driven Design(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 1 month ago

Blog Driven Design is discovering code is too verbose to reasonably include in a blog post and is the additional work put into the design to trim it down to a blogable size. read more...

add a comment |category: |Views: 5

tags: another

Native JSON in IE8, Firefox 3.5 plus Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 1 month ago

This post looks at how to use the new native JSON API in IE8 and Firefox 3.5, and how it can complement Json.NET’s server side JSON support by parsing and generating JSON on the browser. read more...

1 comment |category: |Views: 256

tags: another

CodePlex Project of the Month audio interview: Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 2 months ago

An audio interview about Json.NET, the March CodePlex project of the month. Interview covers what is JSON and Json.NET as well as the trials and tribulations of managing an open source project. read more...

add a comment |category: |Views: 145

tags: another

ButtercupReader - A Silverlight Digital Talking Book Reader(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 2 months ago

Launched at Mix09, ButtercupReader is a free Silverlight 2.0 application for viewing and playing digital talking books (DAISY) on the web by blind and partially sighted users. read more...

add a comment |category: |Views: 17

tags: another

Add Twitter to your blog the right way with caching(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 3 months ago

Twitter offers a JavaScript API to add Twitter to your blog or other website. This post looks at the various approaches to using Twitter's JavaScript API and how to improve user experience by caching Twitter content client side. read more...

add a comment |category: |Views: 144

tags: another

Good (Date)Times with Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 3 months ago

Dates in JSON are hard. The problem comes from the JSON spec itself, there is no literal syntax for dates in JSON. The spec has objects, arrays, strings, integers and floats, but it defines no standard for what a date looks like. This post looks at how Json.NET handles reading and writing custom date formats. read more...

add a comment |category: |Views: 170

tags: another

Writing JSON to a file using Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 3 months ago

A couple of simple C# examples showing how to write JSON to a file using Json.NET. read more...

add a comment |category: |Views: 326

tags: another

Googleman - Quite possibly the best WPF application ever(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 3 months ago

Googleman is a fun and pointless application for launching Google.com in the style of the Batman 60s TV show, complete with spinning Google logo and sound effects. Now when a friend or co-worker says “To Google!” you can open your favourite search engine in style. Googleman uses WPF and is written using the MVP pattern. read more...

1 comment |category: |Views: 1229

tags: another

A .NET Open Source Project Retrospective: Json.NET(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 3 months ago

A look inside the development of a .NET open source project. What went right and what went wrong and lessons learnt along the way. read more...

add a comment |category: |Views: 294

tags: another