4 ms·
If 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 com
by jschrf 14y ago
If 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 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.
- alliemobley 14y agoServer Side: I plan to copy those that scaled before me, a mixmash of: pinterest http://highscalability.com/blog/2012/5/21/pinterest-architecture-update-18-million-visitors-10x-growth.html http://highscalability.com/blog/2012/5/21/pinterest-architec... , reddit: http://kev.inburke.com/kevin/reddits-database-has-two-tables/ http://kev.inburke.com/kevin/reddits-database-has-two-tables... , and instagram: http://highscalability.com/blog/2012/4/16/instagram-architecture-update-whats-new-with-instagram.html http://highscalability.com/blog/2012/4/16/instagram-architec... architectures. 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.
- jschrf 14y agoYou might want to have a look at the new .NET Web API if you're planning on leveraging existing code: http://www.asp.net/web-api http://www.asp.net/web-api Good luck!
- alliemobley 14y agoThank you!