Permalink
Browse files

Merge pull request #1 from lancscoder/dev

Merge from Dev
  • Loading branch information...
2 parents 2ccec6b + 5771072 commit 57fa0aa7ed0a7e8ab02b833d827075e3b8c94c06 @lancscoder committed Feb 18, 2012
Showing 455 changed files with 90,701 additions and 0 deletions.
View
@@ -0,0 +1,17 @@
+[Oo]bj/
+[Bb]in/
+*.user
+*.vspscc
+*.vssscc
+*.suo
+*.cache
+*.docstates
+_ReSharper.*
+*.csproj.user
+*[Rr]e[Ss]harper.user
+_ReSharper.*/
+packages/*
+msbuild.log
+*.vsp
+*.csv
+.DS_Store
View
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <solution>
+ <add key="disableSourceControlIntegration" value="true" />
+ </solution>
+</configuration>
View
Binary file not shown.
View
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+ <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
+ <PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+
+ <!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
+ <PackageSources>""</PackageSources>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
+
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
+
+ <!-- Commands -->
+ <RestoreCommand>"$(NuGetExePath)" install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
+ <BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(RestorePackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(BuildPackage) == 'true'">
+ $(BuildDependsOn);
+ BuildPackage;
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="CheckPrerequisites">
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="!Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ </Target>
+
+ <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(RestoreCommand)"
+ LogStandardErrorAsError="true"
+ Condition="Exists('$(PackagesConfig)')" />
+ </Target>
+
+ <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ LogStandardErrorAsError="true" />
+ </Target>
+</Project>
View
@@ -0,0 +1,26 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DapperDinner", "DapperDinner\DapperDinner.csproj", "{FBF0D67A-4EB7-49B8-A2EA-040A5AB27470}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{6987DBAB-0220-4537-977C-9C84446652ED}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\NuGet.exe = .nuget\NuGet.exe
+ .nuget\NuGet.targets = .nuget\NuGet.targets
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {FBF0D67A-4EB7-49B8-A2EA-040A5AB27470}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FBF0D67A-4EB7-49B8-A2EA-040A5AB27470}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FBF0D67A-4EB7-49B8-A2EA-040A5AB27470}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FBF0D67A-4EB7-49B8-A2EA-040A5AB27470}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+<configuration>
+ <!-- Necessary to get the sections below read properly.-->
+ <configSections>
+ <sectionGroup name="fiftyOne">
+ <section name="log" type="FiftyOne.Foundation.Mobile.Configuration.LogSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
+ <section name="redirect" type="FiftyOne.Foundation.Mobile.Configuration.RedirectSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
+ <section name="wurfl" type="FiftyOne.Foundation.Mobile.Detection.Wurfl.Configuration.WurflSection, FiftyOne.Foundation" requirePermission="false" allowDefinition="Everywhere" restartOnExternalChanges="false" allowExeDefinition="MachineToApplication"/>
+ </sectionGroup>
+ </configSections>
+ <fiftyOne>
+ <!--<redirect> element controls how requests from mobile devices are handled.
+ mobileHomePageUrl Previously mobileRedirectUrl under the mobile/toolkit element.
+ A url to direct mobile devices to instead of the normal web sites
+ landing page. (Optional)
+ firstRequestOnly If set to true only the first request received by the web site is
+ redirected to the mobileUrl when the site is accessed from a mobile
+ device. (Optional – defaults to true)
+ timeout The number of minutes of inactivity that should occur before the
+ requesting device should be treated as making a new request to the
+ web site for the purposes of redirection. If the session is available
+ the session timeout will be used and override this value. (Optional
+ -defaults to 20 minutes)
+ devicesFile A file used to store the details of devices that have previously
+ accessed the web site to determine if they're making a subsequent
+ request. Needed to ensure multiple worker processes have a consistent
+ view of previous activity. (Optional – random behaviour will be
+ experienced if not specified on web sites with more than one worker
+ processes)
+ mobilePagesRegex A regular expression that when applied to the current request Path
+ (context.Request.AppRelativeCurrentExecutionFilePath) or the requesting
+ Urlwill return true if it should be considered a mobile page. Use
+ this attribute to tell redirection about mobile pages derived from base
+ classes such as System.Web.UI.Page. Redirection needs to be aware of
+ mobile pages so that requests to these pages can be ignored. Any page
+ that derives from System.Web.UI.MobileControls.MobilePage will
+ automatically be treated as a mobile page irrespective of this
+ attribute. (Optional)
+ originalUrlAsQueryString
+ If set to true the redirected URL will have the original requesting Url
+ encoded and included as the origUrl query string parameter in the
+ redirected Url. This will enable the mobile home page to determine the
+ original requested resource providing the option to display a mobile
+ friendly version. (Optional – defaults to false)
+ locations/location Provides details of different locations requests can be directed to based
+ on the values of defined properties associated with the device or request.
+ (Optional)
+ url the URL of the redirect location to use if all the properties in the
+ collection match. (Mandatory)
+ matchExpression can be used to provide a regular expression which will take the requesting
+ URL as input match segments to be used in place of numeric parameters contained
+ within {} in the url attribute. (Optional)
+ The location element contains a collection of criteria that all need to match
+ for the location to be used. Two attributes must be specified with each entry.
+ property the property of HttpRequest, HttpRequest.Browser or WURFL capability to
+ use when evaluating the matchExpression attribute. (Mandatory)
+ matchExpression a regular expression used to evaluate the value of the property. (Mandatory)
+ -->
+ <!--
+ <redirect firstRequestOnly="true"
+ mobileHomePageUrl="~/Mobile/Default.aspx"
+ timeout="20"
+ devicesFile="~/App_Data/Devices.dat"
+ mobilePagesRegex="/Mobile/">
+
+ </redirect>
+ -->
+ <!--<log> element controls where and how much information should be recorded in the log.
+ logFile The location of the log file. (Mandatory)
+ logLevel Values include Debug|Info|Warn|Fatal and control the level of information
+ logged. Defauls to Fatal if not specified. (Optional)-->
+ <log logFile="~/App_Data/Log.txt" logLevel="Debug"/>
+ <!--<wurfl> element controls device data and new device handling.
+ wurflFilePath is the path of the main wurfl file (mandatory).
+ wurflPatches defines where any additional patch files can be located (optional).
+ newDevicesURL provides a URL where new devices found on your server can be recorded
+ (optional).
+ newDeviceDetail can be "minimum" or "maximum" and controls the HTTP header
+ information sent to location defined in newDevicesUrl (optional).
+ useActualDeviceRoot When set to true only Wurfl devices marked with the attribute "actual_device_root"
+ are used to provide capabilities. Child devices will continue to be used to
+ for device matching but their capabilities will not be used. This is an advanced
+ feature for those familar with WURFL. (optional)
+ capabilitiesWhiteList Using the capabilityName attribute of the add elements lists the Wurfl capabilities
+ required by the mobile web application. Providing this list prevents the entire list
+ of capabilities from being loaded slightly improving performance.-->
+ <wurfl wurflFilePath="~/App_Data/wurfl.xml.gz" newDeviceDetail="maximum" newDevicesURL="http://devices.51degrees.mobi/new.ashx" useActualDeviceRoot="false">
+ <!--
+ <capabilitiesWhiteList>
+ <add capabilityName="pointing_method"/>
+ </capabilitiesWhiteList>
+ -->
+ <wurflPatches>
+ <add name="browser_definitions" filePath="~/App_Data/web_browsers_patch.xml" enabled="true"/>
+ </wurflPatches>
+ </wurfl>
+ </fiftyOne>
+</configuration>
Binary file not shown.
Oops, something went wrong.

0 comments on commit 57fa0aa

Please sign in to comment.