The best way to run the tool on an ASP.Net page

I have a developer tool that I want to run from an internal site. It scans the source code of the project and saves the information in the database. I want the user to be able to go to the site, select his project and click "Run".

I do not want the code to be uploaded to the site, because projects can be large. I want to be able to run my assembly locally on my machine. Is there an easy way to do this?

EDIT: I have to note that for now this should be done in VS2005.
EDIT 2: I am looking for the similar functionality of TrendMicro Housecall . I want the scan to be done locally, but the result should be displayed on the web page

+3
source share
4 answers

You can use the ClickOnce project (winform / wpf) - essentially a regular client application deployed through a web server. At the client, he can do everything he needs. VS2005 / VS2008 have this (for winform / wpf) as "Publish" - and leads to a ".application" file that is recognized by the browser (or at least some browsers; -p).

may be able to do the same with Silverlight, but it has a more strict sandbox, etc. You also need to ask the web server to do all the db work on its behalf.

+3
source

I want to be able to run my assembly locally on my machine

, , , ?

+1

. , - exe , -, , , . , , , .

exe , , , ,

ProcessStartInfo psi = new ProcessStartInfo ( "notepad.exe" );
psi.WindowStyle = ProcessWindowStyle.Hidden;

p = (); p.EnableRaisingEvents = true; p.Exited + = EventHandler (ExitHandlerToKillProcess); p.StartInfo = psi; p.Start();

, . javascript. .

0

, , - , . / , - . cron . - .

/ .., , .

0

Source: https://habr.com/ru/post/1705409/


All Articles