ASP.net Web表单VS ASP.net AJAX

时间:2023-01-21 03:21:57

I need to develop web application using ASP.net with C# to handle mysql database (viewing, adding, updating, and deleting).

我需要使用带有C#的ASP.net开发Web应用程序来处理mysql数据库(查看,添加,更新和删除)。

usually I would use asp.net webform to develop this application with C# but now I'm considering to use AJAX but not sure if I should use it or not.

通常我会使用asp.net webform用C#开发这个应用程序,但现在我正在考虑使用AJAX但不确定我是否应该使用它。

I have the option to do it.

我可以选择这样做。

should I switch to AJAX or no need and use only webform and why?

我应该切换到AJAX还是不需要,只使用webform,为什么?

Please give me your advice.

请给我你的建议。

1 个解决方案

#1


0  

I think you might be confused on what ASP.NET AJAX is, as it's not a competitive product to Webforms. Instead you may want to look at ASP.NET Dynamic Data instead of Webforms if you're only looking at handling standard CRUD actions. It will work for Entity Framework, which should be able to connect to MySQL.

我想你可能会对ASP.NET AJAX的内容感到困惑,因为它不是Webforms的竞争产品。相反,如果您只关注处理标准CRUD操作,则可能需要查看ASP.NET动态数据而不是Webforms。它适用于Entity Framework,它应该能够连接到MySQL。

#1


0  

I think you might be confused on what ASP.NET AJAX is, as it's not a competitive product to Webforms. Instead you may want to look at ASP.NET Dynamic Data instead of Webforms if you're only looking at handling standard CRUD actions. It will work for Entity Framework, which should be able to connect to MySQL.

我想你可能会对ASP.NET AJAX的内容感到困惑,因为它不是Webforms的竞争产品。相反,如果您只关注处理标准CRUD操作,则可能需要查看ASP.NET动态数据而不是Webforms。它适用于Entity Framework,它应该能够连接到MySQL。