1
0
假设您已经在web.config中设置了默认的配置文件提供程序。
不确定MVC,但需要标准ASP.NET。 |
2
0
之所以得到一个空名称,并不是因为我没有得到配置文件,而是因为数据库中的配置文件实际上是空的(因为我的代码中有一个不相关的bug)。我所说的一切都是为了让档案工作。 |
3
-1
您可以创建一个登录控件,并在该控件中编写此控件。
httpContext对象也具有用户属性。 |