Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C# app - in browser or stand-alone

Posted on 2010-09-22
5
Medium Priority
?
701 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 1000 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 1000 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 500 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 500 total points
ID: 33760739
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

972 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