If you're seeing this, that mean you didn't use default plugin collections.
12 |So this is an empty project.
13 |You can open src\Controllers\HelloController.cs and add something to it.
14 |
11 | /// Application.Ioc.ResolveMany<ICacheCleaner>().ForEach(c => c.ClearCache());
12 | ///
13 | ///
11 | /// public class CacheIsolateByDevice : ICacheIsolationPolicy {
12 | /// public object GetIsolationKey() {
13 | /// return HttpManager.CurrentContext.GetClientDevice();
14 | /// }
15 | /// }
16 | ///
17 | /// Application.Ioc.RegisterMany<CacheIsolateByDevice>(ReuseType.Singleton, serviceKey: "Device");
18 | ///
19 | ///
9 | /// [ExportMany]
10 | /// public class DatabaseInitializeHandler : IDatabaseInitializeHandler {
11 | /// public void ConvertTableName(ref string tableName) {
12 | /// tableName = "ZKWeb_" + tableName;
13 | /// }
14 | /// }
15 | ///
16 | ///
10 | /// [ExportMany]
11 | /// public class Chinese : ILanguage {
12 | /// public string Name { get { return "zh-CN"; } }
13 | /// }
14 | ///
15 | ///
9 | /// [ExportMany]
10 | /// public class Plugin : IPlugin {
11 | /// Plugin() { Console.WriteLine("plugin loaded"); }
12 | /// }
13 | ///
14 | ///
11 | /// var websiteConfigManager = Application.Ioc.Resolve<WebsiteConfigManager>();
12 | /// var config = websiteConfigManager.WebsiteConfig();
13 | ///
14 | ///
15 | /// <html lang="{% html_lang %}"></html>
16 | ///
17 | ///
13 | /// {% raw_html variable %}
14 | ///
15 | ///
9 | /// [ExportMany]
10 | /// class TestController : IController {
11 | /// [Action("index.html")]
12 | /// public string Index() { return "test index"; }
13 | /// }
14 | ///
15 | ///
12 | /// [ExportMany]
13 | /// public ExampleWebsiteStartHandler : IWebsiteStartHandler {
14 | /// public void OnWebsiteStart() {
15 | /// var logManager = Application.Ioc.Resolve<LogManager>();
16 | /// logManager.LogDebug("website started");
17 | /// }
18 | /// }
19 | ///
20 | ///
13 | /// internal class AspNetWebsiteStopper : IWebsiteStopper {
14 | /// public void StopWebsite() {
15 | /// HttpRuntime.UnloadAppDomain();
16 | /// }
17 | /// }
18 | ///
19 | ///
19 | /// var bytes = new byte[] { 1, 0x12, 0x13 };
20 | /// var hex = bytes.ToHex(); // "011213"
21 | ///
22 | ///
17 | /// (12.3000M).Normalize().ToString() == "12.3"
18 | /// (0.0001M).Normalize().ToString() == "0.0001"
19 | /// (0.000001000M).Normalize().ToString() == "0.000001"
20 | ///
21 | ///
21 | /// var methodInfo = this.GetType().FastGetMethod("GetFullName");
22 | /// var fullname = methodInfo.GetFullName();
23 | ///
24 | ///
13 | /// [Tests]
14 | /// class ExampleTest {
15 | /// public void MethodA() {
16 | /// Assert.IsTrue(1 == 1);
17 | /// Assert.IsTrueWith(1 == 1, "if failed this item will be outputed");
18 | /// Assert.Equals(true, true);
19 | /// Assert.Throws<ArgumentException>(() => { throw new ArgumentException(); });
20 | /// }
21 | /// }
22 | ///
23 | ///
18 | /// var value = SystemUtils.GetUsedMemoryBytes();
19 | ///
20 | ///