Michael Washington's Blog, page 15

November 1, 2013

Using MVC With Visual Studio LightSwitch

image

You can use ASP.NET MVC with Visual Studio LightSwitch

Tags: MVC
 •  0 comments  •  flag
Share on Twitter
Published on November 01, 2013 16:20

October 25, 2013

Using JayData to Consume the Visual Studio LightSwitch OData Business Layer in a AngularJs CRUD Application

image

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: AngularJs
 •  0 comments  •  flag
Share on Twitter
Published on October 25, 2013 06:02

October 14, 2013

Creating an AngularJS CRUD Application Using Visual Studio LightSwitch

image

Visual Studio LightSwitch can be used as the backend data source for your AngularJs applications…

Tags: MVC
 •  0 comments  •  flag
Share on Twitter
Published on October 14, 2013 21:25

October 12, 2013

Creating a MVC 5 CRUD Application Using Visual Studio LightSwitch

image

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: MVC
 •  0 comments  •  flag
Share on Twitter
Published on October 12, 2013 07:25

October 6, 2013

LightSwitch Survey: Handling Complex Business Logic Using WCF RIA Services

 

 

image

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 Client
 •  0 comments  •  flag
Share on Twitter
Published on October 06, 2013 22:34

October 5, 2013

Creating a WCF RIA Service for Visual Studio LightSwitch 2013

 image

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,VS2013
 •  0 comments  •  flag
Share on Twitter
Published on October 05, 2013 07:28

September 29, 2013

Paging and Sorting in LightSwitch HTML Client

image

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 Client
 •  0 comments  •  flag
Share on Twitter
Published on September 29, 2013 07:01

September 23, 2013

Sending Asynchronous Emails Using LightSwitch HTML Client

image

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: VS2013
 •  0 comments  •  flag
Share on Twitter
Published on September 23, 2013 22:16

September 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: JavaScript
 •  0 comments  •  flag
Share on Twitter
Published on September 19, 2013 06:13

September 17, 2013

JQuery Mobile Tree Using Collapsible Sections and Dynamic Views in LightSwitch

LightSwitchTree

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
 •  0 comments  •  flag
Share on Twitter
Published on September 17, 2013 19:21