Category Archives: .NET

.NET: Create Data Driven ASP.NET Web Applications in 15 minutes using Dynamic Data (.NET 3.5 SP1)

Prerequisites: 1. Visual Studio 2008 SP1 2. .NET 3.5 SP1 (AJAX is now part of .NET 3.5 so you don’t need to install Ajax extensions separately) 3. Install SQL Server 2008 Management packs (Features) if your database is still SQL Server … Continue reading

Posted in .NET | Leave a comment

.NET: Feed format not supported

When you are working with ATOM or RSS applications (ADO.NET Data RESTful Services) and trying to load these applications in a browser, you might get an error in IE browser that the Feed format is not supported. If you look at … Continue reading

Posted in .NET | Leave a comment

.NET: What’s new in .NET Framework 3.5 SP1 (Visual Studio 2008 SP1)

  Microsoft released service packs for .NET Framework 3.5 and Visual Studio 2008. Though they are called Service Pack, the developer community look at the release as more of a feature pack as it not only contains bug fixes and … Continue reading

Posted in .NET | Leave a comment

ADO.NET: Table-valued parameters SQL Server 2008 & Visual Studio 2008 (ADO.NET 3.5)

  Table-Valued parameters are a new feature in SQL Server 2008 which enables you to pass an entire table to a SQL Statement or function (Stored procedure) at one time thus reducing number of round trips to the database, unnecessary … Continue reading

Posted in .NET | Leave a comment

ADO.NET: MCTS Preparation Guide for 70-561 (ADO.NET 3.5 applications)

  coming soon …..

Posted in .NET | Leave a comment

.NET: Visual Studio 2008 ListView (LayoutTemplate) Error

When working with ListView in Visual Studio 2008 you will get an Invalid operation error as follows when trying to render a asp.net web form: An item placeholder must be specified on ListView ‘ListView1’. Specify an item placeholder by setting … Continue reading

Posted in .NET | Leave a comment

ADO.NET: What’s new in 3.5 (C# 3.0)

  LINQ is the most powerful addition in . NET 3.5. It will change the way you would query objects, databases, xml, web services. To support LINQ, new features were added to C# 3.0. Lambda expressions. Provide convenient syntax for … Continue reading

Posted in .NET | Leave a comment

LINQ: LINQ Overview

You can apply LINQ to different types such as Objects, Data (Datasets, SQL, Entities), XML, Web Services (Amazon etc).     Goal of LINQ is to maintain the same code regardless of the data source with different back-end processes.   … Continue reading

Posted in .NET | Leave a comment

LINQ: LINQ in BizTalk applications

Below you can find steps to call LINQ classes from BizTalk 2006 R2 Application: Create VS 2008 class library Add a new class to the project and have LINQ based code in the class Strong sign the class library and … Continue reading

Posted in .NET | Leave a comment

LINQ: Sample code to retrieve element values using LINQ XML API

  Below you can find the code (C#) that you can use to retrieve element values or attribute values after loading an xml file into XDocument. The code sample is provided as one of the many ways you can implement … Continue reading

Posted in .NET | Leave a comment