需要创建数据库,连接并替换silverlight 4应用程序 [英] Need create database, connect and replace silverlight 4 app

查看:55
本文介绍了需要创建数据库,连接并替换silverlight 4应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!我有几个问题.我有silverlight 4应用程序.
1.我必须在Visual Studio 2010中创建数据库.
我必须在哪里替换数据库?我想在SilverlightApp.Web中吗?是否正确?
如何通过Visual Studio 2010轻松创建数据库?需要使用SQL Server数据库还是ADO.NET实体数据模型?有什么区别?
2.之后,我将通过WCF服务连接到数据库吗?
3.完成所有步骤后,我必须在Internet(服务器)中替换我的应用程序.该怎么办?
我的脚步不正确吗?

也许这是个很简单的问题,但我是这个主题中的新傻瓜.
我从未对wcf,部署或数据库有任何经验,请帮助我,并为我提供任何参考或您的想法.
谢谢.

Hello!!!I have a few questions.I have silverlight 4 application.
1.I have to create database by visual studio 2010.
Where I have to replace database?I guess in SilverlightApp.Web?Is it correct?
How I can create by visual studio 2010 easy database?Do I need use SQL Server Database or ADO.NET Entity Data Model?What''s difference?
2.After that I will be connect to database through WCF-service?
3.After all steps i have to replace my app in internet(server).How can I do it?
Is''t correct my steps?

Probably it''s very easy questions, but I''m very new dummie in this themes.
I have never had some expiriance with wcf, deployment or database, please help me and provide me any referances or your minds.
Thank you.

推荐答案

1) http: //msdn.microsoft.com/zh-CN/library/ff678491.aspx [
1) http://msdn.microsoft.com/en-us/library/ff678491.aspx[^]

prob not in the silverlightApp.Web project though in its own would be nicer.

2) Yes, WCF is great way to connect. (remember silverlight is always async)

3) look at MSDeploy it is easy, but if all else fails remember you can just FTP the folder across and your away laughing!


hi 以上所有观点都是正确的,并且在IIS中进行部署时,请确保HTML/aspx页面中XAP文件的路径正确
http://blogs.msdn.com/b/tims/archive/2008/03/18/configuring-a-web-server-to-host-silverlight-content.aspx
hi All the above points are correct and while deploy in the IIS make sure that path of the XAP file in HTML/aspx Page is correct
http://blogs.msdn.com/b/tims/archive/2008/03/18/configuring-a-web-server-to-host-silverlight-content.aspx


这篇关于需要创建数据库,连接并替换silverlight 4应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆