http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp.sln ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp.sln b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp.sln deleted file mode 100644 index bf735fa..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp.sln +++ /dev/null @@ -1,36 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.20827.3 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BooksApp", "BooksApp2\BooksApp.vbproj", "{A5DC2266-0FAA-4267-967B-CB9E1A239AC8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A5DC2266-0FAA-4267-967B-CB9E1A239AC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A5DC2266-0FAA-4267-967B-CB9E1A239AC8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A5DC2266-0FAA-4267-967B-CB9E1A239AC8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A5DC2266-0FAA-4267-967B-CB9E1A239AC8}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal
http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.Designer.vb deleted file mode 100644 index 62e6e95..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.Designer.vb +++ /dev/null @@ -1,109 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ -Partial Class AddBookForm - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - <System.Diagnostics.DebuggerNonUserCode()> _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - <System.Diagnostics.DebuggerStepThrough()> _ - Private Sub InitializeComponent() - Me.Label1 = New System.Windows.Forms.Label() - Me.title = New System.Windows.Forms.TextBox() - Me.Label2 = New System.Windows.Forms.Label() - Me.author = New System.Windows.Forms.TextBox() - Me.btnSave = New System.Windows.Forms.Button() - Me.SuspendLayout() - ' - 'Label1 - ' - Me.Label1.AutoSize = True - Me.Label1.Location = New System.Drawing.Point(13, 50) - Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(55, 13) - Me.Label1.TabIndex = 0 - Me.Label1.Text = "Book Title" - ' - 'title - ' - Me.title.Location = New System.Drawing.Point(82, 47) - Me.title.Name = "title" - Me.title.Size = New System.Drawing.Size(160, 20) - Me.title.TabIndex = 1 - ' - 'Label2 - ' - Me.Label2.AutoSize = True - Me.Label2.Location = New System.Drawing.Point(13, 87) - Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(38, 13) - Me.Label2.TabIndex = 2 - Me.Label2.Text = "Author" - ' - 'author - ' - Me.author.Location = New System.Drawing.Point(82, 79) - Me.author.Name = "author" - Me.author.Size = New System.Drawing.Size(160, 20) - Me.author.TabIndex = 3 - ' - 'btnSave - ' - Me.btnSave.Location = New System.Drawing.Point(82, 165) - Me.btnSave.Name = "btnSave" - Me.btnSave.Size = New System.Drawing.Size(75, 23) - Me.btnSave.TabIndex = 4 - Me.btnSave.Text = "Save" - Me.btnSave.UseVisualStyleBackColor = True - ' - 'AddBookForm - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(284, 262) - Me.Controls.Add(Me.btnSave) - Me.Controls.Add(Me.author) - Me.Controls.Add(Me.Label2) - Me.Controls.Add(Me.title) - Me.Controls.Add(Me.Label1) - Me.Name = "AddBookForm" - Me.Text = "Add a Book" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Friend WithEvents Label1 As System.Windows.Forms.Label - Friend WithEvents title As System.Windows.Forms.TextBox - Friend WithEvents Label2 As System.Windows.Forms.Label - Friend WithEvents author As System.Windows.Forms.TextBox - Friend WithEvents btnSave As System.Windows.Forms.Button -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.resx ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.resx b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.resx deleted file mode 100644 index 1e7ba63..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.resx +++ /dev/null @@ -1,136 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" use="required" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> -</root> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.vb deleted file mode 100644 index 935e457..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/AddBook.vb +++ /dev/null @@ -1,33 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Imports Usergrid.Sdk - -Public Class AddBookForm - - Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click - Dim b As Book - b = New Book - b.title = title.Text - b.author = author.Text - Settings.client.CreateEntity(Of Book)("books", b) - MainWindow.updateBooks() - Me.Close() - End Sub - - Private Sub AddBookForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load - - End Sub -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/App.config ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/App.config b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/App.config deleted file mode 100644 index 84651f3..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/App.config +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<configuration> - <startup> - <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> - </startup> -</configuration> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Book.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Book.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Book.vb deleted file mode 100644 index 8f3243a..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Book.vb +++ /dev/null @@ -1,21 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Public Class Book - Public title As String - Public author As String - Public uuid As String - -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/BooksApp.vbproj ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/BooksApp.vbproj b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/BooksApp.vbproj deleted file mode 100644 index 4ca3298..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/BooksApp.vbproj +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{A5DC2266-0FAA-4267-967B-CB9E1A239AC8}</ProjectGuid> - <OutputType>WinExe</OutputType> - <StartupObject>BooksApp.My.MyApplication</StartupObject> - <RootNamespace>BooksApp</RootNamespace> - <AssemblyName>BooksApp</AssemblyName> - <FileAlignment>512</FileAlignment> - <MyType>WindowsForms</MyType> - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <DefineDebug>true</DefineDebug> - <DefineTrace>true</DefineTrace> - <OutputPath>bin\Debug\</OutputPath> - <DocumentationFile>BooksApp.xml</DocumentationFile> - <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <PlatformTarget>AnyCPU</PlatformTarget> - <DebugType>pdbonly</DebugType> - <DefineDebug>false</DefineDebug> - <DefineTrace>true</DefineTrace> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DocumentationFile>BooksApp.xml</DocumentationFile> - <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> - </PropertyGroup> - <PropertyGroup> - <OptionExplicit>On</OptionExplicit> - </PropertyGroup> - <PropertyGroup> - <OptionCompare>Binary</OptionCompare> - </PropertyGroup> - <PropertyGroup> - <OptionStrict>Off</OptionStrict> - </PropertyGroup> - <PropertyGroup> - <OptionInfer>On</OptionInfer> - </PropertyGroup> - <ItemGroup> - <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>\\vmware-host\Shared Folders\Desktop\GitHub\usergrid-.net-sdk\Usergrid.Sdk\bin\Debug\Newtonsoft.Json.dll</HintPath> - </Reference> - <Reference Include="RestSharp"> - <HintPath>\\vmware-host\Shared Folders\Desktop\GitHub\usergrid-.net-sdk\Usergrid.Sdk\bin\Debug\RestSharp.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Data" /> - <Reference Include="System.Deployment" /> - <Reference Include="System.Drawing" /> - <Reference Include="System.Messaging" /> - <Reference Include="System.Windows.Forms" /> - <Reference Include="System.Xml" /> - <Reference Include="System.Core" /> - <Reference Include="System.Xml.Linq" /> - <Reference Include="System.Data.DataSetExtensions" /> - <Reference Include="Usergrid.Sdk"> - <HintPath>\\vmware-host\Shared Folders\Desktop\GitHub\usergrid-.net-sdk\Usergrid.Sdk\bin\Debug\Usergrid.Sdk.dll</HintPath> - </Reference> - </ItemGroup> - <ItemGroup> - <Import Include="Microsoft.VisualBasic" /> - <Import Include="System" /> - <Import Include="System.Collections" /> - <Import Include="System.Collections.Generic" /> - <Import Include="System.Data" /> - <Import Include="System.Drawing" /> - <Import Include="System.Diagnostics" /> - <Import Include="System.Windows.Forms" /> - <Import Include="System.Linq" /> - <Import Include="System.Xml.Linq" /> - <Import Include="System.Threading.Tasks" /> - </ItemGroup> - <ItemGroup> - <Compile Include="AddBook.Designer.vb"> - <DependentUpon>AddBook.vb</DependentUpon> - </Compile> - <Compile Include="AddBook.vb"> - <SubType>Form</SubType> - </Compile> - <Compile Include="Book.vb" /> - <Compile Include="MainWindow.Designer.vb"> - <DependentUpon>MainWindow.vb</DependentUpon> - </Compile> - <Compile Include="MainWindow.vb"> - <SubType>Form</SubType> - </Compile> - <Compile Include="My Project\AssemblyInfo.vb" /> - <Compile Include="My Project\Application.Designer.vb"> - <AutoGen>True</AutoGen> - <DependentUpon>Application.myapp</DependentUpon> - </Compile> - <Compile Include="My Project\Resources.Designer.vb"> - <AutoGen>True</AutoGen> - <DesignTime>True</DesignTime> - <DependentUpon>Resources.resx</DependentUpon> - </Compile> - <Compile Include="My Project\Settings.Designer.vb"> - <AutoGen>True</AutoGen> - <DependentUpon>Settings.settings</DependentUpon> - <DesignTimeSharedInput>True</DesignTimeSharedInput> - </Compile> - <Compile Include="Settings.vb" /> - <Compile Include="SettingsForm.Designer.vb"> - <DependentUpon>SettingsForm.vb</DependentUpon> - </Compile> - <Compile Include="SettingsForm.vb"> - <SubType>Form</SubType> - </Compile> - </ItemGroup> - <ItemGroup> - <EmbeddedResource Include="AddBook.resx"> - <DependentUpon>AddBook.vb</DependentUpon> - </EmbeddedResource> - <EmbeddedResource Include="MainWindow.resx"> - <DependentUpon>MainWindow.vb</DependentUpon> - </EmbeddedResource> - <EmbeddedResource Include="My Project\Resources.resx"> - <Generator>VbMyResourcesResXFileCodeGenerator</Generator> - <LastGenOutput>Resources.Designer.vb</LastGenOutput> - <CustomToolNamespace>My.Resources</CustomToolNamespace> - <SubType>Designer</SubType> - </EmbeddedResource> - <EmbeddedResource Include="SettingsForm.resx"> - <DependentUpon>SettingsForm.vb</DependentUpon> - </EmbeddedResource> - </ItemGroup> - <ItemGroup> - <None Include="My Project\Application.myapp"> - <Generator>MyApplicationCodeGenerator</Generator> - <LastGenOutput>Application.Designer.vb</LastGenOutput> - </None> - <None Include="My Project\Settings.settings"> - <Generator>SettingsSingleFileGenerator</Generator> - <CustomToolNamespace>My</CustomToolNamespace> - <LastGenOutput>Settings.Designer.vb</LastGenOutput> - </None> - <None Include="App.config" /> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.Designer.vb deleted file mode 100644 index 034849e..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.Designer.vb +++ /dev/null @@ -1,147 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ -Partial Class MainWindow - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - <System.Diagnostics.DebuggerNonUserCode()> _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - <System.Diagnostics.DebuggerStepThrough()> _ - Private Sub InitializeComponent() - Me.booksGrid = New System.Windows.Forms.DataGridView() - Me.btnRetrieveBooks = New System.Windows.Forms.Button() - Me.btnSettings = New System.Windows.Forms.Button() - Me.btnAddABook = New System.Windows.Forms.Button() - Me.btnDeleteABook = New System.Windows.Forms.Button() - Me.title = New System.Windows.Forms.DataGridViewTextBoxColumn() - Me.author = New System.Windows.Forms.DataGridViewTextBoxColumn() - Me.uuid = New System.Windows.Forms.DataGridViewTextBoxColumn() - CType(Me.booksGrid, System.ComponentModel.ISupportInitialize).BeginInit() - Me.SuspendLayout() - ' - 'booksGrid - ' - Me.booksGrid.AllowUserToAddRows = False - Me.booksGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize - Me.booksGrid.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.title, Me.author, Me.uuid}) - Me.booksGrid.Location = New System.Drawing.Point(40, 32) - Me.booksGrid.Margin = New System.Windows.Forms.Padding(4) - Me.booksGrid.Name = "booksGrid" - Me.booksGrid.Size = New System.Drawing.Size(467, 401) - Me.booksGrid.TabIndex = 0 - ' - 'btnRetrieveBooks - ' - Me.btnRetrieveBooks.Location = New System.Drawing.Point(40, 471) - Me.btnRetrieveBooks.Margin = New System.Windows.Forms.Padding(4) - Me.btnRetrieveBooks.Name = "btnRetrieveBooks" - Me.btnRetrieveBooks.Size = New System.Drawing.Size(129, 28) - Me.btnRetrieveBooks.TabIndex = 1 - Me.btnRetrieveBooks.Text = "Retrieve Books" - Me.btnRetrieveBooks.UseVisualStyleBackColor = True - ' - 'btnSettings - ' - Me.btnSettings.Location = New System.Drawing.Point(407, 471) - Me.btnSettings.Margin = New System.Windows.Forms.Padding(4) - Me.btnSettings.Name = "btnSettings" - Me.btnSettings.Size = New System.Drawing.Size(100, 28) - Me.btnSettings.TabIndex = 2 - Me.btnSettings.Text = "Settings" - Me.btnSettings.UseVisualStyleBackColor = True - ' - 'btnAddABook - ' - Me.btnAddABook.Location = New System.Drawing.Point(191, 471) - Me.btnAddABook.Margin = New System.Windows.Forms.Padding(4) - Me.btnAddABook.Name = "btnAddABook" - Me.btnAddABook.Size = New System.Drawing.Size(100, 28) - Me.btnAddABook.TabIndex = 3 - Me.btnAddABook.Text = "Add A Book" - Me.btnAddABook.UseVisualStyleBackColor = True - ' - 'btnDeleteABook - ' - Me.btnDeleteABook.Location = New System.Drawing.Point(299, 471) - Me.btnDeleteABook.Margin = New System.Windows.Forms.Padding(4) - Me.btnDeleteABook.Name = "btnDeleteABook" - Me.btnDeleteABook.Size = New System.Drawing.Size(100, 28) - Me.btnDeleteABook.TabIndex = 4 - Me.btnDeleteABook.Text = "Delete Book" - Me.btnDeleteABook.UseVisualStyleBackColor = True - ' - 'title - ' - Me.title.HeaderText = "Title" - Me.title.Name = "title" - Me.title.Width = 200 - ' - 'author - ' - Me.author.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill - Me.author.HeaderText = "Author" - Me.author.Name = "author" - ' - 'uuid - ' - Me.uuid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill - Me.uuid.HeaderText = "UUID" - Me.uuid.Name = "uuid" - Me.uuid.Visible = False - ' - 'Form1 - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(578, 535) - Me.Controls.Add(Me.btnDeleteABook) - Me.Controls.Add(Me.btnAddABook) - Me.Controls.Add(Me.btnSettings) - Me.Controls.Add(Me.btnRetrieveBooks) - Me.Controls.Add(Me.booksGrid) - Me.Margin = New System.Windows.Forms.Padding(4) - Me.Name = "Form1" - Me.Text = "Books Demo" - CType(Me.booksGrid, System.ComponentModel.ISupportInitialize).EndInit() - Me.ResumeLayout(False) - - End Sub - Friend WithEvents booksGrid As System.Windows.Forms.DataGridView - Friend WithEvents btnRetrieveBooks As System.Windows.Forms.Button - Friend WithEvents btnSettings As System.Windows.Forms.Button - Friend WithEvents btnAddABook As System.Windows.Forms.Button - Friend WithEvents btnDeleteABook As System.Windows.Forms.Button - Friend WithEvents title As System.Windows.Forms.DataGridViewTextBoxColumn - Friend WithEvents author As System.Windows.Forms.DataGridViewTextBoxColumn - Friend WithEvents uuid As System.Windows.Forms.DataGridViewTextBoxColumn - -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.resx ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.resx b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.resx deleted file mode 100644 index d8973e5..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.resx +++ /dev/null @@ -1,146 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" use="required" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <metadata name="title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> - <metadata name="uuid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>True</value> - </metadata> -</root> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.vb deleted file mode 100644 index 3aa34d4..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/MainWindow.vb +++ /dev/null @@ -1,70 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Imports Usergrid.Sdk - -Public Class MainWindow - - Private Sub MainWindow_Load(sender As Object, e As EventArgs) Handles MyBase.Load - - End Sub - Public Sub clearBooks() - booksGrid.Rows.Clear() - End Sub - Public Sub updateBooks() - 'Clear the current list of books - clearBooks() - - 'Look for the books - Dim books As UsergridCollection(Of Book) - Dim book As Book - books = Settings.client.GetEntities(Of Book)("books", 10) - Do - Dim i As Integer = 0 - While i < books.Count - book = books(i) - booksGrid.Rows.Add(book.title, book.author, book.uuid) - i = i + 1 - End While - books = Settings.client.GetNextEntities(Of Book)("books") - Loop While books.Count > 0 - End Sub - - Private Sub btnRetrieveBooks_Click(sender As Object, e As EventArgs) Handles btnRetrieveBooks.Click - booksGrid.Rows.Clear() - updateBooks() - End Sub - - Private Sub btnSettings_Click(sender As Object, e As EventArgs) Handles btnSettings.Click - SettingsForm.Show() - End Sub - - - Private Sub btnAddBook_Click(sender As Object, e As EventArgs) Handles btnAddABook.Click - AddBookForm.Show() - End Sub - - Private Sub btnDeleteABook_Click(sender As Object, e As EventArgs) Handles btnDeleteABook.Click - Dim i As Integer - Dim uuid As String - i = booksGrid.CurrentRow.Index - uuid = booksGrid.Item(2, i).Value - Settings.client.DeleteEntity("books", uuid) - booksGrid.Rows.RemoveAt(i) - clearBooks() - updateBooks() - End Sub - -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.Designer.vb deleted file mode 100644 index 17da912..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.Designer.vb +++ /dev/null @@ -1,53 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -'------------------------------------------------------------------------------ -' <auto-generated> -' This code was generated by a tool. -' Runtime Version:4.0.30319.18331 -' -' 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 My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.BooksApp.MainWindow - End Sub - End Class -End Namespace http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.myapp ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.myapp b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.myapp deleted file mode 100644 index 6c21bb5..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Application.myapp +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-16"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <MySubMain>true</MySubMain> - <MainForm>MainWindow</MainForm> - <SingleInstance>false</SingleInstance> - <ShutdownMode>0</ShutdownMode> - <EnableVisualStyles>true</EnableVisualStyles> - <AuthenticationMode>0</AuthenticationMode> - <SaveMySettingsOnExit>true</SaveMySettingsOnExit> -</MyApplicationData> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/AssemblyInfo.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/AssemblyInfo.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/AssemblyInfo.vb deleted file mode 100644 index 0a96883..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,50 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Imports System -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - -<Assembly: AssemblyTitle("BooksApp2")> -<Assembly: AssemblyDescription("")> -<Assembly: AssemblyCompany("")> -<Assembly: AssemblyProduct("BooksApp2")> -<Assembly: AssemblyCopyright("Copyright © 2013")> -<Assembly: AssemblyTrademark("")> - -<Assembly: ComVisible(False)> - -'The following GUID is for the ID of the typelib if this project is exposed to COM -<Assembly: Guid("423c19b0-9a48-4e9a-a044-e89c12ecbecf")> - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' <Assembly: AssemblyVersion("1.0.*")> - -<Assembly: AssemblyVersion("1.0.0.0")> -<Assembly: AssemblyFileVersion("1.0.0.0")> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.Designer.vb deleted file mode 100644 index d3710bb..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.Designer.vb +++ /dev/null @@ -1,78 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -'------------------------------------------------------------------------------ -' <auto-generated> -' This code was generated by a tool. -' Runtime Version:4.0.30319.18331 -' -' 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 - -Imports System - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - '''<summary> - ''' A strongly-typed resource class, for looking up localized strings, etc. - '''</summary> - <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _ - Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ - Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ - Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _ - Friend Module Resources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - '''<summary> - ''' Returns the cached ResourceManager instance used by this class. - '''</summary> - <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("BooksApp.Resources", GetType(Resources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - '''<summary> - ''' Overrides the current thread's CurrentUICulture property for all - ''' resource lookups using this strongly typed resource class. - '''</summary> - <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - End Module -End Namespace http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.resx ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.resx b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.resx deleted file mode 100644 index 098d9b6..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Resources.resx +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> -</root> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.Designer.vb deleted file mode 100644 index 0d22375..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.Designer.vb +++ /dev/null @@ -1,88 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -'------------------------------------------------------------------------------ -' <auto-generated> -' This code was generated by a tool. -' Runtime Version:4.0.30319.18331 -' -' 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 My - - <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ - Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0"), _ - Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ - Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ - Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ - Friend Module MySettingsProperty - - <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ - Friend ReadOnly Property Settings() As Global.BooksApp.My.MySettings - Get - Return Global.BooksApp.My.MySettings.Default - End Get - End Property - End Module -End Namespace http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.settings ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.settings b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.settings deleted file mode 100644 index 9c270f1..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/My Project/Settings.settings +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version='1.0' encoding='utf-8'?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true"> - <Profiles> - <Profile Name="(Default)" /> - </Profiles> - <Settings /> -</SettingsFile> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Settings.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Settings.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Settings.vb deleted file mode 100644 index 91aa3e2..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/Settings.vb +++ /dev/null @@ -1,22 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Public Class Settings - Public Shared userName As String - Public Shared password As String - Public Shared org As String - Public Shared app As String - Public Shared client As Usergrid.Sdk.Client -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.Designer.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.Designer.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.Designer.vb deleted file mode 100644 index aab8e4b..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.Designer.vb +++ /dev/null @@ -1,164 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ -Partial Class SettingsForm - Inherits System.Windows.Forms.Form - - 'Form overrides dispose to clean up the component list. - <System.Diagnostics.DebuggerNonUserCode()> _ - Protected Overrides Sub Dispose(ByVal disposing As Boolean) - Try - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - Finally - MyBase.Dispose(disposing) - End Try - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - <System.Diagnostics.DebuggerStepThrough()> _ - Private Sub InitializeComponent() - Me.Label1 = New System.Windows.Forms.Label() - Me.userName = New System.Windows.Forms.TextBox() - Me.Label2 = New System.Windows.Forms.Label() - Me.password = New System.Windows.Forms.MaskedTextBox() - Me.Label3 = New System.Windows.Forms.Label() - Me.org = New System.Windows.Forms.TextBox() - Me.Label4 = New System.Windows.Forms.Label() - Me.app = New System.Windows.Forms.TextBox() - Me.btnSave = New System.Windows.Forms.Button() - Me.SuspendLayout() - ' - 'Label1 - ' - Me.Label1.AutoSize = True - Me.Label1.Location = New System.Drawing.Point(33, 44) - Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(79, 17) - Me.Label1.TabIndex = 0 - Me.Label1.Text = "User Name" - ' - 'userName - ' - Me.userName.Location = New System.Drawing.Point(121, 41) - Me.userName.Margin = New System.Windows.Forms.Padding(4) - Me.userName.Name = "userName" - Me.userName.Size = New System.Drawing.Size(179, 22) - Me.userName.TabIndex = 1 - ' - 'Label2 - ' - Me.Label2.AutoSize = True - Me.Label2.Location = New System.Drawing.Point(37, 92) - Me.Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(69, 17) - Me.Label2.TabIndex = 2 - Me.Label2.Text = "Password" - ' - 'password - ' - Me.password.Location = New System.Drawing.Point(121, 92) - Me.password.Margin = New System.Windows.Forms.Padding(4) - Me.password.Name = "password" - Me.password.PasswordChar = Global.Microsoft.VisualBasic.ChrW(46) - Me.password.Size = New System.Drawing.Size(179, 22) - Me.password.TabIndex = 3 - ' - 'Label3 - ' - Me.Label3.AutoSize = True - Me.Label3.Location = New System.Drawing.Point(37, 134) - Me.Label3.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label3.Name = "Label3" - Me.Label3.Size = New System.Drawing.Size(32, 17) - Me.Label3.TabIndex = 4 - Me.Label3.Text = "Org" - ' - 'org - ' - Me.org.Location = New System.Drawing.Point(121, 134) - Me.org.Margin = New System.Windows.Forms.Padding(4) - Me.org.Name = "org" - Me.org.Size = New System.Drawing.Size(179, 22) - Me.org.TabIndex = 5 - ' - 'Label4 - ' - Me.Label4.AutoSize = True - Me.Label4.Location = New System.Drawing.Point(37, 177) - Me.Label4.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0) - Me.Label4.Name = "Label4" - Me.Label4.Size = New System.Drawing.Size(33, 17) - Me.Label4.TabIndex = 6 - Me.Label4.Text = "App" - ' - 'app - ' - Me.app.Location = New System.Drawing.Point(121, 177) - Me.app.Margin = New System.Windows.Forms.Padding(4) - Me.app.Name = "app" - Me.app.Size = New System.Drawing.Size(179, 22) - Me.app.TabIndex = 7 - ' - 'btnSave - ' - Me.btnSave.Location = New System.Drawing.Point(121, 254) - Me.btnSave.Margin = New System.Windows.Forms.Padding(4) - Me.btnSave.Name = "btnSave" - Me.btnSave.Size = New System.Drawing.Size(121, 28) - Me.btnSave.TabIndex = 8 - Me.btnSave.Text = "Save Settings" - Me.btnSave.UseVisualStyleBackColor = True - ' - 'SettingsForm - ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!) - Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.ClientSize = New System.Drawing.Size(567, 322) - Me.Controls.Add(Me.btnSave) - Me.Controls.Add(Me.app) - Me.Controls.Add(Me.Label4) - Me.Controls.Add(Me.org) - Me.Controls.Add(Me.Label3) - Me.Controls.Add(Me.password) - Me.Controls.Add(Me.Label2) - Me.Controls.Add(Me.userName) - Me.Controls.Add(Me.Label1) - Me.Margin = New System.Windows.Forms.Padding(4) - Me.Name = "SettingsForm" - Me.Text = "Settings" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Friend WithEvents Label1 As System.Windows.Forms.Label - Friend WithEvents userName As System.Windows.Forms.TextBox - Friend WithEvents Label2 As System.Windows.Forms.Label - Friend WithEvents password As System.Windows.Forms.MaskedTextBox - Friend WithEvents Label3 As System.Windows.Forms.Label - Friend WithEvents org As System.Windows.Forms.TextBox - Friend WithEvents Label4 As System.Windows.Forms.Label - Friend WithEvents app As System.Windows.Forms.TextBox - Friend WithEvents btnSave As System.Windows.Forms.Button -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.resx ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.resx b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.resx deleted file mode 100644 index 85d1d78..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.resx +++ /dev/null @@ -1,137 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" use="required" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> -</root> http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.vb ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.vb b/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.vb deleted file mode 100644 index cdafe6e..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/BooksApp2/SettingsForm.vb +++ /dev/null @@ -1,44 +0,0 @@ -' Licensed to the Apache Software Foundation (ASF) under one or more -' contributor license agreements. See the NOTICE file distributed with -' this work for additional information regarding copyright ownership. -' The ASF licenses this file to You under the Apache License, Version 2.0 -' (the "License"); you may not use this file except in compliance with -' the License. You may obtain a copy of the License at -' -' http://www.apache.org/licenses/LICENSE-2.0 -' -' Unless required by applicable law or agreed to in writing, software -' distributed under the License is distributed on an "AS IS" BASIS, -' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -' See the License for the specific language governing permissions and -' limitations under the License. - -Imports Usergrid.Sdk - -Public Class SettingsForm - - Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click - Settings.userName = userName.Text - Settings.password = password.Text - Settings.org = org.Text - Settings.app = app.Text - Settings.client = New Client(Settings.org, Settings.app) - Settings.client.Login(Settings.userName, Settings.password, AuthType.User) - Me.Close() - End Sub - - Private Sub SettingsForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load - If Settings.userName IsNot Nothing Then - userName.Text = Settings.userName - End If - If Settings.password IsNot Nothing Then - password.Text = Settings.password - End If - If Settings.org IsNot Nothing Then - org.Text = Settings.org - End If - If Settings.app IsNot Nothing Then - app.Text = Settings.app - End If - End Sub -End Class http://git-wip-us.apache.org/repos/asf/usergrid/blob/49e0f50b/sdks/dotnet/samples/loginAndCollectionSample/Readme.md ---------------------------------------------------------------------- diff --git a/sdks/dotnet/samples/loginAndCollectionSample/Readme.md b/sdks/dotnet/samples/loginAndCollectionSample/Readme.md deleted file mode 100644 index c705d8f..0000000 --- a/sdks/dotnet/samples/loginAndCollectionSample/Readme.md +++ /dev/null @@ -1,17 +0,0 @@ -Books Sample Application - -Built with Microsoft Visual Studio 2013, but earlier versions (2010 or later) should work - -To run the application: - -1. Sign up for free App Services account at www.apigee.com -2. Log in to App Services Admin Portal -3. Create a new app -4. Create a new Collection named "books" in the new app -5. Create a user that has full permissions to the books collection -6. Open the BooksApp solution file in Visual Studio -7. Run the application -8. Click on the Settings button. Fill in the resulting dialog with the org, app, and user credentials -9. Click Retrieve Books to get a list of any existing books -10. Click Add A Book. Fill out the resulting dialog to add a new entry -11. Select an entry and click Delete Book. The entry will be deleted. \ No newline at end of file
