ASP.NET MVC 1 and 2 on Mono 2.4 with Fluent NHibernate

后端 未结 2 1593
一整个雨季
一整个雨季 2020-12-24 09:04

I\'d like to create an application using ASP.NET MVC, that should run under mono 2.4 (compiling will be done on a Windows box). Has anyone getting luck with this? Here is wh

2条回答
  •  暖寄归人
    2020-12-24 09:21

    Okay. I started on a new project that incorporates the best from S#arp Architecture with stuff, that work on mono. Instead of T4Toolkit it uses a ruby script to do the generation job, just as with rails or merb.

    To use install the shaml gem from github:

    gem install shaml
    

    Then create a new application:

    shaml generate app AppName
    

    And create resources:

    shaml generate resource NewRes "name:string;date:DateTime"
    

    S#aml Architecture project homepage: http://shaml.sztupy.hu/

    GitHub project: http://github.com/sztupy/shaml/tree/master

提交回复
热议问题