如何开始将winforms应用程序迁移到ASP.NET?

时间:2021-04-30 07:31:11

I need to convert my winform VB.NET application to an ASP.NET application.
My current application has 4 forms, it reads a remote XML file, and uses a datagrid to collect user input and to create a report.
It is a very simple application, and I would like to know where to start to convert it to ASP.NET.

我需要将我的winform VB.NET应用程序转换为ASP.NET应用程序。我当前的应用程序有4种形式,它读取远程XML文件,并使用数据网格来收集用户输入和创建报告。这是一个非常简单的应用程序,我想知道从哪里开始将其转换为ASP.NET。

3 个解决方案

#1


Should be fairly straightforward to port the functionality.

移植功能应该相当简单。

You should start by checking out the tutorials at the asp.net website.

您应该首先查看asp.net网站上的教程。

#2


It's as simple as start a new web project and create the current forms as WinForms. There is no magic tool that I am aware of that does this conversion.

它就像启动一个新的Web项目并将当前表单创建为WinForms一样简单。我知道这种转换没有神奇的工具。

You'll need a server to host the web application on as well.

您还需要一台服务器来托管Web应用程序。

Unless I am missing something, sounds very simple.

除非我遗漏了什么,听起来很简单。

#3


It won't take very much by all accounts.

所有帐户都不会占用太多。

No one is going to be able to give you a "just do this" solution to your problem.

没有人能够为您的问题提供“只做这个”解决方案。

What you need to do is work through a couple of simple Web Forms examples and you'll soon see the similarities and be able to migrate the code.

您需要做的是通过几个简单的Web窗体示例,您很快就会看到相似之处并能够迁移代码。

#1


Should be fairly straightforward to port the functionality.

移植功能应该相当简单。

You should start by checking out the tutorials at the asp.net website.

您应该首先查看asp.net网站上的教程。

#2


It's as simple as start a new web project and create the current forms as WinForms. There is no magic tool that I am aware of that does this conversion.

它就像启动一个新的Web项目并将当前表单创建为WinForms一样简单。我知道这种转换没有神奇的工具。

You'll need a server to host the web application on as well.

您还需要一台服务器来托管Web应用程序。

Unless I am missing something, sounds very simple.

除非我遗漏了什么,听起来很简单。

#3


It won't take very much by all accounts.

所有帐户都不会占用太多。

No one is going to be able to give you a "just do this" solution to your problem.

没有人能够为您的问题提供“只做这个”解决方案。

What you need to do is work through a couple of simple Web Forms examples and you'll soon see the similarities and be able to migrate the code.

您需要做的是通过几个简单的Web窗体示例,您很快就会看到相似之处并能够迁移代码。