使用 Nancy 框架... http://nancyfx.org/
如果我想在客户端使用 Browser 对象来使用 Nancy 服务,就像我们在这个例子中看到的:https://github.com/NancyFx/Nancy/wiki/Testing-your-application
...
var bootstrapper = new DefaultNancyBootstrapper();
var browser = new Browser(bootstrapper);
// When
var result = browser.Get("/", with => {
with.HttpRequest();
});
...
我是否必须使用 Nancy.Testing 即使我的应用程序没有测试???换句话说,是否存在其他浏览器对象像该对象一样执行 Get、Put、Post 和 Delete 操作???
请您参考如下方法:
