Ask HN: Inheriting a large ASP.NET app, what would you do.
Or I could just stick with asp.net and have no jumpstart come phase 2, but it just seems so inefficient. Can I get some feedback as to what you would do in this situation?
Or I could just stick with asp.net and have no jumpstart come phase 2, but it just seems so inefficient. Can I get some feedback as to what you would do in this situation?
I wish I would stress this more. Do it right, the way you know how.
If the code was written in a half-way competent manner, it shouldn't be too tightly coupled to ASP.NET.
If there is a substantial amount of boilerplate code already written that you don't have to rewrite, I would suggest not rewriting it.
I too would like to know what you are considering for the server-side end of things.
The nice thing about ASP.NET is you can strip it down to the absolute basics. Remember that you have complete access to the request/response model. You don't have to render HTML at all. You can deal entirely in JSON if you are looking to build this into an API.
You don't necessarily need to rewrite all the components. If it's possible, hammer and chisel the existing code into something that's not so dependent on ASP.NET (e.g. move code out of .aspx/.ascx components). You can build a web app and an API at the same time, especially if you treat ASP.NET simply as a presentation layer.
The previous devs managed to get everything tightly coupled at the design stage, which is why I think their implementation efforts failed.
The plan for now is to seperate the existing code into layers and decide what to do from there.
Good luck!
Also, you haven't said if the existing code is WebForms or MVC (and the fact that you haven't makes it seem like you may struggle to finish the server side code using ASP.NET).
Which platform were you thinking you would develop the REST API on if not ASP.NET?