Dependency Injection in Legacy Projekt

by robert 31. October 2009 22:24

Mit Legacy Projekt ist ein Projekt gemeint, das keine automatisierten Tests besitzt und nicht trivial ist. Es scheint unmöglich DI in einem Entwicklungsschritt einzuführen. Es scheint nicht sinnvoll im ersten Schritt die Anwendungsschicht von der Abhängigkeit auf das Container Framework zu befreien.... [More]

typeof() in c# != TypeOf in VB.NET

by robert 31. October 2009 20:54

  C#: typeof(someType) gibt den System.Type zurück VB.NET: TypeOf someType IS Integer gibt ein Boolean zurück Das Equivalent zu typeof() in VB.NET ist: GetType(Foo) Es hat ein wenig gedauert bis ich verstanden habe das die Beispiele auf der Autofac VB.NET Dokument... [More]

enjoyed the post?

Tags:

VB.NET

32-bit DLL in 64-bit WebApp: An attempt was made to load a program with an incorrect format

by Oliver 30. October 2009 16:36

Die folgende Fehlermeldung erhielt ich heute von unserem IIS7, als ich Camping.Info starten wollte: Server Error in '/' Application. Could not load file or assembly 'Microsoft.Cci' or one of its dependencies. An attempt was made to load a program with an incorrect format. ... [More]

LC.exe wurde mit Code -1 beendet

by robert 22. October 2009 00:39

“LC.exe wurde mit Code -1 beendet” lacht mich in VS2008 als Fehlermeldung an. Schlimm genug das Die Meldung in Deutsch ist, es sind auch keine weiteren Informationen enthalten. Doppelklick führt zu “Microsoft.Common.targets” dem riesigen .NET default MSBUILD File. Alle gefundenen Probleme verweise... [More]

enjoyed the post?

Tags:

NHibernate: Fetch Join + EntityCache

by Oliver 16. October 2009 13:28

In unserer Test-basierten Entwicklung hat sich die Verwendung von Setup-Klassen für unsere Entities etabliert. Unsere Tests sehen folgendem sehr ähnlich: .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: Consolas, "Courier New", Courier, Monospace; ... [More]

About Oliver

shades-of-orange.com code blog logo I build web applications using ASP.NET and have a passion for javascript. Enjoy MVC 4 and Orchard CMS, and I do TDD whenever I can. I like clean code. Love to spend time with my wife and our children. My profile on Stack Exchange, a network of free, community-driven Q&A sites

About Anton

shades-of-orange.com code blog logo I'm a software developer at teamaton. I code in C# and work with MVC, Orchard, SpecFlow, Coypu and NHibernate. I enjoy beach volleyball, board games and Coke.