创建自定义配置文件,可以在应用程序的 Web.config 文件中的 profile 配置元素的 inherits 属性中指定。 Web.config总的设置: <profile inherits="EmployeeProfile"> </profile>。 using System;using System.Web.Profile;namespace Samples.AspNet.Profile} 相关文章: 2022-01-13 2022-12-23 2021-07-13 2022-12-23 2022-12-23 2022-12-23