Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Apress committed Oct 17, 2016
0 parents commit eef1780
Show file tree
Hide file tree
Showing 14,477 changed files with 3,133,306 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file added 9781430250715.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,27 @@
Freeware License, some rights reserved

Copyright (c) 2013 Tim Leung

Permission is hereby granted, free of charge, to anyone obtaining a copy
of this software and associated documentation files (the "Software"),
to work with the Software within the limits of freeware distribution and fair use.
This includes the rights to use, copy, and modify the Software for personal use.
Users are also allowed and encouraged to submit corrections and modifications
to the Software for the benefit of other users.

It is not allowed to reuse, modify, or redistribute the Software for
commercial use in any way, or for a user�s educational materials such as books
or blog articles without prior permission from the copyright holder.

The above copyright notice and this permission notice need to be included
in all copies or substantial portions of the software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS OR APRESS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


15 changes: 15 additions & 0 deletions README.md
@@ -0,0 +1,15 @@
#Apress Source Code

This repository accompanies [*Visual Studio Lightswitch 2012*](http://www.apress.com/9781430250715) by Tim Leung (Apress, 2013).

![Cover image](9781430250715.jpg)

Download the files as a zip using the green button, or clone the repository to your machine using Git.

##Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

##Contributions

See the file Contributing.md for more information on how you can contribute to this repository.
38 changes: 38 additions & 0 deletions Visual Studio LIghtswitch 2012/Chapter10/HelpDeskCS/HelpDeskCS.sln
@@ -0,0 +1,38 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelpDeskPortalCS", "HelpDeskPortalCS\HelpDeskPortalCS\HelpDeskPortalCS.csproj", "{1DB90E64-830B-4E3C-84B0-F2B3131E2049}"
EndProject
Project("{ECD6D718-D1CF-4119-97F3-97C25A0DFBF9}") = "HelpDeskCS", "HelpDeskCS\HelpDeskCS.lsproj", "{3D158C96-DB5B-4B82-9EC5-653CFD4993A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1DB90E64-830B-4E3C-84B0-F2B3131E2049}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DB90E64-830B-4E3C-84B0-F2B3131E2049}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DB90E64-830B-4E3C-84B0-F2B3131E2049}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1DB90E64-830B-4E3C-84B0-F2B3131E2049}.Release|Any CPU.Build.0 = Release|Any CPU
{3D158C96-DB5B-4B82-9EC5-653CFD4993A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3D158C96-DB5B-4B82-9EC5-653CFD4993A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D158C96-DB5B-4B82-9EC5-653CFD4993A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D158C96-DB5B-4B82-9EC5-653CFD4993A5}.Release|Any CPU.Build.0 = Release|Any CPU
{EDC504C5-4AED-4211-809C-A989A0D2DACC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EDC504C5-4AED-4211-809C-A989A0D2DACC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EDC504C5-4AED-4211-809C-A989A0D2DACC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EDC504C5-4AED-4211-809C-A989A0D2DACC}.Release|Any CPU.Build.0 = Release|Any CPU
{434AEB6A-8EA6-40A3-81A1-968BA9D176BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{434AEB6A-8EA6-40A3-81A1-968BA9D176BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{434AEB6A-8EA6-40A3-81A1-968BA9D176BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{434AEB6A-8EA6-40A3-81A1-968BA9D176BE}.Release|Any CPU.Build.0 = Release|Any CPU
{74B6784E-0D26-4803-948E-B86D1D539089}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74B6784E-0D26-4803-948E-B86D1D539089}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74B6784E-0D26-4803-948E-B86D1D539089}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74B6784E-0D26-4803-948E-B86D1D539089}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Binary file not shown.
@@ -0,0 +1,33 @@
rd /q /s Bin\Debug
rd /q /s Bin\Release

rd /q /s Client\Bin\Debug
rd /q /s Client\Bin\Release

rd /q /s Client\obj\Debug
rd /q /s Client\obj\Release

rd /q /s ClientGenerated\Bin\Debug
rd /q /s ClientGenerated\Bin\Release

rd /q /s ClientGenerated\obj\Debug
rd /q /s ClientGenerated\obj\Release

rd /q /s Common\Bin\Debug
rd /q /s Common\Bin\Release

rd /q /s Common\obj\Debug
rd /q /s Common\obj\Release

rd /q /s Server\Bin\Debug
rd /q /s Server\Bin\Release

rd /q /s Server\obj\Debug
rd /q /s Server\obj\Release

rd /q /s ServerGenerated\bin\Debug
rd /q /s ServerGenerated\bin\Release
rd /q /s ServerGenerated\bin

rd /q /s ServerGenerated\obj\Debug
rd /q /s ServerGenerated\obj\Release
@@ -0,0 +1,222 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>
</SchemaVersion>
<ProjectTypeGuids>{01074E5A-9000-460e-AB81-3A9263818D40};{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{434AEB6A-8EA6-40A3-81A1-968BA9D176BE}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>LightSwitchApplication</RootNamespace>
<AssemblyName>HelpDesk.Client</AssemblyName>
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
<LightSwitchVersion>v2.0</LightSwitchVersion>
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
<SilverlightApplication>true</SilverlightApplication>
<SupportedCultures>en-us</SupportedCultures>
<XapOutputs>true</XapOutputs>
<GenerateSilverlightManifest>true</GenerateSilverlightManifest>
<XapFilename>HelpDeskCS.Client.xap</XapFilename>
<XapOutputFile>HelpDeskCS.Client.xap</XapOutputFile>
<SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
<SilverlightAppEntry>
</SilverlightAppEntry>
<OutOfBrowserSettingsFile>Properties\OutOfBrowserSettings.xml</OutOfBrowserSettingsFile>
<EnableOutOfBrowser>False</EnableOutOfBrowser>
<TestPageFileName>default.htm</TestPageFileName>
<CreateTestPage>false</CreateTestPage>
<ValidateXaml>true</ValidateXaml>
<ThrowErrorsInValidation>false</ThrowErrorsInValidation>
<LightSwitchProjectType>Client</LightSwitchProjectType>
<LightSwitchPath Condition=" '$(LightSwitchPath)' == '' ">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0@InstallDir)</LightSwitchPath>
<WCFRIASERVICESSDKPath Condition=" '$(WCFRIASERVICESSDKPath)' == '' ">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WCFRIAServices\v1.0@InstallPath)</WCFRIASERVICESSDKPath>
<WCFRIASERVICESSDKPath Condition=" '$(WCFRIASERVICESSDKPath)' == '' ">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\WCFRIAServices\v1.0@InstallPath)</WCFRIASERVICESSDKPath>
<WCFDATASERVICESInstallPath Condition=" '$(WCFDATASERVICESInstallPath)' == '' ">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft WCF Data Services\5.0@InstallLocation)</WCFDATASERVICESInstallPath>
<WCFDATASERVICESInstallPath Condition=" '$(WCFDATASERVICESInstallPath)' == '' ">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft WCF Data Services\5.0@InstallLocation)</WCFDATASERVICESInstallPath>
<SignManifests>False</SignManifests>
<ManifestCertificateThumbprint />
<ManifestKeyFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Bin\Debug</OutputPath>
<DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>1522</NoWarn>
<UseDesignTimeFeatures>true</UseDesignTimeFeatures>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Bin\Release</OutputPath>
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>1522</NoWarn>
<UseDesignTimeFeatures>false</UseDesignTimeFeatures>
</PropertyGroup>
<ItemGroup>
<Reference Include="ApressControlsCS">
<HintPath>..\..\..\DLLs\ApressControlsCS.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch, Version=10.0.11.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.LightSwitch.Base.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.Base.Client.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.LightSwitch.Client, Version=10.0.11.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.Client.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.LightSwitch.Client.Internal, Version=10.0.11.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.Client.Internal.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch.Cosmopolitan.Client">
<HintPath>..\_Pvt_Extensions\Microsoft.LightSwitch.Cosmopolitan\Client\Reference\Microsoft.LightSwitch.Cosmopolitan.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch.Extensions.Client">
<HintPath>..\_Pvt_Extensions\Microsoft.LightSwitch.Extensions\ClientGen\Reference\Microsoft.LightSwitch.Extensions.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch.Extensions.Design.Client">
<HintPath>..\_Pvt_Extensions\Microsoft.LightSwitch.Extensions\Client\DebugOnlyRef\Microsoft.LightSwitch.Extensions.Design.Client.dll</HintPath>
<ExtensionReferenceType>DebugOnly</ExtensionReferenceType>
</Reference>
<Reference Include="Microsoft.LightSwitch.SDKProxy, Version=10.0.11.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.SDKProxy.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch.CodeMarker, Version=11.0.0.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.CodeMarker.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.LightSwitch.ExportProvider, Version=10.0.11.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.ExportProvider.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.LightSwitch.ManifestService.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.ManifestService.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.LightSwitch.Model.Xaml.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=8e9329cecb4700e9, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\LightSwitch\Client\Microsoft.LightSwitch.Model.Xaml.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Data.Services.Client.SL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(WCFDATASERVICESInstallPath)\bin\Silverlight\Microsoft.Data.Services.Client.SL.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="silverPDF">
<HintPath>..\..\..\DLLs\silverPDF\silverPDF.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Composition">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Runtime.Serialization">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.ServiceModel" />
<Reference Include="System.ServiceModel.Extensions" />
<Reference Include="System.ServiceModel.DomainServices.Client.Web, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(WCFRIASERVICESSDKPath)\v1.0\Libraries\Silverlight\System.ServiceModel.DomainServices.Client.Web.dll</HintPath>
</Reference>
<Reference Include="System.ServiceModel.PollingDuplex" />
<Reference Include="System.ServiceModel.Web.Extensions" />
<Reference Include="System.Windows" />
<Reference Include="System.Windows.Browser" />
<Reference Include="System.Windows.Controls.Data" />
<Reference Include="System.Windows.Controls" />
<Reference Include="System.Windows.Controls.Data.Input">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(LightSwitchPath)\Tbd\Client\System.Windows.Controls.Data.Input.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Controls.Input" />
<Reference Include="System.Windows.Controls.Navigation" />
<Reference Include="System.Windows.Controls.DomainServices, Version=2.0.5.0, Culture=neutral, PublicKeyToken=1dd0be75816bbb62, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>$(WCFRIASERVICESSDKPath)\v1.0\Libraries\Silverlight\System.Windows.Controls.DomainServices.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Data" />
<Reference Include="mscorlib" />
<Reference Include="system" />
<Reference Include="System.Core" />
<Reference Include="System.Net" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj">
<Name>Common</Name>
<Project>{edc504c5-4aed-4211-809c-a989a0d2dacc}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ModelReference Include="..\Common\Common.csproj">
<Visible>false</Visible>
</ModelReference>
<ServiceMetadataReference Include="..\Server\Server.csproj">
<Visible>false</Visible>
</ServiceMetadataReference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LightSwitchModel Include="Properties\Client.lsml">
<ProjectCritical>true</ProjectCritical>
</LightSwitchModel>
<None Include="Properties\AppManifest.xml" />
<None Include="Properties\OutOfBrowserSettings.xml" />
<ClientResource Include="Config.xml" />
<Content Include="Resources\LetterTemplate.dotx" />
<Content Include="Resources\MailMergeTemplate.dotx" />
</ItemGroup>
<ItemGroup>
<Folder Include="DataLogic\" />
<Folder Include="DataSources\" />
<Folder Include="Screens\" />
<Folder Include="UserCode\" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\LightSwitch\$(LightSwitchVersion)\Microsoft.LightSwitch.Build.Tasks.targets" />
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
<SilverlightProjectProperties />
</FlavorProperties>
<FlavorProperties GUID="{01074E5A-9000-460e-AB81-3A9263818D40}" Configuration="Debug|Any CPU">
<SpecializedConfiguration />
</FlavorProperties>
<FlavorProperties GUID="{01074E5A-9000-460e-AB81-3A9263818D40}" Configuration="Release|Any CPU">
<SpecializedConfiguration />
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}">
<SilverlightProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>DynamicPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<ShowWebRefOnDebugPrompt>True</ShowWebRefOnDebugPrompt>
<OutOfBrowserProjectToDebug>
</OutOfBrowserProjectToDebug>
<ShowRiaSvcsOnDebugPrompt>True</ShowRiaSvcsOnDebugPrompt>
</SilverlightProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>

0 comments on commit eef1780

Please sign in to comment.