Using LINQ to SQL as data contract for WCF/ Web Service
LINQ to SQL greatly enhance our coding productivity but when it comes to serialization of the object (means using LINQ to SQL Object as data contract) for used in WCF as data contracts, its a headache...
View ArticleReplace content of element inside Content Controls with data bound value from...
In my previous post I discovered that Content Controls in WordprocessingML files which has data binding to a CustomXML part will not render properly. However, this ONLY apply if you programmatically...
View ArticleLayered Architecture Sample for .NET
Call it layered of n-tier also can, Serena Yeoh aka Firedancer who now works in Microsoft Consulting Services came out with a sample application based on the whitepaper – Application Architecture for...
View ArticleWordprocessingML document generator with XML Schema tagging
Word documents can be tagged with elements from XML schema and also programmatically inject value into it. With OpenXML SDK and LINQ to XML, all these are even easier! Below are the steps. Create a...
View ArticlePDF on OpenXML Doc Gen walkthrough
I made a PDF available here for yesterday’s post so that you can have a better view on the source codes.
View ArticleLinq to SQL vs ADO.NET Performance
During my ILL Lab tag team with Ervin about Linq to SQL, quite a number of attendees asked us about Linq to SQL performance compared to ADO.NET SQLConnection. I couldn’t provide too much information...
View ArticleFree MS Press books
Psst… if you looking to learn more about LINQ, ASP.NET 3.5, Silverlight 2 or SQL Server 2008, check out this website where you can download the books for free. Free downloadable e-book offer-...
View ArticleRandom results from LINQ to SQL
A lot of applications would like to return random results from database. For example an web ad engine that returns random ads from its database based on certain conditions. To do this in LINQ to SQL...
View ArticleLINQ to SQL and SQL Server Session State – Unable to serialize the session state
Just realize one problem with LINQ to SQL Unable to serialize the session state. In ‘StateServer’ and ‘SQLServer’ mode, ASP.NET will serialize the session state objects, and as a result...
View Article