0

I've created a solution with multiple projects. One of the projects is a WPF application, which runs fine as standalone application. It communicates with a service-application and a database.

Now I've created another WPF application, this time browser oriented. This means a user on the network should be able to approach my XBAP-page. This project seems to make use of the aspnetdb.mdf file. I've created that file but now the tables are incorrect, probably because of the roles and profiles being incorrect. I normally use my own Microsoft SQL Database.

I've read around on the internet and it seemed my solution (and application(s?)) need to be configured differently. I was wondering how I could get as close to the original solution as possible without changing too much. I don't want to use the aspnetdb.mdf but it seems like I should alter my original database file to make it work. What should I do?

4

1 回答 1

1

这取决于您的 WPF 应用程序如何与您的服务应用程序进行通信。XBAP 应用程序被限制使用某些库(和某些通信方式),但它们支持与 WCF 服务或 asmx 服务器页面的通信。根据您已经在 WPF 应用程序和服务应用程序之间进行对话的方式,一个可能比另一个更容易。

于 2013-04-05T00:23:46.010 回答