Exe in Asp.net Webform Project

Hello,
I am vb.net developer , in vb.net desktop application we have a bin Release folder which is deployed on the client side with an exe shortcut.
How can we do it in Asp.net webforms project .I can see a build folder but where is the exe file?

Regards
RIASAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CamilliaCommented:
There's no exe in ASP.Net Web Forms. It runs on IIS and you'll have URL to bring up you application. There's no exe to click on it and run the application.

So you'll build your application, publish it to your web server, setup IIS and then browse to your site.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
How can we do it in Asp.net webforms project .I can see a build folder but where is the exe file?
there will be DLLs built but not EXE. you only need to deploy those files in the bin folder.
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
>>you only need to deploy those files in the bin folder

of course and those aspx front end, and your js , css files
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

RIASAuthor Commented:
Thanks all. Please let me know the link onhow to setup IIS and the link of the app. Basically what to do with the bin release folder of publish .
MrunalCommented:
Rias,
Both are different concepts and cannot use same code. Means you cannot use exe for mapping with IIS with web forms application.

below is reference for mapping web application with iis:
https://msdn.microsoft.com/en-us/library/1kdfe21k(v=vs.85).aspx

Now there are two options:
If you are willing to convert your existing windows application (exe) into web application then you have to write web application code for that.

If you still want to continue with exe, then I will prefer clickonce deployment strategy:
Refer:
https://msdn.microsoft.com/en-us/library/ms953320.aspx


Hope this is clear to you now.
RIASAuthor Commented:
Thanks Mrunal, The first link you gave me is to register Asp. Net version. My question is how to install my app on a laptop. I have built my asp. Net project by clicking the publich option . I can see there is an publish folder. The next step I want to do is run my app from the publish folder. Need help for this step.
Thanks
CamilliaCommented:
If you're on your laptop, you can just run it thru your visual studio. Click on Debug,  then start without debugging.

If you want to run the published site that's on your laptop, then you need to setup IIS on your laptop and configure the site.

On local development machine,  it's just run from visual studio.
RIASAuthor Commented:
Thanks, I need to run from the publish. Can I request the link or steps on how to set up my app in IIS . Thanks
MrunalCommented:
Rias,
It is a wrong design approach to launch a desktop app from IIS OR from a web app on IIS.

If you want to run your published code then just copy everything (complete folder) to your laptop and execute application exe. This will run your application without debugging.

Desktop applications are mean to install on machine (desktop/laptop) and execute from there. Just like other applications like notepad.exe, etc.

Hope your are clear now.
RIASAuthor Commented:
Hello Mrunal,
Thanks for coming back. Apologies if I was not very clear in the question. I am not talking about desktop, I am using web ASP.NET app which I need to install on IIS for the other users to run.

Thanks
MrunalCommented:
hmm.
There are two types of web apps.
1. Website
2. Web application

Refer these:
http://www.visualwin.com/Host-Header/

https://msdn.microsoft.com/en-us/library/a1zz9df4.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RIASAuthor Commented:
Perfect ! Thats what I was looking for! Cheers mate!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.