Last post Nov 08, 2015 08:59 PM by rhmayer
Nov 07, 2015 02:10 PM|rhmayer|LINK
I guess I'm somewhat of a dinosaur in the .NET world having fallen into a comfortable rut and continuing to develop my we applications the "old fashioned" way using ASP.NET web forms. I've looked at some ASP.NET MVC tutorials and even dabbled with it a bit
which many compare favorably to Angular), is all the rage and I feel like that's the direction I want to go at this point.
I've got a particular web forms/MS-SQL app that I've been working on the past few years that I'm fairly happy with. But when it's used on a mobile device, the sluggishness of full page postbacks really shows. I'm considering re-architecting it such that
the front end is just HTML/CSS/JS, most likely with the data-binding benefits of Angular/Aurelia, and porting my backend code into a separte REST API. This is where I could use some guidance as there seems to be so many ways to go about this and I just don't
have enough experience to make an informed choice. Web API, ASHX, Dream Factory, NancyFX, and many others could be considered. I can't emphasize enough that SIMPLICITY is major criterion. I would like for this to be as painless as possible without having to
dive into something with a steep learning curve or get tangled up in something that requires maddening amounts of configuration. I'd especially like to hear from someone who has gone through a similar exercise and can share wisdom based on their first-hand
learning experiences. Thanks in advance.
Nov 08, 2015 02:29 PM|krokonoster|LINK
From my own experience you are spot on with exposing your backend via a rest api (my case I used asp.net web api,)
This enabled us to build various client apps,. both mobile and web.
Since I was sort on time (doing the web, not mobile) I built my front end using MVC, getting data from the api using restsharp.
Have I had time I'd figure out either AngularJs or EmberJs (leaning towards EmberJs since I personally cannot trust a framework doing an "upgrade" like Angular is doing where apparently the current versions are not compatible with 2.0)
Just my 5 cents.
Nov 08, 2015 08:59 PM|rhmayer|LINK
Thanks for your feedback. My first goal is to move all of my data layer stuff into a RESTful API. I'm currently tinkering around with both DreamFactory and ASHX handlers. Depending on how these efforts go, I may have a look at Web API if neither satisfies