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?
Ask HN: Inheriting a large ASP.NET app, what would you do.
1–10 of 16 posts
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#2Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#3Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#4So much of this depends on context, some of which you provided. What is your comfort level with these technologies? What would your effective rate be for each of the scenarios? Are there components or databases (sql server) that make particular tech choices more sensible? How much time to tear down and start anew? What pressures or deadlines are you facing from the business?
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#5I wish I would stress this more. Do it right, the way you know how.
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#6Also, 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?
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#7If 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.
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#8You might want to look into Backbone.js (or Ember.js or Angular.js) rather than Bootstrap for talking to APIs. 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?
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#9If you're estimating it's 25-50% done, then it's almost certainly 25% done or less, counting the rewriting/restructuring. Just pick how you would write it if you were doing it from scratch. Honestly. Really. Whenever I've been wrong about this kind of thing, it's been on the side of hating to throw away work already done. Anything good in the existing code, you can look at it and take. But really, just begin from scr…
Re: Ask HN: Inheriting a large ASP.NET app, what would you do.
#10If I were you I would see what could be salvaged. Can you rescue a bunch of business objects, data access code, etc.? 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 serve…
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.