Model view controller 转换工具.spark到cshtml选项
我正在寻找一个在.NETMVC项目中将.spark文件转换为cshtml的好工具。有人能告诉我一些建议吗。spark文件的示例如下:Model view controller 转换工具.spark到cshtml选项,model-view-controller,Model View Controller,我正在寻找一个在.NETMVC项目中将.spark文件转换为cshtml的好工具。有人能告诉我一些建议吗。spark文件的示例如下: <use master="Page"/> <viewdata profiles="List<Profile>"/> <side /> <div class="mainArea"> <ul> <li each="Profile profile in profil
<use master="Page"/>
<viewdata profiles="List<Profile>"/>
<side />
<div class="mainArea">
<ul>
<li each="Profile profile in profiles" style="color:green;?${profile.Location!=null}">
<b>${profile.Name}</b>
<br/><span style="color:orange;">${profile.Location.Country.Name} / ${profile.Location.Name}</span>
<br/><span if="profile.Location!=null" style="color:green;">${profile.Location.Country} / ${profile.Location.Name}}</span>
</li>
</ul>
</div>
-
${profile.Name}
${profile.Location.Country.Name}/${profile.Location.Name}
${profile.Location.Country}/${profile.Location.Name}