LightSwitch HTML Client Tutorial - Contoso Moving

This tutorial walks through building out the mobile client used by Contoso Movers’ planning specialists. This sample was created for Visual Studio 2012, but it will also upgrade and run in Visual Studio 2013.

VB.NET (6.3 MB)
 
 
 
 
 
4.5 Star
(13)
16,364 times
Add to favorites
12/6/2013
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET
'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Namespace LightSwitchApplication.Implementation

    <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)>
    <Global.System.ComponentModel.Composition.Export(GetType(Global.Microsoft.LightSwitch.ClientGenerated.IClientApplicationFactory))>
    <Global.System.ComponentModel.Composition.PartCreationPolicy(Global.System.ComponentModel.Composition.CreationPolicy.Shared)>
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public NotInheritable Class ApplicationFactory
        Inherits Global.Microsoft.LightSwitch.ClientGenerated.Implementation.ClientApplicationFactory

        Protected Overrides Function CreateApplication(ByVal applicationDefinition As Global.Microsoft.LightSwitch.Model.IApplicationDefinition) As Global.Microsoft.LightSwitch.Client.IClientApplication
            Return New Global.LightSwitchApplication.Application(applicationDefinition)
        End Function

    End Class

    <Global.System.ComponentModel.EditorBrowsable(Global.System.ComponentModel.EditorBrowsableState.Never)>
    <Global.System.ComponentModel.Composition.Export(GetType(Global.Microsoft.LightSwitch.IModuleFactory))>
    <Global.System.ComponentModel.Composition.PartCreationPolicy(Global.System.ComponentModel.Composition.CreationPolicy.Shared)>
    <Global.Microsoft.LightSwitch.Framework.Base.ModuleFactory("LightSwitchApplication")>
    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.LightSwitch.BuildTasks.CodeGen", "11.0.0.0")> _
    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute()> _
    Public NotInheritable Class ModuleFactory
        Inherits Global.Microsoft.LightSwitch.Framework.Base.ModuleFactory

        Public Overrides Function GetModule(ByVal moduleDefinition As Global.Microsoft.LightSwitch.Model.IModuleDefinition) As Global.Microsoft.LightSwitch.IModule
            Return Global.LightSwitchApplication.Application.Current
        End Function

    End Class

End Namespace