English 中文(简体)
简单的银灯应用
原标题:simple silverlight application

So, i m building my first SL application.
I tried to use the MVVM approach, and I think that s the way for me.
Basically, it s a simple application which shows data to the user, the data source is local (maybe in the future will be centric, but right now this is not the case), and the data should be retrieved by:

A. Calling file system s reading

以及

<>B>。 DLs 外派的方法

So, as I said, I started to work with MVVM (used this tutorial). I have 3 components: the service, the SL application and the project that host the SL app (excuse me if i m not using the exact proffecional terms...).

My question is: Do you think that I ve chose the right design? if so, is there any way not using IIS to host the service or is it a must? (I don t want to spend time on adminastrative tasks on clients computers), because as I said, the data is local at the moment and IIS feels unnecessary.

我恳请大家就此发表看法。 感谢!

EDIT:
I ll try to simplify my question: I need my SL app to communicate with some kind of service - that will be able to take requests and reply back to the app.
This service suppose to be able to use .net dlls, and this service should be locally on each client run the app.

EDIT:
I noticed the Self host option.
Does anyone has any experience with it?

最佳回答

I finally decided to go with XBAP(WPF XAML Browser Application).
It suited perfectly to my requirements:
1. no deployment issues - just press a link, and .net enviroment will do the rest (downloading the needed assemblies, install them and finally run the app)
2. it s hosted on a browser
3. no IIS is needed!! it s a client-only application

问题回答

If your question is about: You having access to a database server somewhere, you should try WCF RIA Services. This will allow you to create service for each entity and the service will get included into your host project or you can even create a WCF RIA library.

• to与MVVVVV 不同。 在各种项目中,我更希望把我意见与我意见一分二。 我把他们看成是一个 se的方面。

实际使用各种服务,可能意味着你拥有一些适用于一个用户的服务,但究竟是用户所特有的。 哪一种档案系统是你试图进入的? 客户或服务器?





相关问题
Silverlight Rich text box control

Our team decided that we need our own custom Rich text box control for Silverlight app we are developing. We looked at existing controls mentioned at A good rich text control for Silverlight but ...

Silverlight ImageBrush not rendering (with Bing Map Control)

I m trying to add an image to a Pushpin instance from the Silverlight Bing Map Control, but I can t seem to get it to render (the pushpin renders fine). This is probably a general WPF question rather ...

Silverlight OpenFileDialog DoEvents equivalent

I m processing large files after they are selected by the user. My code looks like the following: if (FileDialog.ShowDialog() == true) { // process really big file } This freezes up the UI so ...

list of controls with templates in silverlight

Does anyone know where to find a list of controls that you can set the template on in Silverlight? I ve wasted several hours now trying to create control templates only to find that the control doesn ...

Silverlight, Updating the UI during processing

I have a simple silverlight multifile upload application, and i want to provide the user with some feedback, right now its only in a test phase and i dont have the webservice. Somehow i cant get the ...

Silverlight 3 - FindName returns null

This looks a bug to me.. Using Silverlight 3 and i have a user control defined in XAML and trying to access the object during runtime returns a null. <Grid> <common:CommonGridEditPanel x:...

silverlight 3 collection binding

Someone please help me understand why this binding does not work... I have a class called SelectionManager with a property called dates which is populated by a WCF service. The property is an ...

热门标签