Solved

C# app - in browser or stand-alone

Posted on 2010-09-22
5
654 Views
Last Modified: 2013-12-16
Hi Experts,
Is there a way, using C#, to create an application that can run stand-alone or on the web (depending on how its started)?  The stand-alone app would have more rights (be able to access the hard drive, etc), but the web version would not...

Apologies if you consider this the same as a previous question of mine, but I'm really targeting c# here...

Thanks!
Mike
0
Comment
Question by:thready
5 Comments
 
LVL 10

Accepted Solution

by:
joriszwaenepoel earned 250 total points
ID: 33737471
In WPF, you can create a Windows application (stand alone), and also a WPF Browser (web) application.
You need to create 2 projects, but you could create a WPF usercontrol, and use that in both projects to avoid the need to duplicate much of your UI.
0
 
LVL 1

Author Comment

by:thready
ID: 33738032
Sounds good - is the WPF browser something like an applet?  Are there any gotchas I need to lookout for (such as the need for users of this to install some sort of ActiveX control to see the webpage properly?)

Thanks!
Mike
0
 
LVL 10

Assisted Solution

by:joriszwaenepoel
joriszwaenepoel earned 250 total points
ID: 33738361
The users will need to have the .NET framework installed to be able to use a WPF browser application.

I have created WPF Windows applications, but not Browsers applications.  I just know it exists, and it has some limitations (no full trust, etc...) compared to Windows apps..
0
 
LVL 6

Assisted Solution

by:rajeshjamnadas
rajeshjamnadas earned 125 total points
ID: 33743228
go through this site and samples all your doubt will get clear i.e. how win app and browser security can be implemented and using the same code in both the app.

http://wpfcontrib.codeplex.com/
0
 
LVL 16

Assisted Solution

by:Vikram Singh Saini
Vikram Singh Saini earned 125 total points
ID: 33760739
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem to picture file 3 42
Code enhancement 5 14
Why is "packages element is not declared"? 2 44
Get String split 5 33
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now