Review: Infragistics NetAdvantage for Visual Studio LightSwitch
More UI options for your LightSwitch 2011 business applications
February 12, 2012
Rating: 4 out of 5 stars
Website: http://www.infragistics.com
Price:Starts at $195
Recently, I was introduced to Infragistics' NetAdvantage for Visual Studio LightSwitch. I was very impressed with the product, and in this review Iintend to show you what impressed me about it. But first I want to give you a quick lap around Microsoft Visual Studio LightSwitch 2011, to providesome background for my review. (Also see the sidebar "My Take on Microsoft Visual Studio LightSwitch," at the end of this article, which puts my reviewin context with my current views about LightSwitch itself.)
Visual Studio LightSwitch 2011 is a simplified self-service development tool that enables you to build business applications quickly and easily for thedesktop and cloud. (For a thorough overview of LightSwitch, check out Don Kiely's article "Visual Studio LightSwitch 2011: A Brand-New Way to Develop Data Applications.") Self-service development tasks consist of hooking up your front end to a back-end data store using the familiar Attach Data Source wizard in VisualStudio. There's nothing new here from the front. But behind the scenes, LightSwitch builds an authentic service-oriented architecture (SOA) for you,complete with autonomous services that separate concerns across well-defined service boundaries. The components of this architecture are all nicelytucked away behind a logical view that shows only Screens and Data Sources.
NetAdvantage for Visual Studio LightSwitch builds neatly on top of the LightSwitch platform, integrating tightly into the Screens view to let you buildbusiness applications with little coding effort. Now that you have a little background on LightSwitch, we can proceed to explore the workings ofNetAdvantage for Visual Studio LightSwitch.
Seamless LightSwitch Integration
LightSwitch provides a designer that you use to design your client screens; the designer includes a sparse collection of Silverlight controls for useon the design surface. The design process is analogous to binding user interface (UI) widgets to data sources. However, the fundamental difference isthat a LightSwitch UI screen represents an independent unit of work on the client. And because of that, each screen has an isolated state from otherscreens. NetAdvantage for Visual Studio LightSwitch ties right into the designer experience, so that the mechanics of the design process are the sameas that of Visual Studio.
Let's look at a couple of examples that illustrate how NetAdvantage for Visual Studio LightSwitch extends Microsoft's LightSwitch. Figure 1 shows myLightSwitch test harness with the design view for a grid pointed at the venerable NorthWinds data store. (My first choice was a report-basedapplication since that's where I see LightSwitch fitting in nicely, but then I discovered that version 1 of Visual Studio LightSwitch 2011 doesn'tinclude reporting functionality.)
Figure 1: Visual Studio LightSwitch test harness
In my CustomerDetail grid, I can customize the columns available and change the default controls for each cell in the grid. It's just point and click,no code. The default installation gives you a label, a textbox, and a custom control, as shown in Figure 1. The custom control option allows you toplace any non-LightSwitch Silverlight control on the grid, but you may need to wire up code to get it to work correctly.
Now look at Figure 2, which shows the same layout using Infragistics' NetAdvantage for Visual Studio LightSwitch. See the difference? Infragistics'NetAdvantage provides at least five times the number of controls as Microsoft's LightSwitch.
Figure 2: Infragistics' NetAdvantage for Visual Studio LightSwitch control collection
The collection of controls is populated from the Extensions tab. You can mix and match controls by making the appropriate selection, though I'm notsure why you would want to do so after seeing what NetAdvantage has to offer. But it's an option nonetheless.
While you're busy hammering away on the Screens, Visual Studio Solution Explorer will display the default logical view of your application -- anot-so-subtle hint that you should prefer the no-code approach when using LightSwitch. There's a little toggle at the top that lets you swap thedefault logical view for the familiar Visual Studio file view.
Unless you peek at the Extensions tab mentioned previously, you don't even realize that you're actually working with a vendor collection of controls.That's simply fantastic because it provides a consistent development experience that you are accustomed to. And it speaks volumes for the seamlessintegration with the IDE.
If you want to see a bit more of what NetAdvantage offers, Infragistics includes a Samples environment, shown in Figure 3, which showcases thetremendous potential waiting patiently to be unlocked by you. The Samples environment is easy to use and includes full source code.
Figure 3: NetAdvantage for LightSwitch Samples environment
A Worthwhile Investment
So, after kicking the tires of NetAdvantage for Visual Studio LightSwitch, here's what I've learned. First, your NetAdvantage for LightSwitchapplications are section 508 compliant. That means that your browser application is accessible. I found one accessibility issue regarding styles, butthat issue lies deep within the Silverlight runtime, not in NetAdvantage for LightSwitch. (For more information about application accessibility, see "How to Code WPF Applications for Accessibility" and "Further Explorations in Developing Accessible Windows Applications.")
NetAdvantage performance checks out OK as well. The LightSwitch designer is a bit sluggish, but that problem existed long before I installedInfragistics' NetAdvantage for LightSwitch -- which leads me to believe that LightSwitch itself could benefit from some performance tuning byMicrosoft.
What I mean by "sluggish" is that your NetAdvantage LightScreen UI doesn't just get up and go talk to the back-end data store, as the logical viewseems to imply. Instead, it has to negotiate a path through the LightSwitch infrastructure. Front-end client requests percolate through aModel-View-ViewModel architecture built on SOA services powered by .NET entities that marshal data between the LightSwitch entities and the intrinsictypes of the underlying implementation. Although you don't see any of this ugly complexity when using NetAdvantage for LightSwitch, it is present, andit extracts a performance cost.
NetAdvantage has a compelling usability story for the developer. The experience is exactly identical to that of Visual Studio LightSwitch. The learningcurve is essentially flat; you're simply working with an extended set of controls and augmenting look and feel by using themes. That translates intoincreased productivity and less running around trying to figure out what to do next.
NetAdvantage for LightSwitch has set a high standard for other LightSwitch third-party products to emulate. Geospatial data visualization raises thebar on interactivity so that you can zoom, tile, and mouse over without writing any code. You'll need to try out NetAdvantage for LightSwitch in theSamples environment to see this feature for yourself. Unique themes such as Office 2010 Blue allow you to remain immersed in the look and feel of theMicrosoft Office 2010 experience right inside your custom application. Although it may be too early to choose a leader in the LightSwitch extensionproducts space, Infragistics' NetAdvantage for LightSwitch has definitely set the pace right out of the starting gate.
[sidebar]
My Take on Microsoft Visual Studio LightSwitch
I think Infragistics' NetAdvantage for Visual Studio LightSwitch is an impressive product well worth the four-star rating I've given it. However, Iworry that the success of this new product is ultimately tied to the adoption of Microsoft Visual Studio LightSwitch 2011. And that is where I thinkstress fractures begin to appear.
At the end of the day, LightSwitch 2011 is an enterprise tool that
lacks support for HTML5
lacks reporting capabilities
does not support printing
does not work with SQL Server stored procedures
is based on Silverlight 4, a technology that is no longer part of Microsoft's strategic direction
Tables with no primary keys (a fairly common occurrence in small shops) don't even show up in the database connection wizard! You'll either need tospend money to plug those gaping holes or bring in the costly developer.
There's one ray of sunlight, though. Businesses whose survival depends on quick time-to-market will definitely like what Microsoft LightSwitch andNetAdvantage for Visual Studio LightSwitch have to offer because these two products make a formidable team.
Alvin Bruney([email protected]) is a longtime ASP.NET MVP and author of five books. His current book,ASP.NET 4 by Example, is currently available for $20 on http://www.lulu.com/owc.
Read more about:
MicrosoftAbout the Author
You May Also Like