Running .EXE File in ASP.NET MVC

About this tutorial:

Video duration: 15:35
In this video, I will demo how to run .EXE File in ASP.NET MVC.

You can see more detail and download source code demo from my apps at
You can buy my apps at
You can read my blog at
You can view the source code of real projects with…

Post Author:

Apple lover, ICT and LEAN consultant, MS Office lecturer My other website with video tutorials - Tutorials, guides and news for iPhones and iPads

7 thoughts on “Running .EXE File in ASP.NET MVC

    sampath kumar gajawada

    (February 16, 2020 - 3:01 am)

    Nothing makes value untill unless something is working after deployment. It wont work after deploying to IIS. Can you please deploy this into IIS and make working !!.. This will add more value than just coding

    Ed Chavez

    (February 16, 2020 - 3:01 am)

    Well, this isn't a real world scenario. Running VS on your local machine means you're doing so in ADMIN context. Try this on any real world scenario – it won't do anything and will throw exceptions. You can't just write on the file system without properly setting the proper permissions up. If you are able to without setting proper permissions then your system's security is pretty much toast.

    Dharmin Webashlar

    (February 16, 2020 - 3:01 am)

    Can You please do this file write process after publish MVC project on IIS? And then execute the exe file ?
    The process is not executing after publish on IIS.

    Manish Kumar

    (February 16, 2020 - 3:01 am)

    Hello Sir i have a problem please try to solve it.(In WordPress)
    I have a form with username mailId and a machin code all mandatory fields
    After clicking on Submit button, call Software.exe and pass user name, machine code and a path of output file as arguments.
    example: Software.exe Username B3C2-6C12(machineCode)
    This exe will generate activation code with user name and write it in path-of-some-text-file (test.txt). You can read the text from test.txt and display this text on user screen.(and also save in test.txt file on server side.)

    Aqib Javed

    (February 16, 2020 - 3:01 am)

    This is not work when we publish our app with IIS(8.5) and window 8.5

    Hanno Coetzer

    (February 16, 2020 - 3:01 am)

    You damn genius !! I have scoured the internet far and wide and your solution is the one that worked for me ! Thank you good friend

    Martin das cc

    (February 16, 2020 - 3:01 am)

    You can send-me de surce file please? or post online .

Leave a Reply

Your email address will not be published. Required fields are marked *