Michael Washington's Blog, page 15
November 1, 2013
Using MVC With Visual Studio LightSwitch
You can use ASP.NET MVC with Visual Studio LightSwitch…
Tags: MVCOctober 25, 2013
Using JayData to Consume the Visual Studio LightSwitch OData Business Layer in a AngularJs CRUD Application
You can consume your backend OData Visual Studio LightSwitch services in AngularJs. Coding your business layer in LightSwitch will save you a lot of development time and reduce the code you will be required to write…
Tags: AngularJsOctober 14, 2013
Creating an AngularJS CRUD Application Using Visual Studio LightSwitch
Visual Studio LightSwitch can be used as the backend data source for your AngularJs applications…
Tags: MVCOctober 12, 2013
Creating a MVC 5 CRUD Application Using Visual Studio LightSwitch
You can speed up development of your ASP.NET MVC 5 applications by using Visual Studio LightSwitch to code your model. To complete your MVC application, you only need to create the controllers and the views…
Tags: MVCOctober 6, 2013
LightSwitch Survey: Handling Complex Business Logic Using WCF RIA Services
Handling complex business logic in a Single Page Application (SPA) is not a simple task. Process flow that is normally easily enforced in a traditional postback web application, can have security holes, because hackers can access the service methods directly...
Tags: WCF RIA Service,HTML ClientOctober 5, 2013
Creating a WCF RIA Service for Visual Studio LightSwitch 2013
The primary reason you may want to use WCF RIA Services with Visual Studio LightSwitch 2013 is to:
Combine more than one entity into a single entity. Eliminate unneeded columns in an entity to improve performance (otherwise large amounts of data, for example pictures, will be transmitted even when they are not shown). Implement calculated fields that allow the resulting values to be searchable and sortable. Tags: WCF RIA Service,VS2013September 29, 2013
Paging and Sorting in LightSwitch HTML Client
This article demonstrates one method to implement paging and sorting in the LightSwitch HTML Client. This example uses a PreprocessQuery that takes parameters…
Tags: HTML ClientSeptember 23, 2013
Sending Asynchronous Emails Using LightSwitch HTML Client
This article demonstrates how you can send server-side asynchronous emails using the Visual Studio LightSwitch HTML Client. Sending emails using LightSwitch has been covered before, notably by Paul Patterson, the difference with this article is that the emails will be sent asynchronously, so they don’t block the user interface or cause it to hang while the email is being sent…
Tags: VS2013September 19, 2013
Making JavaScript Intellisense work in Visual Studio LightSwitch HTML Client
Sometimes the JavaScript Intellisense work in Visual Studio LightSwitch HTML Client wont work when edit a Screen code file…
Tags: JavaScriptSeptember 17, 2013
JQuery Mobile Tree Using Collapsible Sections and Dynamic Views in LightSwitch
When displaying hierarchical data, or lists inside of lists, in a business application, a tree control is usually used. However, a traditional tree control is not well suited to a mobile friendly application. JQuery Mobile recommends using collapsible content blocks.
To enable collapsible content blocks in Visual Studio LightSwitch HTML Client, it is necessary to use the Jewel Lambert method described in jQuery Mobile Collapsible Content Control with LightSwitch. This will enable collapsible content, but it will not handle dynamic content inside the collapsible sections.
To enable dynamic content we can create dynamic HTML inside the collapsible content blocks…
Tags: HTML Client