update Auftragsmanagement

This commit is contained in:
2022-06-20 22:36:47 +02:00
parent 6e55982c50
commit 4921fbefbe
927 changed files with 13122 additions and 4080 deletions

View File

@@ -1,30 +1,30 @@
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Threading.Tasks
Imports System.Net.Http
Imports System.Net.Http.Headers
//Imports System
//Imports System.Collections.Generic
//Imports System.Linq
//Imports System.Text
//Imports System.Threading.Tasks
//Imports System.Net.Http
//Imports System.Net.Http.Headers
Namespace HttpClientDemo
Class Program
Private Shared Sub Main(ByVal args As String())
Dim student = New Student() With
{
.Name = "Steve"
}
Dim postTask = client.PostAsJsonAsync(Of Student)("student", student)
postTask.Wait()
Dim result = postTask.Result
//Namespace HttpClientDemo
// Class Program
// Private Shared Sub Main(ByVal args As String())
// Dim student = New Student() With
//{
// .Name = "Steve"
// }
//Dim postTask = client.PostAsJsonAsync(Of Student)("student", student)
// postTask.Wait()
// Dim result = postTask.Result
If result.IsSuccessStatusCode Then
Dim readTask = result.Content.ReadAsAsync(Of Student)()
readTask.Wait()
Dim insertedStudent = readTask.Result
Console.WriteLine("Student {0} inserted with id: {1}", insertedStudent.Name, insertedStudent.Id)
Else
Console.WriteLine(result.StatusCode)
End If
End Sub
End Class
End Namespace
// If result.IsSuccessStatusCode Then
// Dim readTask = result.Content.ReadAsAsync(Of Student)()
// readTask.Wait()
// Dim insertedStudent = readTask.Result
// Console.WriteLine("Student {0} inserted with id: {1}", insertedStudent.Name, insertedStudent.Id)
// Else
// Console.WriteLine(result.StatusCode)
// End If
// End Sub
// End Class
//End Namespace

Binary file not shown.

Binary file not shown.

View File

@@ -1,2 +1,6 @@
E:\Software-Projekte\DPM\DPM2016\DPMHttp\obj\Debug\DPMHttp.csproj.AssemblyReference.cache
E:\Software-Projekte\DPM\DPM2016\DPMHttp\obj\Debug\DPMHttp.csproj.CoreCompileInputs.cache
E:\Software-Projekte\DPM\DPM2016\DPMHttp\bin\Debug\DPMHttp.dll
E:\Software-Projekte\DPM\DPM2016\DPMHttp\bin\Debug\DPMHttp.pdb
E:\Software-Projekte\DPM\DPM2016\DPMHttp\obj\Debug\DPMHttp.dll
E:\Software-Projekte\DPM\DPM2016\DPMHttp\obj\Debug\DPMHttp.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
obj\Debug\\_IsIncrementalBuild