我要获得访问服务器的资料,并分析。按时间统计或者按访问数(每1w次)统计?

解决方案 »

  1.   

    you can read the data into a DataTable and then manipulate the data, see an example herehttp://www.eggheadcafe.com/articles/20021203.aspor use the log parser from Microsoft, seehttp://geekswithblogs.net/drewby/articles/LogParser.aspx
      

  2.   

    你是要操作IIS还是IIS的日志。
    操作日志的话和读写文件没什么区别。
    操作IIS可以用System.DirectoryServices命名空间中的东东--DirectoryEntry,DirectoryEntries
      

  3.   

    好像近来我们这里上头查我们的计数器就是要求我们在公网上公布IIS日志。
      

  4.   

    有更简单的方法啊IIS 日志 的记录形式有 5 种,非 SERVER 版的系统只有3种
    SERVER 版中,有一种形式 是 ODBC 方式,就是存入数据库的,选择该方式,并配置好,然后在.NET里就是数据库的查询而已了。