viewengine
Running ASP / ASP.NET markup outside of a web application (perhaps with MVC)
Is there a way to include some aspx/ascx markup in a DLL and use that to generate text dynamically?I really just want to pass a model instance to a view and get the produced html as a string.Similar t[详细]
2022-12-24 19:17 分类:问答Is it possible to use different view engines for different views in the *same* ASP.NET MVC website?
I\'开发者_C百科d like to experiment with NHaml. Can I use the NHaml view engine for a few of my views, without having to convert the entire application (or create a new prototype application)?Yes:[详细]
2022-12-23 00:47 分类:问答ASP.NET MVC View Engine Resolution Sequence
I created a simple ASP.NET MVC version 1.0 application. I have a ProductController which has one action Index. In the view, I created a corresponding Index.aspx under Product 开发者_开发知识库subfolde[详细]
2022-12-22 09:25 分类:问答Spark can't find views
I have the following folder structure in an ASP.NET MVC 2 app using Spark. [site root] home HomeController.cs[详细]
2022-12-21 10:21 分类:问答Has anyone been able or at least tried to port Liquid Template Language to C#?
I need to give end-users the ability to securely edit an asp.net mvc web application templates and so far Liquid Template Language seems to be perfect, but it is written in Ruby and porting it seems a[详细]
2022-12-20 01:09 分类:问答Mixing spark and webform view engines
Is it开发者_JAVA技巧 possible to use multiple view engines? I have a large(ish) site that is already using the webforms view engine, but we would like to move to spark for new features.[详细]
2022-12-19 02:27 分类:问答ASP.NET MVC ViewEngine ViewLocationCache.GetViewLocation returns null
I am following Chris Piet开发者_C百科schmann\'s solution for theming in ASP.NET MVC. One thing I have noticed is that the view name is not being retrieved from the ViewLocationCache on subsequent req[详细]
2022-12-18 03:22 分类:问答What are the benefits of using an alternate view engine?
I am playing with ASP.NET MVC and I see that there are a few alternate view engines available for it such as NHaml and Spark.My question is why would you use an alternate view engine?I don\'t see a be[详细]
2022-12-10 23:59 分类:问答Where has ViewEngines.DefaultEngine gone an asp.net MVC?
I was recently trying to get the default view engine in ASP.NET MVC开发者_高级运维 1.0 and couldn\'t seem to access the ViewEngines.DefaultEngine property that used to be available in the CTP and Beta[详细]
2022-12-09 00:12 分类:问答