- 2025年05月31日
- 星期六

我正在尝试在我的Debian 6上安装LXC(0.7.4.1),但是当我运行lxc-checkconfig时,我得到“Cgroup内存控制器:丢失” root@lxcsrv01:~# lxc-checkconfigKernel config /proc/config.gz not found, looking in other places…Found kernel config file

[ActionName(about-us)]public ActionResult EditDetails(int id){ // your code} 上面的操作适用于操作,但我希望能够为控制器执行相同(或类似),即在URL名称中也使用连字符.有没有简单的方法来实现这一点(我尝试了ActionName属性,但没有运气) 最简单的方法是

在我的控制器中,我有类AccountController,并在我有这个方法 [HttpPost][ValidateAntiForgeryToken]public ActionResult LogOff(){ WebSecurity.Logout(); return RedirectToAction(Index, Home);} 在我的视图中,我有一个带有正文的csh