Browse by Tags

All Tags » LINQ » MICROSOFT (RSS)

Our First ASP.NET 3.5 Site Goes Live!! by stefan.sedich

Hello All, UPDATE 20080409: Another site has launced, check out www.betts.com.au !!! Thanks Stefan ---------------------------------------------------------------------- Finally our first ASP.NET 3.5 website went live today, there are 2 more to come but...

Book Review: Linq Quickly by N Satheesh Kumar by stefan.sedich

This books title does not lie, it is LINQ and it is quickly. This book is an excellent introduction into the world of LINQ and also a great reference once you get your feet wet. The start of the book gives you a brief introduction into what LINQ is and...
Filed under: , , ,

A Templated ASP.NET RSS Feed Reader Control by stefan.sedich

Update 20070330: By popular demand (well a couple people) I have included a sample project with everything needed to get started using this control. Basically just a sample web project, click here to get the zipped archive. You might notice things are...

Different SQL between C# and vb.net using LINQ to SQL causes performance issues by stefan.sedich

Hi All, I am currently working on a project and we are using VB.NET, I am using LINQ to SQL for my data access. I have just implemented my search query and thought I would check the generated SQL's execution plan and found that the subtree cost was about...

Gotcha with linq and paging by stefan.sedich

Hey All, Had a query which I was paging on the front end. I knew that a certain product was meant to be in my display but could not see it. But on page 2 a product would repeat itself. Odd, got into profiler and looked at the queries. The first page would...
Filed under: , , , , , ,

Handling Default Values With LINQ to SQL by stefan.sedich

Hi All, Have run into some issues with using default values in my SQL database with LINQ. I set AutoGenerated in the LINQ Designer to true which made use of my default values but this did not let me update this manually as it would throw an exception...
Filed under: , , , , , ,

I Think I Love LINQ by stefan.sedich

I am beggining to really like to ease of using LINQ, On a project I am working on now I am storing configuration in an XML file like so: <sites> <site id="1" sitename="foo"> <domains> <domain url="www.foo.com" /> </domains>...

Tagging Implementation with LINQ by stefan.sedich

Hello all, I decided to implement tagging on my video library. My first solution was to use one table for the tags. Containing the videoid and tagname. When I loaded in 1,000,000 test tags this became slow to generate my tag cloud data. My new solution...

Unexpected results with Compiled Queries and LINQ to SQL by stefan.sedich

SOLUTION: Ok fired up SQL profiler and see my problem, the non compiled query seems to not evaluate the query until you actualy use the object. But the Compiled version is hitting the database straight away. And as I was not using this data the non compiled...
Filed under: , , , , , , ,

Wierd behaviour with LINQ to SQL designer (bug????) by stefan.sedich

This is odd. Have a test table with an id and name field no primary key was set as it was a quick test hack. Pulled the table into the LINQ Designer and noticed none of the validation partial methods were there. There was no OnnameChanged. Nowhere. After...
More Posts