Record Detail Back

XML

SharePoint Apps with LightSwitch


The important thing to point out right from the start is that Visual Studio LightSwitch in its stand-alone version shares much of the same functionality as the full version of Visual Studio. Figure 1-1 shows the opening screen of Visual Studio LightSwitch, which looks just like what you would see if you launched the full version. There are differences, however, in many ways. Visual Studio LightSwitch uses a model-based approach to building applications and a declarative method of creating screens. That means you won’t have the familiar drag-and-drop design surface for your screens you’d expect with a typical C# or VB.NET Windows application. Many of the same menus, like the Server Explorer, are still available but are hidden by default. Other menus, like the toolbox with various screen elements, are not there in the stand-alone version. You will be able to debug your applications by using the normal process of setting breakpoints, examining variables, and single-stepping through your code. The only hitch here is you have to write code to actually debug it. In some cases, it’s helpful to put in a debug line in a routine you know will run just to poke around and see what variables are used. If you do start poking around underneath the covers of the Microsoft code created for every LightSwitch app, you’ll quickly find out that there’s a lot of code there. It’s prob- ably best that you not change any of the automatically generated code unless you want to break something. There are plenty of places to add your own custom changes without modifying the default code. You’ll see this a little later on when I introduce you to the different designers.

Paul Ferrill - Personal Name
978-1-449-32116-1
NONE
Information Technology
English
2012
1-78
LOADING LIST...
LOADING LIST...