We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
Less CSS for .NET 最近发布。
http://www.dotlesscss.org/
Less CSS for .NET was recently released.
http://www.dotlesscss.org/
我不确定是否有任何公开可用的产品,但我已经为 .css 文件编写过几次 ASP.NET HttpHandler。 这是一个非常简单的任务,我通常会添加变量和基本表达式支持、实时缩小、注释剥离等内容。这是您想要的吗? 如果是这样,我认为每次编写、调试和实现处理程序可能最多需要 10 个小时的工作时间……考虑到所有的好处,这还算不错。
I am not sure about any publicly available products, but I have written an ASP.NET HttpHandler for .css files a few times. Its a pretty simple task, and I usually add things like variable and basic expression support, realtime minification, comment stripping, etc. Is this what your looking for? If so, I think each time its taken maybe 10 hours of work max to write, debug, and implement the handler...not too bad given all the benefits.
您还可以使用 Visual Studio SDK 中的 DSL 工具包或 Oslo 来编写自己的 DSL。 在前一种情况下,结果可能是 .css 文件以及您需要的任何其他文件,包括供您的 ASP.NET 应用程序调用的 API 代码。
You could also write your own DSL, using either the DSL Toolkit that's part of the Visual Studio SDK, or using Oslo. In the former case, the result could be .css files plus whatever else you needed, including API code for your ASP.NET application to call upon.