Skip to content

Version 4.6.401

Choose a tag to compare

@rockfordlhotka rockfordlhotka released this 30 Jun 23:30

This release is focused primarily on enhancing the existing Xamarin support.

🛑 🔐 Security warning: This version of CSLA .NET allows the use of WcfProxy. WcfProxy uses the NetDataContractSerializer (NDCS) which has known vulnerabilities that can allow remote execution of code during deserialization. NDCS itself is considered obsolete, and you should avoid using WcfProxy or upgrade to CSLA 6 or higher where this issue does not exist.

There is now a Csla.dll targeting PCL Profile111, which is the current profile for Xamarin.Forms projects and .NET Core.

There is also now a CSLA-Xamarin NuGet package that includes a Csla.Xaml.dll with support for Xamarin.Forms. This includes the same viewmodel base classes as the other XAML platforms, and an implementation of the PropertyInfo control tailored for use in Xamarin.Forms.

@JasonBock added even more analyzers for Visual Studio 2015 to help developers avoid common coding mistakes when building CSLA .NET business classes.

We now have support for the prerelease of Entity Framework 7.

The pt and pt-BR resources for Csla.dll have been updated. Other languages need updates as well - please contribute if you are a native speaker!

There is a new way to customize the server-side data portal by implementing an interceptor that is invoked via the new DataPortalBroker. (#564)

This release is available via NuGet.

  • #608 Fix/enhance Source and Value property in Csla.Xaml.PropertyInfo control
  • #550 Add Xamarin.Forms support in Csla.Xaml
  • #568 Add PCL support for Profile111 (Xamarin.Forms and .NET Core)
  • #457 Analyzer: Find Usages of Non-Serializable Types
  • #458 Analyzer: Catch when Save() is Called on Itself
  • #553 Analyzer: Address => Property Syntax in Analyzers
  • #555 Analyzer: Fix Issue with Partial Classes in Analyzers
  • #518 EF7 Support
  • #539 Fix WinRT bug with OnDeserializedHandler
  • #576 Update Resources pt and pt-BR
  • #564 Add DataPortalBroker to allow DataPortal Interception
  • #574 Fix issue with HttpProxy and Xamarin

Summary of updates since 4.5.x

You can see the change logs for the 4.6.x releases:

There are some important non-technical or semi-technical enhancements, including:

  • From version 4.6.300 CSLA is now under the MIT license
  • Code of Conduct document for contributors and people participating in this forum
  • CI server using Appveyor (and a private one using VSTS)
  • Now using ZenHub to better track/manage issues and backlog
  • Attach gitter site to this forum for any real-time chats we all might want to enjoy

At a high level the technical enhancements include:

  • Move all code to a unified set of shared projects - no more "dangling" code files in platform-specific folders, making maintenance easier and cross-platform consistency higher
  • Add .NET 4.6 support
  • Update to latest version of Xamarin
  • Add .NET Core 1.0 support
  • Add ASP.NET Core 1.0 support
  • Add several analyzers for VS15 that help improve coding quality
  • Add support for custom serialization formatters
  • New LazyGetProperty and LazySetProperty methods to simplify lazy loading of values
  • Support new Serialized and other implementations in Xamarin and UWP
  • All platforms now support HttpProxy talking to an HttpPortal endpoint
  • Various bug fixes

What was removed?

  • Support for Silverlight
  • Support for Windows Phone 7 (Silverlight)