diff --git a/Program.cs b/Program.cs index a7088a9..c95776f 100644 --- a/Program.cs +++ b/Program.cs @@ -8,11 +8,6 @@ using System.Threading.Tasks; partial class Program { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - static async Task Main(string[] args){ Application.Init(); @@ -20,13 +15,21 @@ partial class Program { window.SetDefaultSize(320,240); window.DeleteEvent += (o,e) => Application.Quit(); - string result = await DrApi.get_rants("https://devrant.com/feed/recent"); - Console.WriteLine(result); + RunIt(); window.ShowAll(); Application.Run(); } + + + static async Task RunIt() + { + string result = await DrApi.get_rants("https://devrant.com/feed/recent").ConfigureAwait(false); + + Console.WriteLine(result); + + } } diff --git a/bin/Debug/net8.0/drnetapi.dll b/bin/Debug/net8.0/drnetapi.dll index 21bb214..d71baf9 100644 Binary files a/bin/Debug/net8.0/drnetapi.dll and b/bin/Debug/net8.0/drnetapi.dll differ diff --git a/bin/Debug/net8.0/drnetapi.pdb b/bin/Debug/net8.0/drnetapi.pdb index 0fa3e4b..d36d2bf 100644 Binary files a/bin/Debug/net8.0/drnetapi.pdb and b/bin/Debug/net8.0/drnetapi.pdb differ diff --git a/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs b/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs index 223aa52..6631f5d 100644 --- a/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs +++ b/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs @@ -13,7 +13,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("drnetapi")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3e85ef138f56eb1454fece36b3bc817dff8fd5d")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9e0e316cd3b7bd2058c7ce9b967b5ac68422bf36")] [assembly: System.Reflection.AssemblyProductAttribute("drnetapi")] [assembly: System.Reflection.AssemblyTitleAttribute("drnetapi")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache b/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache index d209369..8a69f3c 100644 --- a/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache +++ b/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache @@ -1 +1 @@ -876e47ae0af1b1b3c50d0188ea190deb89c9c2cdeca7c22e26195c0d767b83cf +f0a018514b0ac9989cefd4e8304d6c22b9ba22f2036bcbdc20cd35b98e0929b3 diff --git a/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig index 79c42a2..7d35a94 100644 --- a/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig +++ b/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig @@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = drnetapi -build_property.ProjectDir = /home/retoor/projects/desk/ +build_property.ProjectDir = /home/retoor/projects/drnetapi/ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/Debug/net8.0/drnetapi.assets.cache b/obj/Debug/net8.0/drnetapi.assets.cache index ed9b7bb..304c491 100644 Binary files a/obj/Debug/net8.0/drnetapi.assets.cache and b/obj/Debug/net8.0/drnetapi.assets.cache differ diff --git a/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt b/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt index f817083..39e20e8 100644 --- a/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt +++ b/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt @@ -22,3 +22,27 @@ /home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.pdb /home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache /home/retoor/projects/desk/obj/Debug/net8.0/ref/drnetapi.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/drnetapi +/home/retoor/projects/drnetapi/bin/Debug/net8.0/drnetapi.deps.json +/home/retoor/projects/drnetapi/bin/Debug/net8.0/drnetapi.runtimeconfig.json +/home/retoor/projects/drnetapi/bin/Debug/net8.0/drnetapi.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/drnetapi.pdb +/home/retoor/projects/drnetapi/bin/Debug/net8.0/AtkSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/CairoSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/GdkSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/GioSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/GLibSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/GtkSharp.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/HtmlAgilityPack.dll +/home/retoor/projects/drnetapi/bin/Debug/net8.0/PangoSharp.dll +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.csproj.AssemblyReference.cache +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.csproj.CoreCompileInputs.cache +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.csproj.CopyComplete +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.dll +/home/retoor/projects/drnetapi/obj/Debug/net8.0/refint/drnetapi.dll +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.pdb +/home/retoor/projects/drnetapi/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache +/home/retoor/projects/drnetapi/obj/Debug/net8.0/ref/drnetapi.dll diff --git a/obj/Debug/net8.0/drnetapi.dll b/obj/Debug/net8.0/drnetapi.dll index 21bb214..d71baf9 100644 Binary files a/obj/Debug/net8.0/drnetapi.dll and b/obj/Debug/net8.0/drnetapi.dll differ diff --git a/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache b/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache index e22da28..a6e1bd2 100644 --- a/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache +++ b/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache @@ -1 +1 @@ -81a9dd837751fb2a9ee94daadacfdaed7f0ae7769c2b3b424eba1e7c23c95c6f +b196298d23a3a841c1ef0e5b734aa0e27c33e7eb8e6c9434ac7ce89da4520dc1 diff --git a/obj/Debug/net8.0/drnetapi.pdb b/obj/Debug/net8.0/drnetapi.pdb index 0fa3e4b..d36d2bf 100644 Binary files a/obj/Debug/net8.0/drnetapi.pdb and b/obj/Debug/net8.0/drnetapi.pdb differ diff --git a/obj/Debug/net8.0/ref/drnetapi.dll b/obj/Debug/net8.0/ref/drnetapi.dll index f8d910b..60960ca 100644 Binary files a/obj/Debug/net8.0/ref/drnetapi.dll and b/obj/Debug/net8.0/ref/drnetapi.dll differ diff --git a/obj/Debug/net8.0/refint/drnetapi.dll b/obj/Debug/net8.0/refint/drnetapi.dll index f8d910b..60960ca 100644 Binary files a/obj/Debug/net8.0/refint/drnetapi.dll and b/obj/Debug/net8.0/refint/drnetapi.dll differ diff --git a/obj/drnetapi.csproj.nuget.dgspec.json b/obj/drnetapi.csproj.nuget.dgspec.json index 89d3227..da27abe 100644 --- a/obj/drnetapi.csproj.nuget.dgspec.json +++ b/obj/drnetapi.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "format": 1, "restore": { - "/home/retoor/projects/desk/drnetapi.csproj": {} + "/home/retoor/projects/drnetapi/drnetapi.csproj": {} }, "projects": { - "/home/retoor/projects/desk/drnetapi.csproj": { + "/home/retoor/projects/drnetapi/drnetapi.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj", + "projectUniqueName": "/home/retoor/projects/drnetapi/drnetapi.csproj", "projectName": "drnetapi", - "projectPath": "/home/retoor/projects/desk/drnetapi.csproj", + "projectPath": "/home/retoor/projects/drnetapi/drnetapi.csproj", "packagesPath": "/home/retoor/.nuget/packages/", - "outputPath": "/home/retoor/projects/desk/obj/", + "outputPath": "/home/retoor/projects/drnetapi/obj/", "projectStyle": "PackageReference", "configFilePaths": [ "/home/retoor/.nuget/NuGet/NuGet.Config" diff --git a/obj/project.assets.json b/obj/project.assets.json index d7c5dbb..1b89090 100644 --- a/obj/project.assets.json +++ b/obj/project.assets.json @@ -262,11 +262,11 @@ "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj", + "projectUniqueName": "/home/retoor/projects/drnetapi/drnetapi.csproj", "projectName": "drnetapi", - "projectPath": "/home/retoor/projects/desk/drnetapi.csproj", + "projectPath": "/home/retoor/projects/drnetapi/drnetapi.csproj", "packagesPath": "/home/retoor/.nuget/packages/", - "outputPath": "/home/retoor/projects/desk/obj/", + "outputPath": "/home/retoor/projects/drnetapi/obj/", "projectStyle": "PackageReference", "configFilePaths": [ "/home/retoor/.nuget/NuGet/NuGet.Config" diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache index fe01795..dc1465a 100644 --- a/obj/project.nuget.cache +++ b/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "/OZxepw2BFfahk75r6cBBCnANwLp6WQjEj8K/IU3d7PD+AH4flpRGC4msQXqbWl+rMjIdBDQ2ec6q3THszZlbg==", + "dgSpecHash": "VIlMwTGgkTVOiBw98wHhoWW718Npjy/Ut4cwyxXucRy0cpVBB5mTlCmsEmH3z+G0GBCPZusaB8XMvWEhW8spNA==", "success": true, - "projectFilePath": "/home/retoor/projects/desk/drnetapi.csproj", + "projectFilePath": "/home/retoor/projects/drnetapi/drnetapi.csproj", "expectedPackageFiles": [ "/home/retoor/.nuget/packages/atksharp/3.24.24.95/atksharp.3.24.24.95.nupkg.sha512", "/home/retoor/.nuget/packages/cairosharp/3.24.24.95/cairosharp.3.24.24.95.nupkg.sha512",