Update.
This commit is contained in:
parent
9e0e316cd3
commit
7fb519f419
17
Program.cs
17
Program.cs
@ -8,11 +8,6 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
partial class Program {
|
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){
|
static async Task Main(string[] args){
|
||||||
Application.Init();
|
Application.Init();
|
||||||
|
|
||||||
@ -20,13 +15,21 @@ partial class Program {
|
|||||||
window.SetDefaultSize(320,240);
|
window.SetDefaultSize(320,240);
|
||||||
window.DeleteEvent += (o,e) => Application.Quit();
|
window.DeleteEvent += (o,e) => Application.Quit();
|
||||||
|
|
||||||
string result = await DrApi.get_rants("https://devrant.com/feed/recent");
|
RunIt();
|
||||||
Console.WriteLine(result);
|
|
||||||
|
|
||||||
window.ShowAll();
|
window.ShowAll();
|
||||||
|
|
||||||
Application.Run();
|
Application.Run();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static async Task RunIt()
|
||||||
|
{
|
||||||
|
string result = await DrApi.get_rants("https://devrant.com/feed/recent").ConfigureAwait(false);
|
||||||
|
|
||||||
|
Console.WriteLine(result);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("drnetapi")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("drnetapi")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[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.AssemblyProductAttribute("drnetapi")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("drnetapi")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("drnetapi")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
876e47ae0af1b1b3c50d0188ea190deb89c9c2cdeca7c22e26195c0d767b83cf
|
f0a018514b0ac9989cefd4e8304d6c22b9ba22f2036bcbdc20cd35b98e0929b3
|
||||||
|
@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = drnetapi
|
build_property.RootNamespace = drnetapi
|
||||||
build_property.ProjectDir = /home/retoor/projects/desk/
|
build_property.ProjectDir = /home/retoor/projects/drnetapi/
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
Binary file not shown.
@ -22,3 +22,27 @@
|
|||||||
/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.pdb
|
/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/drnetapi.genruntimeconfig.cache
|
||||||
/home/retoor/projects/desk/obj/Debug/net8.0/ref/drnetapi.dll
|
/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
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
81a9dd837751fb2a9ee94daadacfdaed7f0ae7769c2b3b424eba1e7c23c95c6f
|
b196298d23a3a841c1ef0e5b734aa0e27c33e7eb8e6c9434ac7ce89da4520dc1
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"/home/retoor/projects/desk/drnetapi.csproj": {}
|
"/home/retoor/projects/drnetapi/drnetapi.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"/home/retoor/projects/desk/drnetapi.csproj": {
|
"/home/retoor/projects/drnetapi/drnetapi.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj",
|
"projectUniqueName": "/home/retoor/projects/drnetapi/drnetapi.csproj",
|
||||||
"projectName": "drnetapi",
|
"projectName": "drnetapi",
|
||||||
"projectPath": "/home/retoor/projects/desk/drnetapi.csproj",
|
"projectPath": "/home/retoor/projects/drnetapi/drnetapi.csproj",
|
||||||
"packagesPath": "/home/retoor/.nuget/packages/",
|
"packagesPath": "/home/retoor/.nuget/packages/",
|
||||||
"outputPath": "/home/retoor/projects/desk/obj/",
|
"outputPath": "/home/retoor/projects/drnetapi/obj/",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"/home/retoor/.nuget/NuGet/NuGet.Config"
|
"/home/retoor/.nuget/NuGet/NuGet.Config"
|
||||||
|
@ -262,11 +262,11 @@
|
|||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj",
|
"projectUniqueName": "/home/retoor/projects/drnetapi/drnetapi.csproj",
|
||||||
"projectName": "drnetapi",
|
"projectName": "drnetapi",
|
||||||
"projectPath": "/home/retoor/projects/desk/drnetapi.csproj",
|
"projectPath": "/home/retoor/projects/drnetapi/drnetapi.csproj",
|
||||||
"packagesPath": "/home/retoor/.nuget/packages/",
|
"packagesPath": "/home/retoor/.nuget/packages/",
|
||||||
"outputPath": "/home/retoor/projects/desk/obj/",
|
"outputPath": "/home/retoor/projects/drnetapi/obj/",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"/home/retoor/.nuget/NuGet/NuGet.Config"
|
"/home/retoor/.nuget/NuGet/NuGet.Config"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "/OZxepw2BFfahk75r6cBBCnANwLp6WQjEj8K/IU3d7PD+AH4flpRGC4msQXqbWl+rMjIdBDQ2ec6q3THszZlbg==",
|
"dgSpecHash": "VIlMwTGgkTVOiBw98wHhoWW718Npjy/Ut4cwyxXucRy0cpVBB5mTlCmsEmH3z+G0GBCPZusaB8XMvWEhW8spNA==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "/home/retoor/projects/desk/drnetapi.csproj",
|
"projectFilePath": "/home/retoor/projects/drnetapi/drnetapi.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"/home/retoor/.nuget/packages/atksharp/3.24.24.95/atksharp.3.24.24.95.nupkg.sha512",
|
"/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",
|
"/home/retoor/.nuget/packages/cairosharp/3.24.24.95/cairosharp.3.24.24.95.nupkg.sha512",
|
||||||
|
Loading…
Reference in New Issue
Block a user