Browse by Tags

Related Posts

  • LINQ With C# Book

    Luís just broke the news on our LINQ with C# book. I was honored with the invitation from Luís to write this book with him for FCA , for which he has already published a few books [ ^ ] [ ^ ] [ ^ ] before. This will be an entry level book in Portuguese targeted to anyone wanting to learn LINQ with C#...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 09-22-2008, 12:00 AM
    Filed under: SoftDev, Microsoft, .NET, C#, LINQ, Books
  • More On Another Way For Using The “using” Keyword

    In the past I presented another possible use for the using keyword: as hints on LINQ . I’ve been giving some thought about this lately and refined my proposal. var q = from person in personCollection using MyEnumerableExtensions group person by person.LastName into g using new MyOtherComparer () orderby...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-11-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, .NET, C#, LINQ
  • C# And Visual Basic Generate Different Expression Trees

    (This was pointed out to me by Frans Bouma and explained by Jon Skeet ) Imagine you have this set of classes: public class A { public virtual string P { get { return "A" ; } } } public class B : A { } public class C : B { public override string P { get { return "C" ; } } } And this class: public static...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-04-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, .NET, C#, LINQ, VisualBasic
  • Book Review: Linq Quickly by N Satheesh Kumar

    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 also an introduction into the new features in C#...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 03-26-2008, 12:00 AM
    Filed under: MICROSOFT, .NET 3.5, LINQ, C#
  • A Templated ASP.NET RSS Feed Reader Control

    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 done a little different, I include the System.ServiceModel...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 03-18-2008, 12:00 AM
    Filed under: ASP.NET, MICROSOFT, .NET 3.5, LINQ, C#, XML, UserControl, RSS
  • Different SQL between C# and vb.net using LINQ to SQL causes performance issues

    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 7.3. I know that I get different SQL between C#...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 02-07-2008, 12:00 AM
    Filed under: ASP.NET, .NET, MICROSOFT, .NET 3.5, SQL, LINQ, C#, VB.NET
  • TypeMock: How to Make Reflective Mocks More Natural

    Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well, it's as easy as this: public static class MockExtender {...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 01-31-2008, 12:00 AM
    Filed under: UnitTests, Testing, TypeMock, Tools, SoftDev, MVP, MSDN, Microsoft, .NET, C#, LINQ
  • Gotcha with linq and paging

    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 get a select top 9 which would not do any orderby...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 01-22-2008, 12:00 AM
    Filed under: ASP.NET, .NET, MICROSOFT, .NET 3.5, SQL, LINQ, C#
  • Handling Default Values With LINQ to SQL

    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. I got a good suggestion from Young Joo to keep autogenerated...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 01-08-2008, 12:00 AM
    Filed under: ASP.NET, .NET, MICROSOFT, .NET 3.5, SQL, LINQ, C#
  • I Think I Love LINQ

    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> <settings> <setting key="foo" value="foo...
    Posted to Stefan Sedich's Blog (Weblog) by stefan.sedich on 12-24-2007, 12:00 AM
    Filed under: ASP.NET, .NET, MICROSOFT, .NET 3.5, LINQ, C#, XML, Configuration
Page 1 of 2 (12 items) 1 2 Next >
Microsoft Communities