K2 1290 is released

This morning I received a happy e-mail from the K2 team about the release of 1290.
In short, this release includes the following:

  • K2 Pass-Through Authentication – An alternative to Kerberos!
  • Process definition delete
  • K2 Designer for SharePoint – Process naming and sharing
  • Office 2010 ribbon in K2 Studio
  • Documentation has been improved and enhanced
  • K2 Services – REST Enabled Services
  • CRUD support for K2 SmartObject Services via REST
  • Updated Wizards
    • Code Reference Event Enhancements – Ability to reuse returns from previous service calls in K2 Designer for Visual Studio and K2 Studio
    • Usability Improvements for lists of metadata – Ability to search and filter lists of metadata.
    • Exchange 2010 Support – Allows the Exchange Wizards to function with Microsoft Exchange 2010.
  • New Wizards
    • Create Folders in SharePoint
    • Convert Document – Converts a Document, or multiple documents, using Word Services to a specified format (e.g., PDF, XPS, DOC, DOCX, etc.)
    • Create Document – Creates a new blank Document based on a SharePoint content type
    • Insert into Document – Insert Content into a content control within a document

A follow up post on K2 Services – Part 1 is already being made at this point. It’s not done, but coming!

Get your update from the normal place: https://portal.k2.com.
More information can be found on the KB001290 page and on the pretty k2.com page.

LINQ2SQL: Where is the DataShape class?

We’re going to use LINQ2SQL in a project. Don’t ask why we’re not doing Entity Framework. When you start out with LINQ2SQL, you’ll google bing on “LINQ2SQL”. This, if you feel lucky, ends up in this page:

http://msdn.microsoft.com/en-us/library/bb425822.aspx

The page is long and old. The read, you’ll just have to cope with. That it is old is sometimes annoying because it’s outdated. What I couldn’t really find was the DataShape class on msdn. That’s because it’s now called the DataLoadOptions class. The DataShape class comes from the beta version of LINQ2SQL.

Hope this helps out other people searching for the DataShape class.

C#’s using statement and the K2 API’s

Recently in one of our projects, we had to do some performance optimizations that required us to look a bit closer at the resources our application used. In general, you should always dispose an object that’s implementing the IDisposable interface.

K2’s client API’s use a connection to the K2 server which needs to be closed and disposed after you’re done using them. In C# you can use the using-statement to dispose your objects when you’re done with it. The using-statement only works on objects that inherits from IDisposable.
Here are some examples of how to correctly use the using-statement when using K2 API’s.

Read more »

WordPress Themes