简而言之,我希望有一个模板,它看起来像:
private String Transform(String Template, object model) 然后,我希望找到模板中以@开头的所有位置,并将其替换为所提供的模型中包含的数据。 public class Receipt public String Firstname { get; set; }
public String
目前,我正在结合Nginx服务器和快速and mono 4使用ASP.NET MVC 4。在试图发表任何意见之后,我得到:The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched: ~/Views/Home/Index.ascx
~/