Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/299.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 将Windows.Form应用程序转换为Web应用程序_C#_Visual Studio - Fatal编程技术网

C# 将Windows.Form应用程序转换为Web应用程序

C# 将Windows.Form应用程序转换为Web应用程序,c#,visual-studio,C#,Visual Studio,请给我一个建议。在c#中有一个应用程序表单,将其转换为Web应用程序的最佳方式是什么?我使用VisualStudio 2017 professional您无法将windows窗体应用程序转换为web应用程序:这是两种不同的技术,无法从一种技术转换为另一种技术 也许您可以检索一些业务逻辑,但不能再检索了。没有很好的自动化方法@Infoservice。好的,但有一种方法不丢失编写的代码?@Infoservice如果您使用的是三层体系结构,您可以在web中使用第二层和第三层DLL。对于第一层(表示层)

请给我一个建议。在c#中有一个应用程序表单,将其转换为Web应用程序的最佳方式是什么?我使用VisualStudio 2017 professional

您无法将windows窗体应用程序转换为web应用程序:这是两种不同的技术,无法从一种技术转换为另一种技术


也许您可以检索一些业务逻辑,但不能再检索了。

没有很好的自动化方法@Infoservice。好的,但有一种方法不丢失编写的代码?@Infoservice如果您使用的是三层体系结构,您可以在web中使用第二层和第三层DLL。对于第一层(表示层),您可以复制、粘贴和修改代码。