Browse by Tags
All Tags »
C# (
RSS)
LINQ brought developers a very user friendly and domain independent style of writing queries. The fact that the way queries are written is domain independent doesn’t mean that any query will compile the same way or even run the same way. You’ll always...
Some time ago I needed to have the validationKey of the machineKey element of an ASP.NET application changed and found out that ASP.NET doesn’t provide a command-line tool (or any other) to do this. Looking around I found several applications and code...
It’s finally out! The LINQ Com C# (LINQ With C#) book that Luís and I wrote is out. Well, mostly Luís than I. This book, published by FCA , is targeted at anyone that already knows C# 2.0 and wants to know learn the new features introduced with C# 3.0...
Typemock is announcing today a new version of Typemock Isolator (5.2). One of the coolest features in the new version is the inclusion of a new VB .NET unit testing API . This 'VB friendly' API was designed and written in VB.NET, for VB.NET developers...
If you were able to attend this session at PDC or Tech-Ed EMEA Developers , you were presented with a first class presentation of the future of C# , presented, respectively, by Anders Hejlsberg and Mads Torgersen . For the near future ( .NET 4.0) C# will...
Filed under: .NET, C#, Microsoft, MSDN, VisualStudio, TechEd, PDC, TechEd2008, VisualBasic, PDC2008, VisualStudio2010
I just came across this: www.MyRampUp Ramp Up is a free, online, community-based program that can help users save time in learning Microsoft technology. The easy-to-access content (provided by subject-matter gurus) is specifically tailored to the Ramp...
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...
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...
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...
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...
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...
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...
(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...
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.
Note: Code in italics is not actual C# 3.0 syntax. Local Variable Type Inference C# 3.0 brought us local variable type inference mainly because of LINQ . The output of a query can vary from an IEnumerable<T> or an IQueryable<T> to a single...
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...
Filed under: .NET, SoftDev, C#, Microsoft, MSDN, MVP, Tools, Testing, LINQ, UnitTests, TypeMock
I've just created a set of code snippets for Visual Studio for my most used features of TypeMock . Feel free to use it.
Eli Lopian from TypeMock™ , has an article on CodeProject about the disadvantages of design for testability and how to use TypeMock™ to remove these disadvantages while keep the advantages of unit testing. I have to say that I agree with Eli: design for...
There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems...
Filed under: .NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, Testing, UnitTests, TypeMock
Some time ago I complained about the fact that a TypeConverter for Type s was missing from the .NET Framework . At the time I had search for one in the framework but only found internal or private implementations. As it turns out, the version 2.0 of the...
More Posts
Next page »