如何将C#网站代码转换为Windows可执行文件? [英] How to convert C# Web Site code into Windows Executable ?

查看:109
本文介绍了如何将C#网站代码转换为Windows可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

请帮助我,我是.NET的初学者。

Pls help me, I am beginner in .NET.

我有一个C#网站代码,我的要求是将其转换为Windows可执行文件。

I have a C# Web site code, My requirment is to convert this into Windows Executable.

任何人都可以指导我,我如何在Windows可执行文件中共享C#网站代码?

Can anyone guide me, how can i covnert C# Web Site code inot Windows Executable ?

if你需要更多信息,请告诉我。

if you need more information, let me know.

 

推荐答案

对不起,但是它很敏感不是将网站编译为可执行文件的意义。您可以在不同的VS项目或不同的类别中将您的UI与逻辑分开。然后您可以使用
相同的Logic在后台轻松地将UI更改为WPF或WinForms。 如果您不知道如何,请发布您的代码!
Sorry, but it´s usualy not the sense of a website to be compiled as an executable. You shold seperate your UI from your Logic in different VS Projects, or different classes  and then you can easily change your UI to WPF or WinForms with the same Logic working in the background.  If you don´t know how, post your code!


这篇关于如何将C#网站代码转换为Windows可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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