Wriju's BLOG

.NET, Cloud and everything

XLinq for RSS Feed

  RSS 2.0 is popular in the world of BLOGGING. Let’s not discuss about what RSS does but how we can read RSS using XLinq (LINQ for XML). Here I have tried to read the RSS Feed of my BLOG and the URL for the RSS feed is http://blogs.msdn.com/wriju/rss.xml     This simple function pulls out… Read more

LINQ A Journey through Operators [Concat]

  Imagine you have two arrays and you need to join them. Using LINQ it is as simple as mentioned   using System; using System.Collections.Generic; using System.Text; using System.Query; using System.Xml.XLinq; using System.Data.DLinq;   namespace LINQ_Concat {     class Program     {         static void Main(string[] args)         {               char[] alpha1 = {‘A’,‘B’,‘C’,‘D’,‘E’,‘F’,‘G’,‘H’,‘I’};… Read more

C#: Yesterday, Today, and Tomorrow: An Interview with Anders Hejlsberg, Part 2

  A very interesting interview I found on the net. The discussion on C# and LINQ is in the Page 4.   For full conversation please visit here.   Other interviews with Anders   Deep Inside C#: An Interview with Microsoft Chief Architect Anders Hejlsberg   C#: Yesterday, Today, and Tomorrow: An Interview with Anders… Read more

Microsoft Exchange Server 2007 Released Today

  The most awaited email system Microsoft Exchange Server 2007 got released today. This email server is with Office 2007 System and Windows Vista.   Features like, Ø       Unified messaging with voice mail and fax messages. Ø       64-bit support Ø       Anti-spam management and lots more   Enjoy Microsoft Exchange Server 2007 without installing. The Virtual… Read more

LINQ: Query vs Lambda Expression

  LINQ is not just for the developers who used to write queries for databases but also for the Functional Programmers. So do not worry if you are not very comfortable with SQL kind of queries, we have a very nice option called “Lambda Expression”. Here I am going to demonstrate the scenario for both… Read more

Anders and Chris McConnell on Channel9

  Nice video on future on LINQ and they had a discussion on how it is possible to have api for programmers enabling the functional programming approach with the power of LINQ. Very nice to hear from Anders that LINQ has target for multi-core and mini-core processor.   Watch the video https://channel9.msdn.com/Showpost.aspx?postid=260202   Namoskar  … Read more

Software as a Service (SaaS) : Multi-Tenant Data Architecture

  I could not find myself better than this paragraph “Why do we buy software? Is it so we can have the joy of owning servers, doing backups, patches and maintenance? Of course not! We buy software to get things done. We want to use the services it provides and frankly if we could let… Read more

IE 7 Released Today

This week it is very auspicious week in India. The whole country celebrates the festival of light called “Diwali”. Great gift from Microsoft is Internet Explorer 7 in this eve.   The download is available at http://www.microsoft.com/windows/ie/downloads/default.mspx   Great to have features like Tab, Print option, RSS, Security, Live.com search integration and many more.   I… Read more

LINQ: OfType<T> Query Operator

    LINQ comes with the OfType<T> query operator, through which we can filter the required object type from a heterogeneous array.   Suppose below is the scenario where we have array with various types but will only retrieve the string type. Here we go with ease of life,     using System; using System.Collections.Generic;… Read more

LINQ: GroupBy – “The Wonderland”

      I was going through the document on LINQ Project Overview then got interested to an example there at page 14. The amazing feature of GroupBy, programming will become the communication language one I am sure. We will have lingo, dialects, accent etc. I am excited to share the logic mentioned there (commented… Read more

F#: NextGen Ruler

  A, B, C, C++,……, C# yes it is long and exiting journey of small but passionate world of languages (spoken by quite and intelligent people). Yes I am talking about the next generation of programming language F# (pronounced “FSharp”). Many words to say about it OOPS/functional/scripted etc etc.   Why not try it with… Read more

Sandcastle: Next Generation Managed Code Documentation

    No more NDoc now use Sandcastle the documentation compilers which enables managed class library developers throughout the world to easily create accurate, informative documentation with a common look and feel. For additional Sandcastle information, visit the Sandcastle blog. [referenced from Sandcastle WiKi site]   Information on Sandcastle WiKi site Where to get Sandcastle Sandcastle… Read more

Changing the SiteMapDataSource’s XML filename at runtime

  Applies to: ASP.NET 2.0   ASP.NET 2.0 comes with set of very rich navigation controls like TreeView, Menu, SiteMapPath. Ideally these controls should load the values at runtime from any structured data sources, be it SQL or XML or TXT. The default and most commonly used provider is XmlSiteMapProvider which accepts the data from… Read more

LINQ: Custom Object Query

Applies To: .NET Framework 3.0, LINQ   Hello all, I have already discussed about the LINQ model architecture and the query process for .NET object in my previous posts. But how about the object written by you? Most of the time we write our own object and return the collection. LINQ is applicable for any… Read more

LINQ: The Philosophy

Applies To: .NET Framework 3.0, LINQ   LINQ (Language INtegrated Query) it is unified programming model for any kind of data in a data-centric application. Be it Database, XML or Object, this uses same query language throughout. This query language or set operation is integrated in the .NET ecosystem as natural expression language. This concept… Read more

LINQ : .NET Language Integrated Query

Applies To: .Net Framework 3.0   Another amazing gift from .NET is the .NET Language Integrated Query, popularly known as LINQ. The home page for LINQ has lots of resources http://msdn.microsoft.com/data/ref/linq/. If you download the Microsoft Visual Studio Code Name “Orcas” – LINQ CTP (May 2006) you will get the documents from Microsoft and the… Read more

ClickOnce Deployment : System.Deployment API

Applied to: Visual Studio 2005   ClickOnce is the deployment revolution for SmartClient applications. This is very cost effective solution for Smart Client applications. Support cost is very less and the deployment is per user basis. So user does not need Administrator right to install the application and security sandboxing is integral part to it…. Read more

Web Application Projects in ASP.NET

Applies to:             Visual Studio 2005   Introduction: We the developer community who used to develop the ASP.NET 1.1 applications using Visual Studio 2000/2003 were little bit confused. I guess almost all of us spent countable hours in Visual Studio 2005 to find where is the ASP.NET 2.0 .proj file is or where is our… Read more

Generics : An easy way to bind the data in DataGridView

Applied to: Visual Studio 2005 [C#]   Yes this is Generics. The concept which helps us to create collection easily and elegantly. Two steps to create the list is demonstrated here.   Step 1:   You have one object say for list of products which contains three properties Name, Quantity and Price.   using System;… Read more