Browse by Tags

Related Posts

  • 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: TypeMock, LINQ, MSDN, .NET, C#, Microsoft, MVP, SoftDev, Testing, Tools, UnitTests
  • 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
  • How About Property Assignment And Collection Adding Like Object And Collection Initializers In C#?

    C# 3.0 introduced object and collection initializers . It is now easier to initialize objects or collections: var person = new Person { FirstName = "Paulo" , LastName = "Morgado" }; var persons = new List < Person > { new Person { FirstName = "Paulo" , LastName = "Morgado"...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-11-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, .NET, C#
  • 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
  • StyleCop 4.3 Is Out

    The StyleCop team announced the release of a version 4.3 of the StyleCop tool . You can get it from here . On this version there are some bug fixes, new rules and documentation. Also in this version, the list of errors and warnings goes to the Errors List window like with the compilers. I whish that...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-21-2008, 12:00 AM
    Filed under: Tools, SoftDev, MSDN, Microsoft, .NET, C#, CodingConventions
  • PDC2008: Meet Me In Los Angeles

    It’s not the first time I try but, for one reason or another, this is the first time I will go to the PDC ( Microsoft ’s Professional Developers Conference). According to the site “The PDC is designed for leading-edge developers and software architects. If you’re interested in the future of the Microsoft...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 09-04-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Events, Microsoft, .NET, C#, PDC, PDC2008
  • 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
  • Clone Detective For Visual Studio

    Clone Detective is a tool that integrates with Visual Studio and uses the ConQAT ( Con tinuous Q uality A ssessment T oolkit) to analyze C# projects and search for duplicated source code. Watch the videos and see if this is the tool you were looking for.
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-28-2008, 12:00 AM
    Filed under: Tools, SoftDev, MSDN, Microsoft, .NET, C#, VisualStudio, CodePlex
  • Microsoft Source Analysis for C# (aka StyleCop)

    I’ve learned from a fellow GASP er of the release of Microsoft Source Analysis for C# (aka StyleCop) . It’s still a work in progress but it’s already very useful.
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 06-05-2008, 12:00 AM
    Filed under: NamingConventions, Tools, SoftDev, MSDN, Microsoft, .NET, C#, VisualStudio
  • Page Flow Application Block With Page Modules

    If you want to see how you can use Page Modules and its benefits, read this .
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 09-27-2007, 12:00 AM
    Filed under: Community, ASP.NET, SoftDev, PageFlow, PnP, WCSF, Web, MVP, MSDN, SoftwareFactories, Microsoft, Architecture, .NET, PageModules, C#
Page 1 of 1 (10 items)
Microsoft Communities