LightSpeed 5 Now Available!

LightSpeed ORM for .NET

The day has finally arrived and we’re excited to announce LightSpeed 5. The worlds best .NET ORM just got even better!

Here’s a run down on some of the best improvements. Keep in mind that the change log for LightSpeed is the longest we’ve ever had so these are just the highlights — there is awesomeness sprinkled everywhere.

Compiled Queries

LightSpeed already had one of the fastest query generation processes of any .NET ORM but now we support Compiled Queries also. Compiled Queries mean that we can side step the cost of query generation almost entirely on subsequent queries where only variables change (e.g. ‘SELECT name FROM user WHERE Id = {ID}’).

Lets take a peek at how this compares between LightSpeed 4 and LightSpeed 5

LightSpeed 4 vs. LightSpeed 5

Pretty impressive! 59% performance improvement in simple queries.

Of course LightSpeed has always been pretty impressive compared to what’s out there. Here’s those same numbers in comparison to Entity Framework.

LightSpeed vs. the Rest

You can see why software professionals pick LightSpeed. It’s not just significantly more efficient in querying, but it is also a lot easier to use and saves you valuable development hours (the many hours saved not shown in the graphs!)

Automatic compiled queries

Compiled queries are a cool new addition. You know what else is cool? When they get applied automatically! We’ve made sure that if you call FindById, for example, LightSpeed will internally create a compiled query so all your fetches by Id automatically go faster.

Along with automatically occurring with FindById, LightSpeed will use this technique when walking lazy loaded collections (e.g. User.Posts would use a compiled query). This means when you’re doing simple things like walking collections you’re going at maximum speed.

More speed, automatically!

First class SQL 2012 support

We’ve included a new SQL Server 2012 data provider. This is great because we already had support for all the modern data types like SQLGeography, HierarchyID and CLR Types and now you can use LightSpeed to natively target SQL Server 2012 including leveraging the new SEQUENCE support for identity generation.

More friendly design surface

LightSpeed Designer

The LightSpeed Designer has been improved to help new users. It will now do nice things like offer to create a KeyTable for you if you don’t have one setup but are using the KeyTable identity type. A common speed bump for new users that we wanted to clear up.

You can also display table data for a given entity directly within Visual Studio. This helps avoid needing to fire up SQL Management Studio or other tool to see your data.

For those of you who have not worked with a Visual Studio integrated designer that doesn’t suck, you’ll find the LightSpeed Designer a breath of fresh air. It has database-first and model-first design support, smart filtering, works with a bunch of different databases and much more. You can read more about designer specific features here.

There are several other improvements to make the designer more robust, provide better error messages and improve database syncing.

Grab it now!

You’ll love how easy LightSpeed is to use and won’t look back. If you’ve never used LightSpeed you can grab the forever free version and give it a test drive!

Existing customers with active subscriptions already have LightSpeed 5 available from their accounts.

Tagged as LightSpeed, News

Nightly news, 1 Mar 2013

LightSpeed

  • Suppress code gen of LINQ IQueryable for transient entities
  • Fix issue for C# templates with association fields being marked private when derived types are present, should be protected in these cases
  • Fix for issue with delete cascading of an entity where it was associated with the base entity in a CTI relationship

Web Workbench

  • Fix for an issue with invalid warnings being emitted regarding missing folders on save
  • Updated CoffeeScript to 1.5
  • Added support for Literate CoffeeScript
  • Added an option to suppress warnings about missing folders to Web Workbench options
  • Updated the Visual Studio Gallery

WPF Diagrams

  • Resolved a connection point placement issue caused by deserializing a rotated node.
    (details)

WPF Elements

  • Resolved a DataGrid auto column size bug.
    (details)
  • Resolved a bug caused by using Snoop to debug the DataGrid.
    (details)
  • Resolved a bug calculating the extent of the DataGrid.
    (details)
  • Resolved an edge case issue in a DataGrid with 1 column and FrozenColumnCount = 1.
    (details)
  • Resolved an exception when dragging the DataGrid padding column header.
    (details)
  • Added Minor and MajorRangeButtonsVisibility properties to the TimeExplorer.
    (details)
  • Resolved a DataGridPager bug.
    (details)
  • Resolved a bug in LineAreaSeriesBase.GetY when the data includes null points.
    (details)

As usual the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

Nightly news, 11 Jan 2013

Web Workbench

  • Patch to JS2Coffee to avoid stdin check
  • Misc bug fixes
  • Visual Studio Gallery updated!

LightSpeed

  • Fix for rogue SqlServer UDT types causing an exception when surfaced in via the stored proc route, set these as object data types if encountered instead.
  • Fix for http://www.mindscapehq.com/forums/thread/539142

WPF Elements

  • Fixed DataGrid column horizontal scrolling bug when there is a frozen column count and a hidden column to the left of it.
    (details)

Metro Elements

  • Fix: CoverFlows with non-linear paths now have drag manipulation enabled
  • Misc bug fixes

As usual the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

Nightly news, 14 Dec 2012

Hack the Gibson

LightSpeed

  • Fix for an aliasing issue with CTI
    (details)
  • 5.0 beta now available!

Web Workbench

  • Added an option to trigger a compile of all files on build

WPF Elements

  • Resolved a bug in the DoubleTextBox control.
    (details)
  • Invisible columns are skipped when navigating in a DataGrid.
    (details)
  • Resolved a minor bug with rendering data labels on a horizontal bar chart to the left of the baseline.
    (details)

WPF Diagrams

  • Smart scrolling for connection creation.
    (details)
  • WPF Diagrams 3.0 released!

Metro Elements

  • Fixed chart legend positioning when centered

As usual the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

LightSpeed 5 beta is out!

BOOM! That’s the sound of the worlds best .NET ORM getting a major update! :-)

We’re excited to be announcing the immediate availability of the LightSpeed 5 Beta.

LightSpeed 5 Beta Released

We have a big list of addition, changes and bug fixes so for now I’m just going to highlight some key differences in this post. In January we’ll be running a series on the major features when the final version is released.

Compiled Queries

Compiled queries allow you to speed up querying by having LightSpeed pre-parse the expression and get it ready for sending to the database. This provides a great speed up on repeated queries even if the parameter values change.

Then we got to thinking.

What if common queries (e.g. fetch by Id and others) were always pre-compiled behind the scenes?

What we found was huge: the performance benefits were great. This led us to turning on compiled queries for certain queries by default so you don’t need to use the compiled queries syntax. This resulted in a 60% performance boost. Free performance gain for all LightSpeed users — always a good thing. Especially good since LightSpeed is already blazingly fast!

LightSpeed vs Entity Framework performance

Note: Posting any sort of performance comparison typically results in howls about how unfair they are or unrealistic but this highlights the speed of LightSpeed’s querying engine for a simple case. Suffice to say, LightSpeed does awesomely in complex scenarios also :-)

Database provider changes

We are working towards allowing end users to implement their own database providers and to allow support for mobile scenarios, to that end we have made some under the hood changes to the provider infrastructure in 5.0 as well as refreshing our supported providers.

Of note:

  • A SQL 2012 provider that includes support for the Sequence identity type
  • Improvements have been made in the designer to better reflect the list of available providers and to improve the design time experience for developers
  • The database provider infrastructure has been overhauled as a precursor to allowing us to bring LightSpeed to mobile platforms in the future.

Visual Studio 2012 Support

We have had this in the nightly builds most of this year, but it’s worth mentioning again – LightSpeed 5 ships with full designer support for Visual Studio 2012, Visual Studio 2010 and Visual Studio 2008.

Additionally we have dropped the .NET 2.0 only compatibility build of LightSpeed so that LightSpeed can more directly make use of .NET 3.5 features in the core runtime.

Ever improved querying

We have continued iterating our querying support since 4.0 RTM with the core runtime now supporting HAVING expressions and more advanced sub-queries. For LINQ we have improved our handling of more complicated grouping queries and use of sub-queries to support staged query construction using IQueryable. The core runtime now also exposes a RawSql property on the query object to allow arbitrary SQL to be expressed where previously stored procedures or FindBySql would need to be used – this allows joining on an arbitrary SQL statement to handle situations where you need to explicitly control the SQL being emitted.

Small acorns

Whether it’s the ability to get an offending Validation rule when checking an entity is valid, or get more details about your entities using the LightSpeed.Meta framework, you’ll find something to delight you with LightSpeed 5. We look forward to hearing your feedback on the beta and we can’t wait to get LightSpeed 5 final out early in 2013!

The LightSpeed 5 Beta is now available to all active customers, and you can download this from your My Account page now!

Non-customers will have the 5 release in very early 2013 (or you can upgrade from LightSpeed 4 Free Edition and get the beta).

Archives

Join our mailer

You should join our newsletter! Sent monthly:

Back to Top