I want to create a Silverlight Business Application that uses my machine's Local Web Server, and that accesses a SQL SERVER Express database under the MVVM approach, using EF, Domain Serices and RIA Services.
I'm a Windows 7 user with VS2010 or 2012.
Which of the following is a better practice?:
First Approach) Create a Web Site that uses http location (IIS 7.5), then add a Silverlight Business Application project to it. All DomainServices, Views and ViewModels will be located in BusinessApplication and BusinessApplication.Web projects. The LocalHost project will only serve as the way to open the project to the world:
image http://s8.postimage.org/fveorpir9/Sin_T_tulo.jpg
Second Approach) Create a Silverlight Business Application, check the BusinessApplication.Web property Web->Use local IIS Web Server and proceed creating the models, domainservices and so on...
Third Approach) Create a WebSite located on localhost, and add a Silverlight Project hosted in the web site. This approach doesn't use the Business Application Template. Not interested.