Click here to Skip to main content
15,899,679 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: SilverLight beta 2 Pin
Member 39206676-Jul-08 19:42
Member 39206676-Jul-08 19:42 
GeneralRe: SilverLight beta 2 Pin
Michael Sync6-Jul-08 20:25
Michael Sync6-Jul-08 20:25 
GeneralRe: SilverLight beta 2 Pin
Member 39206677-Jul-08 2:54
Member 39206677-Jul-08 2:54 
GeneralRe: SilverLight beta 2 Pin
Sam Xavier11-Jul-08 0:23
Sam Xavier11-Jul-08 0:23 
GeneralRe: SilverLight beta 2 Pin
Michael Sync12-Jul-08 6:38
Michael Sync12-Jul-08 6:38 
GeneralRe: SilverLight beta 2 Pin
Member 392066714-Jul-08 1:22
Member 392066714-Jul-08 1:22 
GeneralRe: SilverLight beta 2 Pin
Member 392066714-Jul-08 1:24
Member 392066714-Jul-08 1:24 
QuestionCould you take a look and give me some suggestions? Pin
Michael Sync3-Jul-08 5:59
Michael Sync3-Jul-08 5:59 
Hello All,

Let's say I have the existing WPF application. There are two kinds of clients who are willing to install my software on their machine and who prefer to use my software like web application without installing on their machine.

I don't like to have two seperated applications (WPF Application and Silverlight Application). I just want to have one application so I'm not so sure what I should do. During these days, I'm just surfing around the internet and collecting the information to make good decision.

1) I think it would be fine if I keep WPF application with ClickOnce for those clients who are willing to install my software on their machine. Can I have an XBAP for those are not happy to install my software? Actually, I don't want to have the seperated applications such as WPF and XBAP. I will have only WPF application but when I deploy that project, I will deploy with ClickOnce once and I will deploy it as XBAP once. Is it possible to do? or Is there any way to convert the WPF project to XBAP project in very easy way? or should I have two differnet applications for two different users?

2) I know there are some differences between WPF and XBAP. Here is the list that I found. Could you please correct me if I'm wrong?

2.1) The client need to install .NET 3.0 or above.
2.2) Coperate Proxy may block the exe file for Xbap application.
2.3) XBAP runs on sandbox so that it has the following limitations
---------Windows and Popup won't work. We need to convert it as a Page.
---------can't use BitmapEffects and Image Encoding
---------Only run in IE6/7/8 browsers and Firefox
---------supports only Windows XP SP2 and later, Server 2K3 and later, and all flavors of Vista
---------XBAPs doesn't work in Windows Vista Sidebar, ActiveX does!
---------You cann't connect the database directly.
---------unable to load a custom mouse cursor in an xbap
---------SaveFileDialog
---------Cross Domain Access
---------File System & Registry Access
---------WindowsForms Interop ("Crossbow")
---------XAML Serialization (via XamlWriter.Save)
---------Full Speech Support
---------RTF Clipboard
---------Full XAML Clipboard Support
---------Drag & Drop
---------HwndHost

3) Some articles said that if we are using ClickOnce, the application will be installed to the client machine. but if we are using XBAP then, it won't install to the client machine and it will be cached. Based on my research, I totally don't agreed with this statement. Xbap application will be downloaded into the Application Cache like what ClickOnce does. (except it won't show in Add/Remove Program and StartMenu). What do you say?

4) no built-in way for XBAPs to prompt and request more permissions but it is possible to use ClickOnce-based methods to gain access to trusted actions


References:
http://scorbs.com/2006/11/09/wpf-internet-sandbox-feature-list-xbaps-loose-xaml/
http://www.charlespetzold.com/blog/2006/11/120718.html
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1536464&SiteID=1&mode=1
http://www.wpflearningexperience.com/?p=23

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)


QuestionSystem.Drawing.Color to System.Windows.Media.Brush Pin
KBou3-Jul-08 3:43
KBou3-Jul-08 3:43 
AnswerRe: System.Drawing.Color to System.Windows.Media.Brush Pin
Pete O'Hanlon3-Jul-08 4:38
mvePete O'Hanlon3-Jul-08 4:38 
QuestionRe: System.Drawing.Color to System.Windows.Media.Brush Pin
KBou3-Jul-08 4:44
KBou3-Jul-08 4:44 
AnswerRe: System.Drawing.Color to System.Windows.Media.Brush Pin
Insincere Dave3-Jul-08 5:19
Insincere Dave3-Jul-08 5:19 
AnswerRe: System.Drawing.Color to System.Windows.Media.Brush Pin
KBou3-Jul-08 5:01
KBou3-Jul-08 5:01 
AnswerRe: System.Drawing.Color to System.Windows.Media.Brush [modified] Pin
appxdev17-Feb-11 15:26
appxdev17-Feb-11 15:26 
QuestionBind color to Rectangle in WPF Pin
ezazazel2-Jul-08 11:06
ezazazel2-Jul-08 11:06 
AnswerRe: Bind color to Rectangle in WPF Pin
Gideon Engelberth2-Jul-08 11:59
Gideon Engelberth2-Jul-08 11:59 
AnswerRe: Bind color to Rectangle in WPF Pin
User 223706-Jul-08 16:40
User 223706-Jul-08 16:40 
AnswerRe: Bind color to Rectangle in WPF Pin
ezazazel7-Jul-08 6:25
ezazazel7-Jul-08 6:25 
AnswerRe: Bind color to Rectangle in WPF Pin
Sudarsan Srinivasan14-Mar-09 1:45
Sudarsan Srinivasan14-Mar-09 1:45 
QuestionHow can we convert Brushes.* to the hexadecimal numbers in WPF ? Pin
Mohammad Dayyan2-Jul-08 9:49
Mohammad Dayyan2-Jul-08 9:49 
AnswerRe: How can we convert Brushes.* to the hexadecimal numbers in WPF ? Pin
Pete O'Hanlon2-Jul-08 10:06
mvePete O'Hanlon2-Jul-08 10:06 
GeneralRe: How can we convert Brushes.* to the hexadecimal numbers in WPF ? Pin
Mohammad Dayyan2-Jul-08 10:17
Mohammad Dayyan2-Jul-08 10:17 
GeneralRe: How can we convert Brushes.* to the hexadecimal numbers in WPF ? Pin
Pete O'Hanlon2-Jul-08 10:27
mvePete O'Hanlon2-Jul-08 10:27 
GeneralRe: How can we convert Brushes.* to the hexadecimal numbers in WPF ? Pin
Mohammad Dayyan2-Jul-08 10:51
Mohammad Dayyan2-Jul-08 10:51 
QuestionTreeListView Drag and Drop Pin
anci12-Jul-08 1:19
anci12-Jul-08 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.