How to share the most code between a WPF and an ASP.NET MVC application?

后端 未结 7 1733
野性不改
野性不改 2021-02-19 06:20

What architecture and patterns can I use to share the most model and logic code between a WPF and an ASP.NET MVC application?

I am trying to achieve a bit more here than

相关标签:
7条回答
  • 2021-02-19 07:04

    One of the most widely used patterns seems to be having the Entities in a seperate DLL assembly, then having this referenced from each of the other projects.

    MVC 3 suits the repository pattern very nicely, which can be a clean route to take in the first instance, and will work for both WPF and ASP.net

    0 讨论(0)
提交回复
热议问题