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 instance of T where T can even be a projection which...
For those who can't (or don't want to) deploy .NET Framework 3.5, the service packs included for the 2.0 and 3.0 versions of the framework are available as standalone downloads. Microsoft .NET Framework 2.0 Service Pack 1 (x86) Microsoft .NET Framework 2.0 Service Pack 1 (x64) Microsoft .NET...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-22-2007
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, MVP, VisualStudio, WCF, WPF, WF, WindowsClient
Visual Studio 2008 and .NET Framework 3.5 has finally shipped. MSDN subscribers can download the final version of Visual Studio 2008 from MSDN Subscription Downloads , but anyone can get a trial version or an Express Edition . The .NET Framework 3.5 contains many new features building incrementally upon...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-21-2007
Filed under: .NET, WinForms, ASP.NET, SoftDev, C#, Microsoft, MSDN, SQLServer, XML, VisualStudio, WCF, WPF, WF, WindowsClient, LINQ
Today, S.Somasegar announced at TechEd Developers EMEA , amongst other things, that they the product team at Microsoft is putting the finishing touches on Visual Studio 2008 and .NET FX 3.5. They are on track to shipping these products before the end of November 2007. They will have the marketing launch...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
11-05-2007
Filed under: .NET, Architecture, ASP.NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, VisualStudio, TechEd
Visual Studio's Unit Test generator generates a call to Assert.Inconclusive but, usually generates a call to another method of the Assert class. I find that very annoying because, some times, this makes the test fail instead of being reported as inconclusive. To comment out these extra calls to Assert...
I don't like to see constant strings being concatenated in source code. I know the compiler compiles it into a single string, but I think it sends out the wrong message. However, code generators (like Visual Studio's Unit Test generator) usually generate code with long strings concatenated across...
Visual Studio comes with the a specific set of regular expressions can be used in the Find what field of the its Find and Replace Window . Over the time I've been using Visual Studio I've come up with some tricky regular expressions that I'll be publishing in this page . Feel free to comment...
TypeMocks™ 4.0.0 is now available . In my previous analysis mentioned two drwanbacks of this mocking framework: The lack of a mocking scope. The lack of the use of Generics in its APIs. Let's start with the second one. Generic Reflective API TypeMocks™ was the same tool for both the .NET 1.1 and...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
05-20-2007
Filed under: .NET, Architecture, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, VisualStudio, Testing
(From Blaine Wastell 's post and Mariano Szklanny 's post ) You can now download the SCSF - May 2007 release . The new release provides support for .NET 3.0. The release is propagating to the download servers and should be available when you read this. If not, be patient and try a little later...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
05-20-2007
Filed under: .NET, Architecture, SCSF, WinForms, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, VisualStudio, WPF, PnP
This bug has been around for a while and affects web site development when using custom identities (classes that implement System.Security.Principal.IIdentity ) and the ASP.NET Development Server. To reproduce this bug, you have to implement the IIdentity interface , something like this: [ Serializable...