简体   繁体   中英

What is the Client/Server Equivalent for ASP.NET MVC

I used to build a website on ASP.NET MVC. Now I want to build another web service. This time, I want to use a client application (running on Windows) and no web pages are needed. What technology should I choose? I am still using C# on both server- and client-side, and I might use mySQL. Thank you very much.

I would strongly suggest WPF for client side. It has a similar MVC architecture and uses XAML for UI which is simple to learn but very powerful. Server can be a service if no gui is needed.

You could use a classic 3-tiers architecture:

  • UI client application in WPF (which provides the nice MVVM pattern for UI/Logic separation)
  • WCF webservices for the backoffice, IIS hosting (C# assemblies)
  • Entity Framework as an ORM

It is ASP.NET Web API , which is new in ASP.NET MVC 4 <1> .

ASP.NET MVC 4 is under RC by the time of writing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM