程序开发里面的profile 是什么意思

来源:百度知道 编辑:UC知道 时间:2024/07/07 01:31:12

Profile是针对每个帐户的数据存储,比如一个电子商务网站的用户购物车数据。

“用户配置文件”是Profile这个词的直接翻译,其实没有文件的意思,默认存储在数据库中,不用自己管理文件。

Profile是HttpContext类的一个属性,是ProfileBase类,继承自SettingsBase类。所谓Provider,是你可以定义Profile如何存储,默认是存储在LocalServer数据库中,需要网站重启动不丢失数据,所以不能存在内存中。

扩展资料:

Profile功能

基本命令:

profile on : 开启profile 

profile off: 关闭profile 

profile clear: 清空历史数据 

profile viewer: 查看profile 结果

示例1:

引自Matlab 中帮助文档: