-
-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👾 Fix Bug: Fixed an issue where the ImportFromCurrentAssembly loaded …
…DataResourceServices from the wrong assmbly.
- Loading branch information
1 parent
3a6235d
commit 758a78c
Showing
3 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// THIS FILE IS PART OF WinFormium PROJECT | ||
// THE WinFormium PROJECT IS AN OPENSOURCE LIBRARY LICENSED UNDER THE MIT License. | ||
// COPYRIGHTS (C) Xuanchen Lin. ALL RIGHTS RESERVED. | ||
// GITHUB: https://github.com/XuanchenLin/NanUI | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
using WinFormium.WebResource; | ||
|
||
namespace MinimalWinFormiumApp; | ||
|
||
[RoutePath("/config")] | ||
public class TestService : DataResourceService | ||
{ | ||
public TestService() | ||
{ | ||
} | ||
|
||
[HttpGetMethod("hi")] | ||
public IResourceResult TestMethod() | ||
{ | ||
return Text("OK"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters