Quantcast
Channel: Patrick's Bytes » LINQ
Browsing latest articles
Browse All 9 View Live

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 Article


Image may be NSFW.
Clik here to view.

Replace 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 Article


Layered 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 Article

Image may be NSFW.
Clik here to view.

WordprocessingML 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 Article

PDF 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 Article


Linq 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 Article

Image may be NSFW.
Clik here to view.

Free 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 Article

Image may be NSFW.
Clik here to view.

Random 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 Article


Image may be NSFW.
Clik here to view.

LINQ 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

Browsing latest articles
Browse All 9 View Live