如何将EXE文件转换为API(在c#.net中开发的exe文件) [英] How to convert EXE file to API (exe file developed in c#.net)

查看:353
本文介绍了如何将EXE文件转换为API(在c#.net中开发的exe文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,我使用c#在.net中开发了一个exe文件。根据要求,我需要将该exe文件转换为API。我不了解API。请给我一个解决方案。

Dear, I developed one exe file in .net using c#. As per requirement i need to convert that exe file into API. I don't have knowledge about API. Please give me a solution.

推荐答案

你好,



我建议你做什么类型的研究您想要的API。



如果是dll类型,您必须使用正确的项目类型重新创建项目。



Webservice?与上面相同



您想将GUI应用程序转换为dll - 为什么???

**如果您真的想要,制作一个dll并添加windows窗体引用。



祝你好运!
Hello,

I suggest you do some research on what type of API you want.

If it's a dll type, you must re-create your project using the correct project type.

Webservice? Same as above

You want to convert a GUI app to a dll - Why???
** if you really want to, make a dll and add windows forms references to it.

Good luck!


API只是意味着你要公开代码的功能给另一个开发人员。就像在代码中使用具有某些功能的dll或者调用web服务一样。这取决于你想做什么以及要求是什么。
API just means that you are going to expose the functionality of your code to another developer. Just like you use a dll in your code that has certain functions or you call a webservice. It just depends on what you want to do and what the requirement is.


这篇关于如何将EXE文件转换为API(在c#.net中开发的exe文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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