asp.net webforms vs asp.net web api [英] asp.net webforms vs asp.net web api

查看:85
本文介绍了asp.net webforms vs asp.net web api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我一直在做一个管理公司旅行的项目...



点就像员工/用户去网站发送一样一个包含他们想要旅行的所有信息的表格,然后将有一个后台办公室部分,经理将接受或管理或否认所述旅行...



我一直在使用webforms,因为这是我的要求,但是朋友告诉我要更改为web api因为它更好而且webforms已经过时...



我必须使用已经存在的数据库,并在我认为合适时更改它



我该怎么办?

Hey guys, I have been doing a project that manages trips for a company...

the point is something like employees/users go to the site send a form with all the information about the trip they want to take and then there will be a back office part where managers will accept or manage or deny said trips...

I have been doing it in webforms because that's how it was requested of me but a friend is telling me to change to a web api because it's better and webforms are outdated...

I have to use an already existing DB and also alter it as I see fit

What should I do?

推荐答案

这是你的决定......

WebForm应用程序没有任何问题,也没有过时。确实,WebForm获得的更新少于MVC或WebAPI,但是因为它已经成熟了...

我有一个WebForm应用程序,那里有成千上万的快乐用户使用它(以及几百个不开心: - ))...

我还在开发一个新的应用程序,它将混合使用MVC和WebAPI以及WebForm ...

再次 - 这是你的决定......你应该用你所知的最好的方法来解决这个问题,如果你认为(而不是因为有人告诉你你已经过时了)你当前的解决方案缺乏某些东西,转到其他技术,但如果你有所有的答案,你知道当前的技术 - 使用它!
It is your decision...
There is nothing wrong with WebForm application and it is not outdated. It's true that WebForm gets less updates than MVC or WebAPI, but that because it is mature for what it is...
I have a WebForm application out-there, that ten of thousands of happy users using it (and a few hundred unhappy :-))...
I'm also working on a new application that will use a mix of MVC and WebAPI and WebForm...
Again - it is your decision...You should use the best of your knowledge to solve the problem, if you think (and not because some-one told that you are out of fashion) that your current solution lack something, move on to other technologies, but if you have all the answers and you know the current technology - use it!


这篇关于asp.net webforms vs asp.net web api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆