Facebook-.NET Development - What Architecture?

I'm starting to develop a facebook game using ASP.NET + Silverlight

What architecture would you use? ASP.NET MVC or MVVM or RIA Services?

And what do you think of using XNA with Silversprite?

The game will not be an arcade game. This will be more strategy / RPG.

Thank you very much in advance.

+4
source share
2 answers

If you are developing a game, then I doubt that you will have such an opportunity with which MVC will help you. Therefore, if something you should look at MVVM, and even this may not be applicable to the game dev, it really depends on what game you create.

Perhaps you should consider Silversprite , which allows you to use XNA to develop a game based on 2D sprites, and then deliver it to Silverlight.

+3
source

There is no reason why you cannot use a combination of almost all of them.

  • Your web application may be an asp.net mvc web application
  • Silverlight application can be implemented using mvvm
  • Silverlight / server can use ria services to communicate

Whether it leaves to use silversprite or not ... it really depends on the type of game. If your game uses a lot of menus and text, then you might need to avoid using silversprite (xna based). However, if you need a more graphic / interactive experience, then silversprite is a great choice, as it basically just writes the game using xna.

And then you can always transfer your game to windows, xbox360, windows phone 7 and even iphone (via xnatouch ) since silverlight is based on XNA; -)

+2
source

Source: https://habr.com/ru/post/1304349/


All Articles