The Microsoft Visual Studio LightSwitch team released an update to LightSwitch in Visual Studio 11 that contains a bunch of bug fixes, feature enhancements, and cool new scenarios that weren’t doable in v1.
Here is what’s new?
First, LightSwitch in VS11 has embraced OData. “OData is an open-standards data protocol for querying and updating data built on Web technologies such as HTTP, Atom Publishing Protocol, and JSON to provide access to data from a variety of applications, services, and stores. In short, an increasingly broad set of web sites and applications are exposing their data via OData, and now LightSwitch in VS11 adds first-class support for connecting your business applications to OData feeds.”
“In VS11, LightSwitch also makes is extremely easily to produce and deploy your own data as OData services,” posted the team. This is both true for tables you define in your project as well as external data sources you connect to. “What this means is that the LightSwitch server pipeline (you know, the tier that provides data CRUD, queries, authentication, authorization, validation, etc.) is no longer a closed black box – other apps can now leverage the simplicity and power of LightSwitch via the OData feeds it exposes,” the team explains.
Defining Relationships within External Data Containers
You can now specify your own user-defined relationships between entities within the same container after importing them into your project.
You can now assign Roles and Permissions to Active Directory security groups. “Other enhancements are: Web Address and Percentage were added to collection of built-in business types to boost your productivity for these common data types, specifying custom formatting of numeric and date types is as easy as configuring a property, and adding static text and images to your screens has been greatly simplified,” the team added.
Also, Microsoft released a new version of the LightSwitch Filter control extension that is compatible with LightSwitch in Visual Studio 11.
“If you were using the previous version of this control and you want to upgrade your LightSwitch project to Visual Studio 11, first install this control. Then upgrade your project and reselect this version of the control on the project properties extensions tab,” informs the LightSwitch team.