views:

172

answers:

4

Hi, I have a windows application developed in .net c#. I want to put it in IIS similar to web application. Is it possible??

My requirement is: Just like web application, i want to get the URL for this Windows application and use the link to remotely access the windows application.

Please suggest.

Thanks Rupa

A: 

IIS is mainly good for hosting HTTP-based applications, such as web sites, or web service applications. If you are using WCF and IIS 7, you can actually host other types of services in IIS using Windows Activation Service (WAS).

What kind of application do you want to host in IIS? One option would be to use WCF to host HTTP endpoints in a Windows service. (See ServiceHost class). Running HTTP services outside of IIS might also require some additional permission/accessibility settings, (e.g. using the HttpCfg command).

Andy White
Am not using any services like WCF,WPF,.. My Application is a simple windows application which performs some operation based on the input file of respective systems(may have .net frame work or maynot). So only, I thought to run the application in different systems thro URL similar to web application.If it is not possible, please let me know how can I run this windows application in other systems.
Rupa
A: 

Yes you can share your folder which contains your standalone application. If you use windows, RIght Right click folder> Click Sharing > Then select SHare...

and follow instructions. This will share it on the network, allowing those with privelages to access it.

waqasahmed
+1  A: 

Have a look at ClickOnce Deployment. Essentially, it allows for a simple installation from a website. This is the simplest way to deploy what sounds like a very non-web app to your users.

Whether you can create a website to provide equivalent functionality really depends on the nature of your app. Can you describe what your app does, or how it works? That will help get a better answer.

Nader Shirazie
A: 

ClickOnce is the best solution you need. +1 to @nader

merin