Silverlight 4 Hosting Requirement
I would like to know if w开发者_如何学Gohat are the technical specification both hardware and software (windows OS, IIS and the like) of a server to be able to host a silverlight 4 / .net 4 / wcf web service application.
Thank you
If you do not need any server-side functionality, you can use any server you want because it will just post .xap file to user. On the other hand, in you are going to implement RIA services for example, you gonna need .net 4.0 hosting platform.
Hope this helps, Ilya
You can host a Silverlight in any Html file. All you need is to use the embed-tag.
There is nothing stopping you from hosting Silverlight on Apache running PHP if you want to, but naturally the default is to host it on IIS.
Look at this reply to a related question for an example: embedding silverlight, anything like flash?
Edit: I see that you changed your question, so this question may belong on another forum. Any computer able to run IIS will be able to host what you ask for. You will probably go for a server running Windows Server 2008, but the hardware specs depend on what your needs are. You should probably aim low first and add more power as you need it.
You may also be interested in using a cloud-based service like Microsofts Azure. It is perfect for hosting an application like yours and it is more or less infinitely scalable.
Currently i´m working on a Silverlight 4 / WCF Ria Services project and i gathered some information about the software requirements for the server. The project is in the initial phase so the list below is not complete. About the hardware requirements i´m not sure. Here´s what i´ve got so far.
OperatingSystem:
- Windows 7
- Windows Server 2003 Service Pack 2
- Windows Server 2008
- Windows Server 2008 R2
- Windows Vista Service Pack 1
- Windows XP Service Pack 3
IIS:
- 6.0 or higher
- Enable ASP.NET for IIS using aspnet_regiis.exe
Mime-Type (only IIS 6.0):
- .xap application/x-silverlight-app
- .xaml application/xaml+xml
- .xbap application/x-ms-xbap
.NET Framework:
- 4.0 and ASP.NET;
- WCF RIA Services V1.0 for Silverlight 4 and Visual Studio 2010 (Installation using Shell: msiexec /i RIAServices.msi SERVER=true)
- ASP.NET MVC 2 RTM (this is optional, but we are using it, Installation using Shell: AspNetMVC2_VS2008.exe –x; msiexec /i aspnetmvc2.msi)
精彩评论