Tom Hollander's blog

patterns, practices and pontification

Just Released! Enterprise Library 3.0 - December 2006 CTP

Just Released! Enterprise Library 3.0 - December 2006 CTP

  • Comments 38

If you'd planned to spend the Christmas holidays drinking beer, watching cricket and eating way too much (or whatever it is that you normally do at this time of the year in your part of the world), I've got some bad news for you. We've just released the first Community Technology Preview release of Enterprise Library 3.0, so you may well want to spend a good chunk of the holidays geeking out with the new release. To coincide with this release, we've also launched a shiny new CodePlex site that replaces the somewhat rusty GotDotNet that we've used for our community for the past few years. The GDN site will stay there for now so you can view old forum posts, but it's been switched to read-only mode and the CodePlex site is now the place to be.

The CTP doesn't have a lot of documentation, but there is a reasonably detailed Release Notes document explaining what's new. Here's a quick summary of what you can expect:

Core

  • Source Code installer
  • Partial Trust Support
  • Strong-Named Binary Assemblies

Validation Application Block

  • Core validation API
  • Minimal Validator Library
  • Attaching validators to objects via attributes
  • Attaching validators to objects via configuration
  • Not included yet (but in the works): Configuration tool support, complete validator library, integration with ASP.NET, Windows Forms, WCF etc.

Data Access Application Block

  • SQL Server Compact Edition Support
  • New Database.UpdateDatabase overload with updateBatchSize parameter

Configuration Tool

  • Visual Studio IDE integration
  • AppSettings support
  • Encryption support

Application Block Software Factory

  • Templates and recipes for creating application blocks and provider libraries
  • Preliminary documentation

Strong Naming Guidance Package

  • Recipes to assist in strong-naming and updating [InternalsVisibleTo] across multiple projects

Keep in mind that this is a CTP which means there are going to be things that don't work properly and things that we haven't had time to complete yet - so while we'd love you to play with the CTP and give us feedback, we strongly recommend against using it in production applications. We expect to have more, (hopefully) even better CTPs coming out in the new year before the final release.

If there's anything you want to see us fix or change before then, please provide feedback on the CodePlex forum or use the Issue Tracker tool.

Enjoy - and have a Merry Christmas!

  • Similar to Fred13 above, but not exactly... When trying to run the strong naming recipe against Enterprise Library 2.0 solution, we get the following error:

    Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe StrongNameSolution. Error was: Action StrongNameProjects failed to execute:

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt..

    You can remove the reference to this recipe through the Guidance Package Manager. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

      at EnvDTE80.Find2.Execute()

      at Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackage.Actions.StrongNameProjectsAction.AddPublicKeyToInternalsVisible(List`1 projectList, String publicKey)

      at Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackage.Actions.StrongNameProjectsAction.Execute()

      at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)

      at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)

      at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)

      at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)

      --- End of inner exception stack trace ---

      at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)

      at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)

      at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)

      at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)

      at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)

      at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()

      at Microsoft.Practices.RecipeFramework.AssetReference.Execute()

    ----

    I was really hoping to use this since my sacrifice of a goat step in trying to do it manually never seems to work.  

  • I got similar errors when trying WCSF as below. The weird thing is if I restart the machine and create a new wcsf sln and this error will not come up---however, if I do something upon the sln and then try to add a view or module---this error will pop up...

    Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe CreateView. Error was: An error happened while calling the value provider or evaluating the default value of argument ModuleInfos..

    You can remove the reference to this recipe through the Guidance Package Manager. ---> System.ArgumentException: Value Microsoft.Practices.CompositeWeb.Configuration.DependantModuleInfo[] specified for argument ModuleInfos can't be converted to the argument type Microsoft.Practices.CompositeWeb.Configuration.DependantModuleInfo[].

      at Microsoft.Practices.RecipeFramework.Services.DictionaryService.SetValue(Object key, Object value)

      at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)

      --- End of inner exception stack trace ---

      at Microsoft.Practices.RecipeFramework.Recipe.CallProviders(IDictionary providers, IDictionaryService readonlyArguments, IDictionaryService arguments, Boolean isBefore)

      at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)

      at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)

      at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)

      at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()

      at Microsoft.Practices.RecipeFramework.AssetReference.Execute()

      at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()

      at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()

  • I'm also a victim of the dreaded...

    Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe CreateView

    Standard install, followed the installation instructions on the new site word for word.

  • I have had my share of struggle when trying to install Ent. Lib 3.0 and getting Application block Software

  • 刚刚从TomHollander看到消息,EnterpriseLibrary3.0December2006CTP版发布了!这是EnterpriseLibrary3.0发布的第一个版本,同...

  • Enterprise Library Dec 2006 CTP on CodePlex

  • A nice Christmas present from the PAG team: the first CTP of the 3.0 Ent Lib and they have put it on CodePlex . See Tom's blog post for features but my list made it in: Strong-Naming, Config Tool, Validation Block and the App;ication Block Software

  • A nice Christmas present from the PAG team: the first CTP of the 3.0 Ent Lib and they have put it on CodePlex . See Tom's blog post for features but my list made it in: Strong-Naming, Config Tool, Validation Block and the App;ication Block Software Factory.

Page 3 of 3 (38 items) 123