移动应用程序 - 节点js或ASP.net Web API

时间:2022-11-16 20:13:24

I'm going to develop mobile app , currently in Android, later it may change to all OS. The back end is "MS SQL Server". Confusion is with Server side , whether to use Node js or ASP.net web API??

我将开发移动应用程序,目前在Android中,稍后它可能会更改为所有操作系统。后端是“MS SQL Server”。混淆是服务器端,是否使用Node js或ASP.net web API?

What the app does is - It will validate for the authenticate user and allows to Read/Write their data.

该应用程序的作用是 - 它将验证身份验证用户并允许读/写他们的数据。

Main characteristics should be performance,scalability and accessible from all OS.

主要特征应该是性能,可扩展性以及可从所有OS访问。

Have idea to achieve the above in two ways.

有想法以两种方式实现上述目标。

1.Using Node js, Mongo Db and tool which export/import data from MS sql server to mongo db.

1.使用Node js,Mongo Db和从MS sql server导出/导入数据到mongo db的工具。

2.Using ASP.Net Web API - Referring this

2.使用ASP.Net Web API - 参考这个

Please suggest which one is the best way to achieve.Thanks.

请建议哪一个是最好的方法。谢谢。

1 个解决方案

#1


1  

As you are using SQL Server as backend, I will suggest you to go with 2nd approach (Using Web API). It will be easy to meet all your requirements.

当您使用SQL Server作为后端时,我建议您使用第二种方法(使用Web API)。很容易满足您的所有要求。

Here I confused with the need of mongo db in Approach 1 : You can directly connect to SQL Server from Node.js.

在这里我混淆了方法1中mongo db的需求:你可以从Node.js直接连接到SQL Server。

#1


1  

As you are using SQL Server as backend, I will suggest you to go with 2nd approach (Using Web API). It will be easy to meet all your requirements.

当您使用SQL Server作为后端时,我建议您使用第二种方法(使用Web API)。很容易满足您的所有要求。

Here I confused with the need of mongo db in Approach 1 : You can directly connect to SQL Server from Node.js.

在这里我混淆了方法1中mongo db的需求:你可以从Node.js直接连接到SQL Server。