WPF Elements 6.0 Released!

Today we are pleased to announce the release of WPF Elements 6.0. This version includes a huge load of improvements, features, bug fixes and a new control.

Ribbon control

The main new control in this version is the Ribbon control. A lot of users will be familiar with this control as the command hub that sits at the top of Microsoft Office applications. This control is a replacement for the Menu control and is used to categorize application commands and display them nicely to the user. Out of the box, this control supports a lot of WPF Controls including buttons, check boxes, comboboxes, numeric controls, split buttons and more. Based on the available screen real-estate, the Ribbon control will select a small, medium or large state for each control and arrange them in an optimal way. If there isn’t enough space, groups of controls will bubble down into expandable segments so the user still has access to everything.

Ribbon control

Included with the Ribbon control is the Gallery control which is like a Ribbon-friendly list box. Items are displayed in horizontal rows and can be navigated through with smooth animations. The user can expand the whole list of items in a popup where items can be optionally categorized. Gallery controls can either be placed directly within the Ribbon control, or within the dropdown part of a split button.

Gallery control

A demo called “Text Formatter” is included with WPF Elements 6.0 which demonstrates all the features of the Ribbon control.

Improved DateTime axis support

Since version 1 of the Chart control, there has always been support for displaying DateTime values along the axes. The axes automatically space out the tick marks and labels which works well for numbers, but could be better for DateTime values. In WPF Elements 6.0 the axes logic for DateTime values is much improved. Labels will now be separated by proper time units rather than seemingly random intervals. For example, based on the current time range on the axis, the labels could be separated by 5 minutes, or 12 hours, or 2 days or 3 months etc. The interesting one here is monthly intervals because each month has a different number of days. The labels and tick mark spacings will be physically different to support this making the axis labels very easy to read.

Improved DateTime axis support

Accurate data rendering.

The Chart control can handle millions of data points at once while maintaining good responsiveness. One of the ways it does this is by skipping over some of the data points so that only a few hundred points need to be rendered at once. As you zoom in, less points are skipped over so all the data can still be viewed. By default, the Chart control skips over of a constant number of data points per render. For example, the Chart may render every 10th point. This works well, but it can potentially skip extreme outlying data points and not capture an accurate shape of the data. In version 6.0 we include the IsMinMaxSamplingEnabled property on data series which when set to true will sacrifice a small amount of performance to render more accurate data. This is ideal for data that has sudden changes in the trend or outlying values. Here is a before and after shot of a trigonometry equation containing an extreme amount of spikes. For this kind of data there is a huge improvement with using this feature.

Old data sampling

New data sampling

There are heaps of other additions that I’d love to tell you about but can’t fit into this blog post. For the full list, check out the Getting Started/What’s New page in the documentation that is shipped with the product. You can also see a simplified list of what’s new right here.

If you’re already a WPF Elements customer, you can upgrade to version 6.0 for free by going to your account page. If not, download the free 30 day trial to see what you’re missing out on. If you have any questions about WPF Elements, let us know in the forum. We’d also love to hear any feature requests you have.

Tagged as WPF Elements

C# Smorgasbord book: 50 copies to win with Raygun

Our friend Filip Ekberg has written a fantastic book for C# developers: ‘C# Smorgasbord’. It’s a great book so we thought we’d buy a bunch of copies to give out to people for trying out Raygun.

What’s great about C# Smorgasbord?

C# Smorgasbord book

Filip states that the book is great for beginners through to advanced developers. What we like is the more advanced end of the book. There’s plenty of ‘Learn C# in 45 seconds’ style guides out there but sometimes it can be difficult to find a more meaty read. Filip delivers some great content for professional developers.

Here’s an example of some of the chapters:

  • Chapter 1 covers Parallel Extensions
  • Chapter 5 covers async programming with varying approaches
  • Chapter 9 discusses Microsoft IL language in an easy manner and is great for embracing what’s happening under the covers of the C# compiler
  • Chapter 10 looks at the Roslyn CTP, a technology we’ve covered on our blog here before

Getting yourself a copy

Now, you could go out and buy a copy right now from Amazon (it’s worth it), or you could get a free copy from us!

Here’s how to win a free copy:

  • Sign up for a free trial of Raygun.
  • Integrate Raygun with your software – you must be sending data into Raygun to qualify.
  • Once you have errors flowing into Raygun, tweet your favourite feature of raygun with the hashtag #raygunio.

We will select the first 50 users who do this and send you out a copy of Filip’s great book. You also need to meet the terms. Speaking of which…

The terms

  1. Limited to 50 books
  2. You must complete all three steps to qualify for entry.
  3. You must integrate Raygun into a proper software product – no throw away or test applications just to gain entry! :-) We can see the activity of errors flowing into your Raygun account.
  4. The competition will run until April 20th 2013 or until all books have been won – whichever comes first.
  5. Mindscape reserves the right to cancel the competition at any time and void invalid entries.
  6. If Filip’s book is not available or cannot be shipped to you by Amazon we will provide a gift voucher of the same value.

Get going!

What are you waiting for? It takes minutes to integrate Raygun, you’ll get a great book for free and your software will be rock solid for years to come thanks to Raygun helping with your error reporting!

Tagged as Raygun.io

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

Get an awesome Raygun T-shirt!

Robbie the Robot wants you!

Robot

To try out our newest product for tracking and fixing errorsRaygun.io!

Sign up for a FREE 30 day trial, and find out how Raygun makes error collecting, reporting and management automatic and easy.

Sign up to raygun for a free trial

Then, if you blog about your experience with Raygun (and your honest experience at that), we’d love to send you your very own Raygun T-shirt (anywhere in the world).

Double-T-shirts

Like these cool dudes are wearing!

They come in lady sizes too!

Hilary-raygun-tshirt

I’m an error blasting machine.

So if you would like to do a blog review of your experience with the mighty Raygun, sign up here for your free trial, and email hilary@mindscape.co.nz to grab one of these rad T-shirts while we still have ‘em!

Tagged as General

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.

Archives

Join our mailer

You should join our newsletter! Sent monthly:

Back to Top