Book Image

Microsoft Visual Studio LightSwitch Business Application Development

By : Jayaram Krishnaswamy
Book Image

Microsoft Visual Studio LightSwitch Business Application Development

By: Jayaram Krishnaswamy

Overview of this book

<p>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.<br /><br />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.<br /><br />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. <br /><br />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.</p>
Table of Contents (18 chapters)
Microsoft Visual Studio LightSwitch Business Application Development
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Authentication and Authorization in Microsoft LightSwitch

Application security is a must-have feature for all businesses. Microsoft LightSwitch has sufficient built-in security features to support both authentication and authorization. Authentication uniquely and unambiguously identifies the user while authorization determines what an authenticated user can and cannot perform in the application.

Additionally during development, there is a provision to test the security feature without exiting the IDE which speeds up the development process.

Microsoft LightSwitch authentication and authorization is built on familiar Microsoft technologies used in various products and therefore presents an easier learning curve or very little extra learning for those who are already familiar. The application level security scheme in Microsoft LightSwitch is an extension of the ASP.NET security which utilizes membership and roles supported by Profile provider APIs.

Users accessing the application should...