Commit Graph

218 Commits

Author SHA1 Message Date
7aa1661784 Update ResponseObject method to use correct application/json MIME type instead of text/json. 2025-08-08 17:46:46 +02:00
ef9c2b97a2 Refactor to use target-typed new and inline object initializers for cleaner and more concise code. Remove redundant static readonly Utf8Encoding instances in favor of Encoding.UTF8. 2025-07-29 04:45:13 +02:00
b7b7c472af Enhance dictionary safety with SafeGet, SafeSet, and SafeRemove methods. Adjust IWebContext and related tests to support nullable value types in dictionary operations. Refactor GetRequestParameter for clarity and consistency. 2025-07-29 02:05:28 +02:00
bab8898841 Remove IDE user status 2025-07-28 23:46:32 +02:00
9a480f5528 Misc:
* IWebContext: Add Request body reading methods and properties.
* IWebContext: Add support for HttpOnly, and Secure cookies.
* Use file-scoped namespaces.
2025-07-28 16:11:54 +02:00
6dc19e8bbd Update copyright year, improve documentation, upgrade to .NET 9.0, and refactor AspNetCore entry point. 2025-07-28 03:20:21 +02:00
97ceab3e1c Add README.md and LICENSE.txt 2023-06-02 02:01:40 +02:00
ef92878cbd Reformat code 2023-06-01 04:17:16 +02:00
23bfda2d75 Tests: Add more tests to CTextBox. 2023-06-01 03:41:30 +02:00
8b762981e5 CTextBox: Fix SetClientsideHeight when setting height two or more times. 2023-06-01 03:40:47 +02:00
7ce3a00218 Tests: Add tests:
* Control
* Button
* HiddenField
* HtmlForm
* HyperLink
* Label
* LiteralControl
* Panel
* TextBox
* CTextBox
2023-05-31 02:25:10 +02:00
96601f62e5 Tests: Add tests to HtmlGenericControl, HtmlBody and HtmlHead. 2023-05-30 03:05:42 +02:00
61fce0efb7 Tests: Add tests for Page. 2023-05-30 02:41:53 +02:00
bde23a865b Tests: Add more tests to PageCommon. 2023-05-30 02:18:18 +02:00
b8ab4766d4 Tests: Add PageCommon tests 2023-05-29 03:27:24 +02:00
2fd6cc5d1d Tests: Cover test for FrmError. 2023-05-29 01:52:55 +02:00
82b237f7fd Tests: Add test for FrmEcho. 2023-05-29 01:10:58 +02:00
602ec194fa Tests: Add tests for Unit. 2023-05-28 23:48:28 +02:00
a03af3d5a0 Tests: Coverage tests of ObjectActivator. 2023-05-28 23:44:31 +02:00
61107226c8 Tests: Add tests for ExtensionMethods.GetRequestParameter, and coverage for ExtensionMethods.ResponseObject. 2023-05-28 21:57:05 +02:00
7cb0fc1b4a Tests: Add coverage tests for ScriptsBundler and StylesBundler. 2023-05-28 21:13:16 +02:00
a10411a8a3 Bundler: Fix IOException trying to scan an invalid path. 2023-05-28 21:12:51 +02:00
fcb544cd54 Add tests for ServerHelper. 2023-05-28 14:05:04 +02:00
f7247e89dd Add testing project for VAR.WebFormsCore. 2023-05-28 14:04:52 +02:00
d3b83a3a76 Fix some warnings 2023-05-28 12:27:01 +02:00
2c519bf122 Add cookie support on IWebContext. 2023-05-28 05:09:18 +02:00
1eb0fea182 Extract AspNetCore dependency to VAR.WebFormsCore.AspNetCore.
* Abstract HttpContext with IWebContext.
* Move AspNetCore dependant code to isolated classes.
* Downgrade VAR.WebFormsCore to netstandard2.0.
2023-05-28 04:55:06 +02:00
f52d80e643 Fix typos. 2023-05-27 22:13:40 +02:00
95ae3f7bc4 Cleanup 2023-05-25 03:07:18 +02:00
e442ed3f6d Fix async response writing 2023-05-25 01:00:23 +02:00
2a474aac0a Enabled nullable checks and fix nullability warnings. 2023-05-22 03:25:56 +02:00
9050b3796d Change TargetFramework to net7.0 2023-05-22 02:34:04 +02:00
a3299b3daf Apply Rider recommendations. 2023-05-22 01:34:33 +02:00
216b4e7708 Design adjusts 2022-09-15 21:05:39 +02:00
82c2181cdb Control: Change to protected some members 2022-07-16 13:30:24 +02:00
3d8dd8be31 Simplify async/await handling 2022-07-16 13:29:55 +02:00
63462fb870 FrmError: Use LiteralControls instead of Labels, for direct markup rendering 2022-07-16 13:27:08 +02:00
922754d6b2 Button: Add OnClientClick property to bind a clientside js event to click 2022-07-16 13:26:15 +02:00
bf8112d4ab Add TestWebApp 2022-07-14 03:46:49 +02:00
bf629a5ebe Apply Rider recommendations 2022-05-14 21:03:00 +02:00
d3a0bd4ad1 WIP 2022-01-03 10:46:25 +01:00
a20ff88c51 VAR.WebFormsCore: Change error handling 2021-07-08 02:32:37 +02:00
25dca639e6 Throw NotFound Exception when static file is not found 2021-07-07 21:54:12 +02:00
7125b5a5bb Use current directory as initial directory for persistence 2021-07-07 21:53:03 +02:00
f1e46d9629 VAR.WebFormsCore: Set output as Library to allow linkage on self-contained exes. 2021-07-01 02:48:44 +02:00
5a9ae6dc93 VAR.WebFormsCore: Wrap RouteRequest and Flush inside a try-catch to capture unhandled exceptions 2021-07-01 02:46:31 +02:00
75f8d9c7d7 Merge pull request #1 from Kableado/master-net5
net5.0
2021-06-29 08:36:05 +02:00
c73dbbffe3 VAR.WebFormsCore: Implement Unit.ToString() 2021-06-29 08:32:46 +02:00
fcddf7b647 VAR.WebFormsCore: Use Async IO 2021-06-29 08:25:47 +02:00
d0f30af288 VAR.WebFormsCore: Migrate PrepareCacheableResponse and PrepareUncacheableResponse to net5 api 2021-06-26 05:54:14 +02:00