Microsoft Visual Studio LightSwitch Business Application Development

A jump-start book and eBook to application development with Microsoft Visual Studio LightSwitch

Microsoft Visual Studio LightSwitch Business Application Development

Starting
Jayaram Krishnaswamy

A jump-start book and eBook to application development with Microsoft Visual Studio LightSwitch
$10.00
$59.99
RRP $35.99
RRP $59.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781849682862
Paperback384 pages

About This Book

  • A hands-on guide, packed with screenshots and step-by-step instructions and relevant background information—making it easy to build your own application with this book and ebook
  • Easily connect to various data sources with practical examples and easy-to-follow instructions
  • Create entities and screens both from scratch and using built-in templates
  • Query using built-in designer and by coding (both VB and C#)

Who This Book Is For

This book is for developers who are beginning to use Visual Studio LightSwitch. Small business houses should be able get a jump start on using LightSwitch. The book does not assume prior knowledge of Visual Studio LightSwitch but exposure to SQL Server, Silverlight, and Microsoft IDEs such as Visual Studio (any version) will be of great help. The book should be useful to both Visual Basic and C# programmers.

In addition to small businesses, this book will be useful to libraries, schools, departmental applications, and to those who might be writing applications to be hosted on desktop, internet and Windows Azure platforms.

Table of Contents

Chapter 1: Getting Started with Microsoft LightSwitch
What is Visual Studio LightSwitch and who is the target audience?
Basic architecture of a VSLS application
Installing Microsoft LightSwitch
Installing the databases used in the book
Summary
References
Chapter 2: Microsoft LightSwitch IDE and Architecture
Visual Studio LightSwitch Beta 2 application architecture
Visual Studio LightSwitch Beta 2 IDE
Exploring the LightSwitch Project
Summary
References
Chapter 3: Accessing data from a VSLS Application
WCF RIA service
Creating data entities in LightSwitch applications
Creating data entities using an external data source
Summary
References
Chapter 4: Screens in VSLS application
Screens, data, and visual presentation
Microsoft LightSwitch screens
Summary
References
Chapter 5: Working with Entities
Entities in Microsoft LightSwitch
Summary
References
Chapter 6: Querying and Filtering Data
Querying in LightSwitch
Querying a Single Entity
Querying multiple entities
Querying a query
Summary
References
Chapter 7: Writing Code in Microsoft LightSwitch
Getting started with writing code
Writing and testing code targeting the entity
Writing and testing screen-related code
Writing custom queries using code
Summary
References
Chapter 8: Authentication and Authorization in Microsoft LightSwitch
Authentication schemes
Access permission
User Management
Summary
References
Chapter 9: Deploying LightSwitch Applications
Publishing and maintaining a two-tier desktop application
Publishing to Web
Publishing a three-tier application
Publishing application to Windows Azure
Creating a package for publication
Summary
About using project download from thePackt site
Reference
Chapter 10: Troubleshooting, Debugging, Custom Controls, and Extensions
Troubleshooting
Debugging LightSwitch applications
Adding custom controls to LightSwitch
Extensions
Summary
References

What You Will Learn

  • Download and install Visual Studio LightSwitch on Windows 7 and Windows XP; also install the required sample databases
  • Create a local entity, and connect to external data sources including SQL Servers and WCF RIA Data services
  • Work with screens in different business activities
  • Design queries using the built-in query designer for filtering and sorting data
  • Deploy the various security features to your application
  • Deploy your application in various topologies

In Detail

Visual Studio LightSwitch is a new development tool for building business applications for the desktop, the web, and the cloud with ease. You can easily do most of the designing for your application, but for building business applications you need to acquire the right skills. With this book you will gain confidence in working with LightSwitch, and the skills you acquire will greatly help you to develop applications yourself.

This Visual Studio LightSwitch Business Application Development book is dedicated to giving you hands-on experience, when it comes to developing applications on LightSwitch. Everything, right from downloading the software to creating your application to deploying it, is discussed extensively. All this is laid out in an easy to understand and step-by-step format.

You will learn how to set up your database and link to the data whether it is on a local or remote database. Once you know how to work with data, you will then learn to set up screens and use screen templates. Work with entities and LightSwitch specific data types; query and filter data with designer and code. Write simple and complex queries with and without writing code. You will also write custom code using the built-in event handlers.

No business software can function without addressing security issues and Visual Studio LightSwitch has a rock solid, deceptively simple way to handle security and you will learn to do this from scratch with ASP.NET. Once the application is built you will explore the different ways to deploy it.

Authors

Table of Contents

Chapter 1: Getting Started with Microsoft LightSwitch
What is Visual Studio LightSwitch and who is the target audience?
Basic architecture of a VSLS application
Installing Microsoft LightSwitch
Installing the databases used in the book
Summary
References
Chapter 2: Microsoft LightSwitch IDE and Architecture
Visual Studio LightSwitch Beta 2 application architecture
Visual Studio LightSwitch Beta 2 IDE
Exploring the LightSwitch Project
Summary
References
Chapter 3: Accessing data from a VSLS Application
WCF RIA service
Creating data entities in LightSwitch applications
Creating data entities using an external data source
Summary
References
Chapter 4: Screens in VSLS application
Screens, data, and visual presentation
Microsoft LightSwitch screens
Summary
References
Chapter 5: Working with Entities
Entities in Microsoft LightSwitch
Summary
References
Chapter 6: Querying and Filtering Data
Querying in LightSwitch
Querying a Single Entity
Querying multiple entities
Querying a query
Summary
References
Chapter 7: Writing Code in Microsoft LightSwitch
Getting started with writing code
Writing and testing code targeting the entity
Writing and testing screen-related code
Writing custom queries using code
Summary
References
Chapter 8: Authentication and Authorization in Microsoft LightSwitch
Authentication schemes
Access permission
User Management
Summary
References
Chapter 9: Deploying LightSwitch Applications
Publishing and maintaining a two-tier desktop application
Publishing to Web
Publishing a three-tier application
Publishing application to Windows Azure
Creating a package for publication
Summary
About using project download from thePackt site
Reference
Chapter 10: Troubleshooting, Debugging, Custom Controls, and Extensions
Troubleshooting
Debugging LightSwitch applications
Adding custom controls to LightSwitch
Extensions
Summary
References

Book Details

ISBN 139781849682862
Paperback384 pages
Read More