窗口和Web应用程序在单个文件夹中工作 [英] Window and Web Application work in single folder

查看:71
本文介绍了窗口和Web应用程序在单个文件夹中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个有两个模块的项目,一个是基于窗口的,另一个是基于Web的

所以我想在Asp.net的单个文件夹中运行这两个模块,

i定义我的项目一点点



1.通过网络摄像头捕获图像并保存在数据库中,并附上名称(基于窗口)

2.然后在网站上显示图片和名称(基于网络)



请帮助我,提前谢谢

i am working a project who have two module , a part is window based and other is Web based
so i want to run both module in Single Folder in Asp.net,
i define about my project little bit

1.Capture image by Webcam and saved in Database with name (it is window based)
2. Then image and name show on Website (it is web based)

Please Help Me,Thank in Advance

推荐答案

对于步骤1使用内存流来获取其字节,然后您可以将它们存储在数据库中。
步骤2的
使用读取这些字节的http处理程序并写入它们响应。
for step 1 use a memory stream to get its bytes, then you can store them in the database.
for step 2 use an http handler that read these bytes and write them to the response.


这篇关于窗口和Web应用程序在单个文件夹中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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