February 2008 - Posts
LINQ to XML API allows us to create complete XML document as expected with all the elements. So this X-DOM has everything as you expect. Simple sample looks like, XDocument doc = new XDocument ( new XDeclaration ( "1.0" , "utf-16" , "true" ), new XProcessingInstruction
Read More...
The Bill Gates Stanford Speech Namoskar!!!
Read More...
Are you a student? Want to develop using Microsoft product? We are giving it for free. Know more Bill Gates talks about Free Software, Students, and Technology Namoskar!!!
Read More...
Based on my previous post if I have to filter the list of customers only in the country “US” and create another XML which may look like, <? xml version = " 1.0 " encoding = " utf-8 " ?> < usaCustomers > < usaCustomer > < title >
Read More...
We can generate hierarchical object graph in our memory though LINQ. To be more realistic we can bring data from relational database. So if we consider Northwind database and use LINQ to SQL to bring all the Customers and their Orders and Order Details
Read More...
XElement and XAttribute are the two very important classes available in System.Xml.Linq.dll assembly. Using these two classes you can do lot of things in the LINQ to XML world. I will show you step by step how, For just an element XElement _root = new
Read More...
I have discussed about the native XML support in VB.NET code editor in one of my BLOG posts. Now to generate a XML dynamically with values you can play with LINQ and project it to a XML. Let us get the list of process running into my local machine with
Read More...
This is the one feature which can make VB.NET developers feel better than C# folks. I have seen people complaining about MS saying that MS has done lot for C# but not equally for VB.NET. One of the biggest was Refractoring. There are so many such. But
Read More...
If you want to use Lambda Expression as reusable function, you need to use Func. By using the Func we are actually calling in-build delegate. So if you write Dim sqr As Func( Of Double , Double ) = Function (x) x * x Then you can use it in you application
Read More...
In VB.NET 9.0 Lambda is one of the features we have here. Lambda expression is just another way to call Anonymous method/delegate. Let’s look into a generic list of integers, and play with it, Dim arrInt As New List( Of Integer ) For i As Integer = 1
Read More...
Last week I was exploring VB.NET for the ISV demo delivery. Some findings I want to share with you. First the object and Array Initializers Let’s suppose we have a class called Customer Public Class Customer Public Id As Integer Public Name As String
Read More...