如何在WPF或Silverlight中编写Intranet应用程序 [英] How to write Intranet application in WPF or silverlight

查看:84
本文介绍了如何在WPF或Silverlight中编写Intranet应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为小型教育机构开发机构管理系统.
我将使用Silverlight或WPF开发此应用程序.在该系统中,进入学院的学生将能够登录其帐户进行日常出勤,查看考试结果等.

我想将此应用程序部署到其内部LAN中,以便即使没有Internet连接也可以使用此应用程序.

是否有任何教程描述了如何开发和部署我应该参考的通过Intranet在WPF/Silverlight上编写的应用程序?
还可以使用PHP来实现吗?
请帮助
预先感谢.

I am developing an institute management system for a small scale education institute.
I am going to develop this application using silverlight or wpf.In this system student who are enrolled in the institute will able to log in to their accounts for daily attendance, for viewing exam result etc.

I want to deploy this application into their internal LAN so that they can use this application even if there is no internet connection available.

Is any tutorial which describe how to develop and deploy an application written on WPF/Silverlight over intranet that I should refer?
Also can it be achieve using PHP?
Please Help
Thanks in advance.

推荐答案



WCF DataServices和Silverlight客户端可以适合您的LAN应用程序.如果您使用正确的关键字在Google上进行搜索,那么网络上就会有很多示例.

...

使用EntityFramework(EDMX)进行数据建模

使用WCF Dataservices生成OData层

使用.NET代理生成器访问WCF数据服务层(OData).

使用MVVM模式设计您的瘦客户端UI

祝你好运:)

问候
Tarik
Hi,

WCF DataServices and Silverlight client could fit your LAN application. There is lots of example in the web if you googled with the right keywords.

...

Use EntityFramework (EDMX) for datamodelling

Generate OData layer using with WCF Dataservices

Access your WCF DataService Layer (OData) using with .NET proxy generator.

Design your thinclient UI''s using with MVVM pattern

Good luck :)

Regards
Tarik


经过研究,我决定应该使用哪种技术:

1)最好在Silverlight中开发此应用程序,因为它只是WPF的一个子集.
2)最好从两种技术开始开发应用程序,因为我可以对两种技术使用相同的XAML,而几乎没有更改或完全没有更改.

3)在WPF中,与Silverlight的连接比在Silverlight中的连接更简单,因为后者不会直接连接到数据库,并且需要服务来实现此目的.即使在php中,也可以使用WCF或Ria服务编写该服务.


尽管我仍然对MS Access和SQL Server Express之间的困惑感到困惑,但要使用的数据库尚未最终确定.
After some research I have decided about which technology should be used:

1)its better to develop this application in Silverlight as it is nothing but a subset of WPF.
2)Even better to develop the app in both technology to start with as I can use same XAML for both technology with few or no changes at all.

3)Connecting to database will be simpler in WPF than in Silverlight, as the later does not connect to the database directly and needs a service to achieve this. This service can be written using WCF or Ria service even in a php.


Which Database to be used is not yet finalize though I am still confuse in between MS Access and SQL Server Express.


这篇关于如何在WPF或Silverlight中编写Intranet应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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