当我用template:list为{ public ActionResult ()}添加一个视图时,会出错。错误消息无法加载源https:\packagesource 我尝试在nuget Manager中更新(包源)和(Microsoft Visual Studio离线包),但没有用。我的HomeController代码: namespace Outfit_Web.Controllers public class HomeController
我想在我的ASP.NET MVC应用程序的布局视图中包含这个版本。我在索引操作中使用它来获得版本:
var version = Assembly.GetAssembly(typeof(HomeController)).GetName().Version;ViewBag.Version = version + " / " + YlaGeneralUtilities.GetBuildDateTime(
我已经开发了一个MVC + Angularjs应用程序,这是一个混合应用程序,而able应用程序的第一个页面是我的HomeController的索引视图作为起点,现在我想授权主页的索引视图,但是现在我的我需要这个被授权,然后被授权的人应该打开的门角应用。[Authorize]
public Action