我有一個MVC4應用程序,其中包含用於BusinessLogic和DataAccess圖層的Model(Entity)DLL項目。 MVC控制器使用一些映射器擴展方法將ViewModels(綁定到視圖)轉換爲模型,並將Model對象傳遞給BusinessLogic層。ASP.NET MVC4 ViewModel和knockoutJS ViewModel重複
我的問題是:如果我需要像KnockoutJS這樣的客戶端功能,是否需要創建另一組KnockoutJS ViewModels?我擔心ViewModels的可維護性和頻繁更改。
這很有道理。 – Faredoon