控制台和Web应用程序同步可能? [英] Console and web application sync possible?

查看:78
本文介绍了控制台和Web应用程序同步可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Web应用程序中使用我的控制台应用程序吗?



在我的项目中有一个控制台应用程序,我通过它读取文本文件并查找单词并返回字符串数组使用匹配单词,我希望在我的网络应用程序中使用此字符串数组





所以有什么方法我可以做so?

Can I use my console application in web application?

in my project there is one console application by which i read text file and finds words and returns string array with match words , i want this string array to be use in my web application


so is there any way by which i can do so?

推荐答案

将控制台应用程序的引用添加到Web应用程序中。现在,您应该通过创建适当的对象来调用控制台应用程序的任何方法。
Add a reference of your Console Application to your Web Application. Now you should have call any methods of your Console Application by creating appropriate objects.


这篇关于控制台和Web应用程序同步可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆