diff --git a/oop/asp_textfile/asp_textfile.sln b/oop/asp_textfile/asp_textfile.sln
new file mode 100644
index 0000000..a2e705f
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.12
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "asp_textfile", "asp_textfile\asp_textfile.csproj", "{BD0AFAB8-0DEE-47AC-966D-00D4673200C8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {BD0AFAB8-0DEE-47AC-966D-00D4673200C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BD0AFAB8-0DEE-47AC-966D-00D4673200C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BD0AFAB8-0DEE-47AC-966D-00D4673200C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BD0AFAB8-0DEE-47AC-966D-00D4673200C8}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/oop/asp_textfile/asp_textfile/Default.aspx b/oop/asp_textfile/asp_textfile/Default.aspx
new file mode 100644
index 0000000..aa724d0
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Default.aspx
@@ -0,0 +1,22 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="asp_textfile.WebForm1" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oop/asp_textfile/asp_textfile/Default.aspx.cs b/oop/asp_textfile/asp_textfile/Default.aspx.cs
new file mode 100644
index 0000000..c932d43
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Default.aspx.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace asp_textfile
+{
+ public partial class WebForm1 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void SaveButton_Click(object sender, EventArgs e)
+ {
+
+
+ // https://stackoverflow.com/questions/1268766/writing-file-to-web-server-asp-net#1268773
+ WriteToFile.SaveToFile(UserInputBox.Text, Server.MapPath("~/string_data.txt"));
+ }
+
+ protected void UserInputBox_TextChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void ShowUserInputCheckBox_CheckedChanged(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/Default.aspx.designer.cs b/oop/asp_textfile/asp_textfile/Default.aspx.designer.cs
new file mode 100644
index 0000000..febb1af
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Default.aspx.designer.cs
@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace asp_textfile {
+
+
+ public partial class WebForm1 {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// UserInputBox control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox UserInputBox;
+
+ ///
+ /// ShowUserInputCheckBox control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.CheckBox ShowUserInputCheckBox;
+
+ ///
+ /// SaveButton control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button SaveButton;
+ }
+}
diff --git a/oop/asp_textfile/asp_textfile/Properties/AssemblyInfo.cs b/oop/asp_textfile/asp_textfile/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..06a07f4
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+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("asp_textfile")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("asp_textfile")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
+[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("bd0afab8-0dee-47ac-966d-00d4673200c8")]
+
+// 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 Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/oop/asp_textfile/asp_textfile/Web.Debug.config b/oop/asp_textfile/asp_textfile/Web.Debug.config
new file mode 100644
index 0000000..fae9cfe
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Web.Debug.config
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/Web.Release.config b/oop/asp_textfile/asp_textfile/Web.Release.config
new file mode 100644
index 0000000..da6e960
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Web.Release.config
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/Web.config b/oop/asp_textfile/asp_textfile/Web.config
new file mode 100644
index 0000000..855dd25
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/Web.config
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/WriteToFile.cs b/oop/asp_textfile/asp_textfile/WriteToFile.cs
new file mode 100644
index 0000000..5238557
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/WriteToFile.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace asp_textfile
+{
+ public static class WriteToFile
+ {
+ public static void SaveToFile(string _input, string path)
+ {
+ File.WriteAllText(path, _input);
+ }
+ }
+}
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/asp_textfile.csproj b/oop/asp_textfile/asp_textfile/asp_textfile.csproj
new file mode 100644
index 0000000..db97b24
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/asp_textfile.csproj
@@ -0,0 +1,130 @@
+
+
+
+
+
+ Debug
+ AnyCPU
+
+
+ 2.0
+ {BD0AFAB8-0DEE-47AC-966D-00D4673200C8}
+ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ asp_textfile
+ asp_textfile
+ v4.5.2
+ true
+
+
+
+
+
+
+
+
+
+ true
+ full
+ false
+ bin\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ true
+ pdbonly
+ true
+ bin\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web.config
+
+
+ Web.config
+
+
+
+
+
+
+
+
+
+
+ Default.aspx
+ ASPXCodeBehind
+
+
+ Default.aspx
+
+
+
+ 10.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
+
+
+
+
+
+
+
+ True
+ True
+ 50164
+ /
+ http://localhost:50164/
+ False
+ False
+
+
+ False
+
+
+
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/packages.config b/oop/asp_textfile/asp_textfile/packages.config
new file mode 100644
index 0000000..b23732c
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/packages.config
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/asp_textfile/asp_textfile/string_data.txt b/oop/asp_textfile/asp_textfile/string_data.txt
new file mode 100644
index 0000000..b601d8a
--- /dev/null
+++ b/oop/asp_textfile/asp_textfile/string_data.txt
@@ -0,0 +1 @@
+sdfsfds f dsf
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload.sln b/oop/picture_upload/picture_upload.sln
new file mode 100644
index 0000000..58fb5c5
--- /dev/null
+++ b/oop/picture_upload/picture_upload.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.12
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "picture_upload", "picture_upload\picture_upload.csproj", "{BF48E476-8969-4504-BD75-C1A4D692DD91}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {BF48E476-8969-4504-BD75-C1A4D692DD91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {BF48E476-8969-4504-BD75-C1A4D692DD91}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {BF48E476-8969-4504-BD75-C1A4D692DD91}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {BF48E476-8969-4504-BD75-C1A4D692DD91}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/oop/picture_upload/picture_upload/Default.aspx b/oop/picture_upload/picture_upload/Default.aspx
new file mode 100644
index 0000000..fbd28a2
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Default.aspx
@@ -0,0 +1,23 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="picture_upload.Default" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oop/picture_upload/picture_upload/Default.aspx.cs b/oop/picture_upload/picture_upload/Default.aspx.cs
new file mode 100644
index 0000000..6e529b0
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Default.aspx.cs
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace picture_upload
+{
+ public partial class Default : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void UploadButton_Click(object sender, EventArgs e)
+ {
+ if (FileUpload1.HasFile)
+ {
+ try
+ {
+ string filename = System.IO.Path.GetFileName(FileUpload1.FileName);
+ FileUpload1.SaveAs(Server.MapPath("~/uploaded") + filename);
+ UploadStatusLabel.Text = "Upload status: File uploaded!";
+ }
+ catch (Exception ex)
+ {
+ UploadStatusLabel.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload/Default.aspx.designer.cs b/oop/picture_upload/picture_upload/Default.aspx.designer.cs
new file mode 100644
index 0000000..a69700a
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Default.aspx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace picture_upload {
+
+
+ public partial class Default {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// FileUpload1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.FileUpload FileUpload1;
+
+ ///
+ /// UploadButton control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button UploadButton;
+
+ ///
+ /// UploadStatusLabel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label UploadStatusLabel;
+
+ ///
+ /// Image1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Image Image1;
+ }
+}
diff --git a/oop/picture_upload/picture_upload/Properties/AssemblyInfo.cs b/oop/picture_upload/picture_upload/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..a9ffbb6
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+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("picture_upload")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("picture_upload")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
+[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("bf48e476-8969-4504-bd75-c1a4d692dd91")]
+
+// 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 Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/oop/picture_upload/picture_upload/Web.Debug.config b/oop/picture_upload/picture_upload/Web.Debug.config
new file mode 100644
index 0000000..fae9cfe
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Web.Debug.config
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload/Web.Release.config b/oop/picture_upload/picture_upload/Web.Release.config
new file mode 100644
index 0000000..da6e960
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Web.Release.config
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload/Web.config b/oop/picture_upload/picture_upload/Web.config
new file mode 100644
index 0000000..855dd25
--- /dev/null
+++ b/oop/picture_upload/picture_upload/Web.config
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload/packages.config b/oop/picture_upload/picture_upload/packages.config
new file mode 100644
index 0000000..b23732c
--- /dev/null
+++ b/oop/picture_upload/picture_upload/packages.config
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/oop/picture_upload/picture_upload/picture_upload.csproj b/oop/picture_upload/picture_upload/picture_upload.csproj
new file mode 100644
index 0000000..ee26a42
--- /dev/null
+++ b/oop/picture_upload/picture_upload/picture_upload.csproj
@@ -0,0 +1,132 @@
+
+
+
+
+
+ Debug
+ AnyCPU
+
+
+ 2.0
+ {BF48E476-8969-4504-BD75-C1A4D692DD91}
+ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ picture_upload
+ picture_upload
+ v4.5.2
+ true
+
+
+
+
+
+
+
+
+
+ true
+ full
+ false
+ bin\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ true
+ pdbonly
+ true
+ bin\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web.config
+
+
+ Web.config
+
+
+
+
+
+
+
+
+ Default.aspx
+ ASPXCodeBehind
+
+
+ Default.aspx
+
+
+
+
+
+
+
+ 10.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
+
+
+
+
+
+
+
+ True
+ True
+ 49844
+ /
+ http://localhost:49844/
+ False
+ False
+
+
+ False
+
+
+
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
\ No newline at end of file