问题描述
嗨
我需要一个新项目,所以我需要决定一个技术堆栈。
我我比Cavascript更精通C#但是我有一些Angular的经验。
所以这是要求,我们将从现有的应用程序中提取数据但是可能是我们的应用程序在以后阶段拥有自己的数据库的要求。
到目前为止,我们决定实施一个web api来与现有的应用程序通信。 />
然后我们将有一个web项目,所以我的问题是在angular或asp.net mvc中编写前面的en有用吗?
我尝试了什么:
我在asp.net和angular都有经验,但我更了解asp.net。
Hi
I have a requirement for a new project coming up, so I need to decide on a tech stack.
I am more proficient in C# than in javascript but I have some experience in Angular.
So here is the requirement, we will be pulling data from an existing application but there might be a requirement for our app to have its own DB at a later stage.
So far we decided to implement a web api to comunicate with the existing application.
Then we will have a web project as well so my question is that would it be beneficial to write the front en in angular or in asp.net mvc?
What I have tried:
I have experience in both asp.net and angular but I know asp.net better.
推荐答案
在angular或asp.net mvc中编写前端en是否有益?
would it be beneficial to write the front en in angular or in asp.net mvc?
ASP.NET MVC不是一个前端框架,它是一个完整的Web开发框架,其中V部分用于View。生成视图,即使这样,您应该考虑使用适当的前端框架。 Angular,Bootstrap,Knockout ......任何一个都可以在那里使用,ASP.NET不会阻止你这样做。
我使用Bootstrap作为我的前端,而后端仍然是ASP.NET Core,它允许我构建应用程序,Web API(正如你在那里提到的那样) !)和其他东西。对于您的任务,我建议使用ASP.NET Core作为后端 - 如果您不需要跨平台解决方案,即使ASP.NET MVC也会很好。然后,您可以使用Angular或您想要的前端框架构建视图。
ASP.NET MVC is not a front-end framework, it is a complete web development framework, where the "V" part is for View. Views are generated and even then, you should consider using a proper front-end framework. Angular, Bootstrap, Knockout... Any one can be used there, ASP.NET does not prevent you from doing that.
I use Bootstrap for my front-end, and backend is still ASP.NET Core which lets me build the application, Web API (as you have also mentioned it there!) and other stuff. For your task, I would recommend using ASP.NET Core as a backend — even ASP.NET MVC would be good, if you do not require a cross-platform solution. Then you can build the Views with Angular, or what-so-ever front-end framework you want.
我在asp.net和angular都有经验,但我更了解asp.net。
I have experience in both asp.net and angular but I know asp.net better.
当你甚至不能告诉视图不被禁止使用任何JavaScript框架时,你对ASP.NET有多了解?
How well do you know ASP.NET, when you cannot even tell that the Views are not prohibited from using any JavaScript framework?
这篇关于使用angular而不是ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!