Skip to content

Commit

Permalink
[Azure] create a 'core' project for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptdev committed Dec 12, 2012
1 parent df4ce3f commit 1e25b9a
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class AzureWebService
// i've removed the 'done' filter, because i don't want to hide those tasks for now...
static string subdomain = "xxxxxxxxxx"; // your subdomain
static string MobileServiceAppId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; // your application key

static string GetAllUrl = "https://"+subdomain+".azure-mobile.net/tables/TodoItem"; //?$filter=(complete%20eq%20false)
static string GetUrl = "https://"+subdomain+".azure-mobile.net/tables/TodoItem?$filter=(id%20eq%20{0})";
static string AddUrl = "https://"+subdomain+".azure-mobile.net/tables/TodoItem";
Expand Down
45 changes: 45 additions & 0 deletions Azure/iOS/Core/Core.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}</ProjectGuid>
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>Core</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Core</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="monotouch" />
<Reference Include="System.Json" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="AzureWebService.cs" />
<Compile Include="Task.cs" />
</ItemGroup>
</Project>
File renamed without changes.
8 changes: 6 additions & 2 deletions Azure/iOS/TaskyAzure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
<Compile Include="AppDelegate.cs" />
<Compile Include="TaskListScreen.cs" />
<Compile Include="TaskScreen.cs" />
<Compile Include="Task.cs" />
<Compile Include="AzureWebService.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
Expand All @@ -100,4 +98,10 @@
<BundleResource Include="Resources\72_icon.png" />
<BundleResource Include="Resources\Default-568h%402x.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Core\Core.csproj">
<Project>{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}</Project>
<Name>Core</Name>
</ProjectReference>
</ItemGroup>
</Project>
10 changes: 10 additions & 0 deletions Azure/iOS/TaskyAzure.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyAzure", "TaskyAzure.csproj", "{367D4ECC-D04A-41FB-A784-4D10F30666C8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Expand All @@ -19,6 +21,14 @@ Global
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhone.Build.0 = Release|iPhone
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Debug|iPhone.Build.0 = Debug|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Release|iPhone.ActiveCfg = Release|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Release|iPhone.Build.0 = Release|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{AEA7BE73-4461-4E5C-91D0-B4C4F9B5BCCB}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = TaskyAzure.csproj
Expand Down

0 comments on commit 1e25b9a

Please sign in to comment.