所以,在我Index.cshtml
页,当我最初加载页面我有:ServiceStack MiniProfiler Ajax请求记录
@inherits ViewPage
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="ext-all-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="app.ext.js"></script>
<script type="text/javascript" src="dump.js"></script>
@ServiceStack.MiniProfiler.Profiler.RenderIncludes().AsRaw()
</head>
<body>
</body>
</html>
都好,我可以看到它剖析指数,一堆ExtJS以及服务器端的第一个ajax调用(在/ api/session中)我的ServiceStack。
现在,在我的ExtJS表单中,我有一个Customers选项卡,当我单击它时发送ajax请求到/api/customers
,当我点击它时,我有一个选项卡调用/api/orders
。
但是,当我开始点击时,说客户选项卡,Miniprofiler不会添加任何后续ajax请求到列表中吗?我认为Miniprofiler可以记录ajax请求没有什么特别的需要做?为什么它不记录随后的ajax请求?我错过了什么?
非常感谢。我会试试看,并让你知道它是如何为我工作的。 – Tom 2013-04-06 00:36:51