Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

主宰稳场 提交于 2019-12-25 04:34:11

问题


Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation with Mono? I am open to learning something like SubSonic or NHibernate if those work better with Mono.

Thanks in advance for any help.


回答1:


I have used subsonic with mono. I've used it on mono 2.0, on which SubStage (GUI front end for subsonic ) does not work, but you can generate code using command line option. It works very well with mono. I don't find any problem while using SubSonic generated code in mono.

I have not NHibernate on mono. NHibernate is very complex, I tried to learn it, but give. While SubSonic is very easy, it take me less than 1hr to learn SubSonic.

If you are interested in Linq, I suggest to you give a try to DBLinq , DBLinq team is working with Mono team to implement Linq to Sql in Mono.




回答2:


This link describes it pretty well. Not entirely sure I understand it, but the end result is good performance. http://www.mono-project.com/Linear_IL




回答3:


We do have people using CodeSmith to generate code that runs under Mono. I talked to one guy who was creating a Mono Framework with CodeSmith.

Thanks -Blake Niemyjski



来源:https://stackoverflow.com/questions/587159/has-anyone-used-any-net-code-generation-frameworks-in-mono-subsonic-nettier

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!