如何将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!