准备工作

using Micro.Listener 类(Micro.Listener.dll)下载

调用示例:
一、启动服务:new Micro.Listener.ListenerSync(8080).Start();

二、资源调用:
1、HTML:webBrower.Source = new Uri("http://localhost:8080/res/template.html");
2、CSS/JS:<link href="http://localhost:8080/res/style.css" rel="stylesheet" />
3、图片:<img src="http://localhost:8080/res/logo.png"/> 

 

 

Micro.Listener.dll 文件下载

 

Micro.Listener 源代码下载

相关文章:

  • 2022-12-23
  • 2022-01-08
  • 2021-10-05
  • 2021-11-25
  • 2022-01-16
  • 2021-05-14
  • 2021-08-08
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2021-10-12
  • 2022-01-08
  • 2021-08-24
  • 2021-12-17
相关资源
相似解决方案