Archive for the ‘XML’ Category.

nBloglines .NET Module for Bloglines Web Services

Bloglines is still the only reader that provides an “official API” to make use of their services. I was working on a syndication application and decided to share the .NET Bloglines library that I wrote to use their web services.
Requirements

.NET 3.5 Framework

Quick Reference

public Bloglines(string username, string password)    Member of CodingDay.Bloglines

Default constructor, password is optional […]

RSS Feed Parser in 20 Lines with .NET LINQ

RSS is becoming more and more the face of web. I rarely visit the sites rather visit a bunch of them using an RSS reader. I was working with RSS data and realized how LINQ to XML made easier, elegant  and terse to manipulate XML data. Here is a very naive RSS  parser from RSS […]

LINQ and XLINQ with Visual Basic Literals

I really liked the XML expressiveness of Visual Basic, let’s build a very simple MSN History Search Engine using LINQ and XML Literals in Visual Basic.
The best thing is those literals could be used in LINQ expressions. Remember the simple XML file that MSN stores as a history.

.@AttributeName : Accesses the attribute element in XML
.<ElementName> […]

C# 3.0 vs. VB 9.0 and XML in the Language

Here is the summary of new language features as mentioned on the “What’s new on ORCAS

C# 3.0 Language Support: This CTP implements all of the C#3.0 language features from the May LINQ CTP including:

Query Expressions

Object and Collection Initializers

Extension Methods

Local Variable Type Inference and Anonymous Types

Lambdas bound to Delegates and Expression trees

Complete design-time support: Intellisense, Formatting, […]

Still prefer Bloglines to Google Reader

 
Google has released a new cosmetic look to Google Reader last week. Firstly I was very impressed because it  started to look like Bloglines and the interface is more responsive by the usage of AJAX. I tried almost a week and I decided that I am content with Bloglines and continue to read my feeds with […]

XML Notepad 2.0

Friday surprise from Microsoft, XML Notepad has rewritten in .net framework 2.0 from C++. It seems that the team did a great job. And best part is it will be available on Codeplex as a  community project.
Here are the features that I liked at first view

Open source
Comes with source code, samples (look at the […]

XML Class Generator for C# using XSD for deserialization

Let’s say we have an XML file and we want to deserialize that file to our implemented class. This is an easy task if the XML file is simple. However if it has more complex types, it can take a long time to implement the class without error. XSD comes with .Net framework SDK. I […]