Daniel Cazzulino's Blog
-
Buenos Aires MSDN and TechNet Briefing 2009
From my friend Pablo:
-
Funq: screencast series on how to building a DI container using TDD
Over the past few days, I spent some time recording the experience of building a dependency injection container using test driven development. It was a cool experience for me, and I hope you find the screencasts useful.
-
Evolving an API without breaking clients via extension methods, ObsoleteAttribute and EditorBrowsableAttribute: Part II
Due to a bug in VS intellisense (go vote for it!), my otherwise nice approach to API evolution doesn't quite work as I expected. Basically, regardless of whether you flag your obsolete methods (extension methods created by moving the deprecated behavior into a new "Legacy.dll" assembly) with EditorBrowsableState.Never, they will still show up in intellisense. You typically don't want that, as it would confuse users of test projects that contain legacy tests about which methods should be used:
-
Evolving an API without breaking clients via extension methods, ObsoleteAttribute and EditorBrowsableAttribute
API evolution is tough and versioning is a complex enough issue that deserves not one but several posts. So I will only focus on one specific kind of evolution and backwards compatibility: Source Compatibility.
-
How to create and run Compact Framework unit tests with VS2008 and TestDriven.NET
Unlike VS2005, where you didn't have a unit testing framework for the .NET Compact Framework (and that's the reason why we had to create one for the Mobile Client Software Factory), VS2008 (Team System Test or Suite editions) comes with the same test framework you probably use for desktop applications.
-
PDC Essentials @ Buenos Aires
On Tuesday 18th, Victor and I will be presenting A Lap Around VS2010. Check which other talks are available and register here.
This is the event information:
- Horario: martes, 18 de noviembre de 2008 16:00 - 22:00 p.m.
- Lugar: ITTC. Sarmiento 1113 Piso 5. Buenos Aires Argentina.
- Registración
- Descripción:
Durante los dÃas del 27 al 30 de Octubre se lleva a cabo la Professional Developer Conference en Los Angeles, Estados Unidos. Durante este evento Microsoft realiza grandes anuncios sobre novedades en la plataforma de desarrollo, presentando su visión de Cloud Computing, construyendo aplicaciones que desdibujan las barreras entre la PC, la Web y los dispositivos móviles, lo nuevo en VS 2010, .net Framework 4, distintos avances sobre Windows 7, la siguiente mayor versión de la plataforma cliente Windows y mucho más. En este evento, estaremos presentando algunas de las novedades develadas durante el evento, contando con disertantes asistentes al mismo....
-
XmlSerializerFactory caching issues and leaks
You'd think that after the serious leaks people was hitting with the XmlSerializer, the "new" (in .NET 2.0!!! but which many seem to forget about, just like AVOID doing new XmlTextReader in a PDC *keynote*) XmlSerializerFactory would do away with those.
-
Weird procedure to activate Windows 2008 from MSDN subscription
I kept getting a "Activation Error: Code 0x8007232b DNS Name does not exist" error whenever I tried to activate Windows 2008 Standard (which has been running great on my X61 laptop so far as the host OS!).
-
How to use Windows 2008 on your laptop
- Follow all the tips from Windows 2008 Workstation site. Microsoft has a KB article also that is useful.
- Get Windows Live Messenger bare MSI from Softpedia (it's a MS-signed installer, worked just fine for me)
- How to get Windows Live Writer on Windows 2008: this was a bit trickier, and involves importing a few registry keys (just copy the registry keys to a .reg file and import it).
Automocking container with Moq