aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Web
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-17 01:34:51 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-17 01:34:51 +0200
commit6b59b18966fa95b24d8813752f5a1ba1fd730660 (patch)
tree2745287dca8601cc44e31ed689866086cf6fdc09 /Software/Visual_Studio/FSE/Tango.FSE.Web
parent7d746ab2f2979794c46f7f54a7f7100080993086 (diff)
downloadTango-6b59b18966fa95b24d8813752f5a1ba1fd730660.tar.gz
Tango-6b59b18966fa95b24d8813752f5a1ba1fd730660.zip
Started basic design of FSE skeletons.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Web')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginRequest.cs16
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginResponse.cs18
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Web/Properties/AssemblyInfo.cs36
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj63
4 files changed, 133 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginRequest.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginRequest.cs
new file mode 100644
index 000000000..6898364ae
--- /dev/null
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginRequest.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Transport.Web;
+
+namespace Tango.FSE.Web.Messages
+{
+ public class LoginRequest : WebRequestMessage
+ {
+ public String Version { get; set; }
+ public String Email { get; set; }
+ public String Password { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginResponse.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginResponse.cs
new file mode 100644
index 000000000..83fd59439
--- /dev/null
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Messages/LoginResponse.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Core;
+using Tango.Web.Security;
+
+namespace Tango.FSE.Web.Messages
+{
+ public class LoginResponse : WebTokenResponse
+ {
+ public DataSource DataSource { get; set; }
+ public bool VersionChangeRequired { get; set; }
+ public String RequiredVersion { get; set; }
+ public bool PasswordChangeRequired { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Properties/AssemblyInfo.cs b/Software/Visual_Studio/FSE/Tango.FSE.Web/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..4a8bdfddc
--- /dev/null
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using 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.
+[assembly: AssemblyTitle("Tango.FSE.Web")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Tango.FSE.Web")]
+[assembly: AssemblyCopyright("Copyright © 2020")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("d6f7d31d-7f8c-45e2-ae0a-fbbd1f5f9d5f")]
+
+// 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")]
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj b/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj
new file mode 100644
index 000000000..166162caf
--- /dev/null
+++ b/Software/Visual_Studio/FSE/Tango.FSE.Web/Tango.FSE.Web.csproj
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" 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>{D6F7D31D-7F8C-45E2-AE0A-FBBD1F5F9D5F}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Tango.FSE.Web</RootNamespace>
+ <AssemblyName>Tango.FSE.Web</AssemblyName>
+ <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <Deterministic>true</Deterministic>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>..\..\Build\FSE\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>..\..\Build\FSE\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Net.Http" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Messages\LoginRequest.cs" />
+ <Compile Include="Messages\LoginResponse.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\Tango.Core\Tango.Core.csproj">
+ <Project>{A34EE0F0-649D-41C8-8489-B6F1CC6924EE}</Project>
+ <Name>Tango.Core</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\Tango.Transport\Tango.Transport.csproj">
+ <Project>{74E700B0-1156-4126-BE40-EE450D3C3026}</Project>
+ <Name>Tango.Transport</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\Tango.Web\Tango.Web.csproj">
+ <Project>{5001990F-977B-48FF-B217-0236A5022AD8}</Project>
+ <Name>Tango.Web</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project> \ No newline at end of file