{"id":29859508,"url":"https://github.com/engineering87/webquark","last_synced_at":"2026-04-22T05:31:31.949Z","repository":{"id":306991636,"uuid":"1023927560","full_name":"engineering87/WebQuark","owner":"engineering87","description":"WebQuark is a lightweight, modular .NET library that streamlines web requests, session handling, and routing across both .NET Framework and .NET Core environments","archived":false,"fork":false,"pushed_at":"2026-03-20T08:27:53.000Z","size":2619,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-21T01:18:50.248Z","etag":null,"topics":["aspnet","aspnet-core","dotnet","framework","querystring","session","utilities","web","web-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/engineering87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-21T23:32:02.000Z","updated_at":"2025-09-15T20:49:38.000Z","dependencies_parsed_at":"2025-07-28T22:06:31.654Z","dependency_job_id":"07a01f32-81d5-40b2-81d9-263109e08a9b","html_url":"https://github.com/engineering87/WebQuark","commit_stats":null,"previous_names":["engineering87/webquark"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/engineering87/WebQuark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FWebQuark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FWebQuark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FWebQuark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FWebQuark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineering87","download_url":"https://codeload.github.com/engineering87/WebQuark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FWebQuark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnet","aspnet-core","dotnet","framework","querystring","session","utilities","web","web-development"],"created_at":"2025-07-30T02:33:51.011Z","updated_at":"2026-04-22T05:31:31.944Z","avatar_url":"https://github.com/engineering87.png","language":"JavaScript","readme":"# WebQuark\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Nuget](https://img.shields.io/nuget/v/WebQuark.Core?style=plastic)](https://www.nuget.org/packages/WebQuark.Core)\n![NuGet Downloads](https://img.shields.io/nuget/dt/WebQuark.Core?cacheSeconds=300)\n[![issues - webquark](https://img.shields.io/github/issues/engineering87/WebQuark)](https://github.com/engineering87/WebQuark/issues)\n[![stars - webquark](https://img.shields.io/github/stars/engineering87/WebQuark?style=social)](https://github.com/engineering87/WebQuark)\n[![Sponsor me](https://img.shields.io/badge/Sponsor-❤-pink)](https://github.com/sponsors/engineering87)\n\n\u003cimg src=\"https://github.com/engineering87/WebQuark/blob/main/img/WebQuark_logo.jpg\" width=\"300\"\u003e\n\n**WebQuark** is a lightweight, modular .NET utility library that streamlines web request, session handling, and routing across both legacy **.NET Framework** and modern **.NET / ASP.NET Core** environments.\n\n## 📑 Table of Contents\n- [Packages](#-packages)\n- [Integrating WebQuark in Your Project](#integrating-webquark-in-your-project)\n  - [.NET Core Integration](#net-core-integration)\n  - [Legacy .NET Framework Integration](#legacy-net-framework-integration)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## 📦 Packages\n\nWebQuark is split into small, focused projects:\n\n| Project                    | Description                                                                 | NuGet Stable |\n|----------------------------|-----------------------------------------------------------------------------|--------------|\n| `WebQuark.Core`            | Core interfaces and shared abstractions used across other modules           | [![WebQuark.Core](https://img.shields.io/nuget/v/WebQuark.Core?style=plastic)](https://www.nuget.org/packages/WebQuark.Core) |\n| `WebQuark.HttpRequest`     | Unified request handling and query utilities for Framework and Core         | [![WebQuark.HttpRequest](https://img.shields.io/nuget/v/WebQuark.HttpRequest?style=plastic)](https://www.nuget.org/packages/WebQuark.HttpRequest) |\n| `WebQuark.HttpResponse`    | Response helpers: headers, status codes, content writing, and redirection   | [![WebQuark.HttpResponse](https://img.shields.io/nuget/v/WebQuark.HttpResponse?style=plastic)](https://www.nuget.org/packages/WebQuark.HttpResponse) |\n| `WebQuark.Session`         | Cross-platform session manager with support for encrypted object storage    | [![WebQuark.Session](https://img.shields.io/nuget/v/WebQuark.Session?style=plastic)](https://www.nuget.org/packages/WebQuark.Session) |\n| `WebQuark.QueryString`     | Strongly-typed query string parser and encoder utilities                    | [![WebQuark.QueryString](https://img.shields.io/nuget/v/WebQuark.QueryString?style=plastic)](https://www.nuget.org/packages/WebQuark.QueryString) |\n| `WebQuark.Extensions`      | Extension methods to simplify integration and enhance core WebQuark modules | [![WebQuark.Extensions](https://img.shields.io/nuget/v/WebQuark.Extensions?style=plastic)](https://www.nuget.org/packages/WebQuark.Extensions) |\n| `WebQuark.Cors`            | CORS helpers with secure defaults, prebuilt policies, ASP.NET Core \u0026 OWIN   | [![WebQuark.Cors](https://img.shields.io/nuget/v/WebQuark.Cors?style=plastic)](https://www.nuget.org/packages/WebQuark.Cors) |\n\n## Integrating WebQuark in Your Project\nThis guide shows how to integrate the WebQuark library for unified abstraction across different .NET platforms, including .NET Core and legacy .NET Framework.\n\n### .NET Core Integration\nFor .NET Core applications, WebQuark provides extension methods to register all core services using the built-in dependency injection (DI) container.\n\n#### Register WebQuark Services in `Program.cs` or `Startup.cs`\n\n```csharp\nusing WebQuark.Extensions;\n\nvar builder = WebApplication.CreateBuilder(args);\n\n// Add required services\nbuilder.Services.AddRazorPages();\nbuilder.Services.AddSession();\nbuilder.Services.AddHttpContextAccessor(); // Register IHttpContextAccessor\nbuilder.Services.AddWebQuark();             // Register all WebQuark services\n\nvar app = builder.Build();\n\n// Configure WebQuark's QueryStringHandler with IHttpContextAccessor\nvar accessor = app.Services.GetRequiredService\u003cIHttpContextAccessor\u003e();\nWebQuark.QueryString.QueryStringHandler.ConfigureHttpContextAccessor(accessor);\n\nif (!app.Environment.IsDevelopment())\n{\n    app.UseExceptionHandler(\"/Error\");\n    app.UseHsts();\n}\n\napp.UseHttpsRedirection();\napp.UseSession();\napp.UseRouting();\napp.UseAuthorization();\n\napp.MapStaticAssets();\napp.MapRazorPages().WithStaticAssets();\n\napp.Run();\n```\n\nYou can also register services individually if needed:\n\n```csharp\nbuilder.Services.AddWebQuarkHttpRequestInspector();\nbuilder.Services.AddWebQuarkHttpResponseHandler();\nbuilder.Services.AddWebQuarkRequestQueryHandler();\nbuilder.Services.AddWebQuarkSessionHandler();\n```\n\n### Legacy .NET Framework Integration\nFor legacy ASP.NET Framework projects (e.g., targeting .NET Framework 4.7.2), WebQuark services can be used directly by instantiating their classes:\n\n```csharp\nvar responseHandler = new HttpResponseHandler();\nvar queryHandler = new QueryStringHandler();\nvar sessionHandler = new SessionHandler();\nvar requestInspector = new HttpRequestInspector();\n```\n\n## Contributing\nThank you for considering to help out with the source code!\nIf you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.\n\n * [Setting up Git](https://docs.github.com/en/get-started/getting-started-with-git/set-up-git)\n * [Fork the repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)\n * [Open an issue](https://github.com/engineering87/WebQuark/issues) if you encounter a bug or have a suggestion for improvements/features\n\n### License\nWebQuark source code is available under MIT License, see license in the source.\n\n### Contact\nPlease contact at francesco.delre[at]protonmail.com for any details.\n","funding_links":["https://github.com/sponsors/engineering87"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering87%2Fwebquark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineering87%2Fwebquark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering87%2Fwebquark/lists"}