background preloader

Software Development

Facebook Twitter

Full Text Document Extraction

Amazedsaint's .net journal. Source Code? – Get it from This is an intro post on the ‘ElasticObject’ class. First of all, let us see what exactly the ElasticObject implementation is capable off. After that we might touch the implementation details. To start with, here are few scenarios you can use ElasticObject An easier, fluid way to work with data formats – like XML and JSON. Note: A Quick Clarification after reading few tweets - ElasticObject is not a class in .NET BCL, it is something that I’ve implemented, and you can get the code by clicking the above link :) 1 – You can create multi level Dynamic objects automatically, like this ElasticObject supports creating hierarchical dynamic data structures. 2 – Then, you can simply convert that to XML using the ‘>’ Conversion Operator In ElasticObject implementation, several operators are having special meaning.

And this is what you’ll see if you check the generated XML. 3 – You can convert back and forth between XML and ElasticObject. Amazedsaint's .net journal. About .NET 4.0 Series - I'll be covering various aspects of .NET 4.0 and related technologies in these posts To clarify the point, have a look at this example. dynamic obj = new ExpandoObject(); obj.Value = 10; var action = new Action<string >((line) => Console.WriteLine(line)); obj.WriteNow = action; obj.WriteNow(obj.Value.ToString()); And you'll get 10 as output in your console.

Amazedsaint's .net journal

As you can see, the property 'Value' and method 'WriteNow' is attached at runtime, when the invocation happens. The objective of this post is to examine how the ExpandoObject itself is implemented. We are inheriting MyExpando class from the DynamicObject, and these are the major methods we are overriding. TrySetMember- Provides the implementation of setting a member. Public class MyExpando : DynamicObject { private Dictionary < string, object > _members = new Dictionary < string, object > (); /// public override bool TrySetMember(SetMemberBinder binder, object value) { if (!

MEF - Managed Extension Framework

Microsoft Lync Server. OpenXML. WPF. hCard 1.0. Tantek Çelik (Editor, Author), Brian Suda (Author) hCard is a simple, open format for publishing people, companies, organizations on the web, using a 1:1 representation of vCard (RFC2426) properties and values in HTML. hCard is one of several open microformat standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML.

hCard 1.0

Translations: Français • 日本語 • Русский • ภาษาไทย • 漢語 • (Add your language)Copyright and patents statements apply. See acknowledgments. Example hCards are most often used to represent people: <div class="vcard"><a class="url fn" href=" Çelik</a></div> and organizations: <div class="vcard"><a class="url fn org" href=" The class vcard is a root class name that indicates the presence of an hCard. The classes url, fn, and org define properties of the hCard. Properties Common hCard properties (inside class vcard) fn - name, formatted/full. required n - structured name, container for: honorific-prefix - e.g. Status. PHP/MySQL.

High Speed Database

10 sites developers should have in their bookmarks. Mysql Format Date MySQL Format Date helps you to format your dates using the MySQL DATE_FORMAT function.

10 sites developers should have in their bookmarks

Just select a common date format and then change it to your suit your needs. The MySQL DATE_FORMAT code will be generated at the bottom of the page which you can then copy into your query. Visit site: Script Src Are you tired of hunting the Internet in order to find the script tag for the latest version of the Javascript library of your choice?

Visit site: Em Chart I never been a fan of ems in CSS files, but sometimes you have to deal with it. Visit site: Twitter API Explorer If you’re using the Twitter API in the site you build, you’ll for sure enjoy this very handy website which allow you to search through the Twitter API. Visit site: Browser Sandbox Cross browser compatibility is definitely one of the biggest problems a web developer has to face in his daily job. Visit site: PHP Forms Web forms are one of the most important part of a website, but creating them is also very time-consuming.

WEB

iOS Development.