MVC中的响应内容长度 [英] Response content length in MVC

查看:80
本文介绍了MVC中的响应内容长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Team



我们有一个MVC 4网络应用程序。我们希望在数据库中存储每个用户的响应内容长度。表示当用户(登录)命中应用程序时,我们希望在响应中存储发送了多少内容(使用数据,CSS或Jquery文件查看HTML)。我们希望
存储此内容长度,用于应用程序的交易限制,每月5 GB。



最好的方法是什么,以及如何做这个?我们应该在Global.asax或BaseController中编写此代码。

Hello Team

We have a MVC 4 web application. We want to store response content length per user wise in database. Means when an user(logged in) hits application we want to store how much content is sent(View HTML with data, CSS or Jquery files) in the Response. We want to store this content length for Transaction limits on application says per month 5 GB.

What is the best way to do this and how to do this? Where we should write this code in Global.asax or BaseController.

谢谢

推荐答案

http://forums.asp.net/

这是你应该发布的地方。

it's where you should post.


这篇关于MVC中的响应内容长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆