Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Spring.Net

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

 Spring.Net

Avatar for Mathias Kluba

Mathias Kluba

June 22, 2010

More Decks by Mathias Kluba

Other Decks in Programming

Transcript

  1. Présentation  Mark Pollack: MVP & founder of Spring.NET 

    Mathias Kluba: consultant .net chez Fastconnect Blog: http://grozeille.com Twitter: mathiaskluba
  2. Spring.net  Framework OpenSource maintenu par SpringSource (A division of

    VMWare)  Une standard de facto en Java  Une version .Net très .Net qui s’intègre avec:  WCF  ASP.Net  NHibernate  DB4O  Resharper  Etc.  Bonne documentation, projet vivant: Version 1.3 le 15 Décembre 2009 Version 2.0 en développement!
  3. Dependency Injection  Spring.net c’est d’abord l’injection de dépendance (ou

    Inversion of Control container) orienté PONO  ALTernative à Unity de Microsoft…  Mais pas la seule:  Windsor Castle  Ninject  AutoFac  Etc.  Devenu un standard en Java @Inject
  4. Spring.Net: enterprise framework  Spring.Aop  Spring.Data: tout pour votre

    DAL  Spring.Data.NHibernate  Spring.Web: enrichie ASP.Net, AJAX, NVelocity  Spring.Services: DCOM, .Net Remoting, WebService, WCF  Spring.Messaging: Apache ActiveMQ, TIBCO EMS, MSMQ  Spring.Scheduling.Quartz  Spring.Testing: NUnit et MSTest
  5. Spring.Net AOP  Tissage (weaving) par proxy: non intrusif 

    Pure XML ou par attributs  Plusieurs Aspect de base  Caching  Exception Handling  Logging  Retry  Transaction  Parameter Validation
  6. Configuration avec Spring.Net  Injection d’expression  Conversion automatique avec

    TypeConverter  Injection de variables  Sources de variables pré-existantes:  ConfigSectionVariableSource  PropertyFileVariableSource  EnvironmentVariableSource  CommandLineArgsVariableSource  RegistryVariableSource  SpecialFolderVariableSource  ConnectionStringsVariableSource