Solved

Business decision about mvc vs webforms for Web Based Intranet database systems

Posted on 2015-02-24
3
412 Views
Last Modified: 2016-02-25
I've got a business decision to make, and I need the advice of some experts.  - where better to go?

I've been making web-based intranet database systems since the late 90's.  I started by converting an Access database system to classic ASP.  (c# wasn't even in the picture at the time)

Later, I converted those systems to .Net webforms  - yes, using the evil VB.net that nobody uses but me and my 3 developers.

Anyway, I sold a big ERP system to a company called Intellievent and they've been pretty successful with it, but they only have a license for the Event industry.  We still own the copyright and rights to sell to other industries.

Here's the problem:  No matter what industry we target, there's going to have to be a lot of changes.  The first step I'm going to make is to redo all the code in C#, just to make it easier to find staff and increase resale value.  

Now, everybody keeps telling me to convert it to MVC, which is a HUGE change, but I am considering.  So, here's the "thing".  My initial tests with MVC were pretty good.  I can see how easily I could redo the websites, but the CRUD needs seem like they are really a pain in the butt.  We do almost all validation both client-side and server side.  Not having a view-state is a pain, but not overwhelming, but doing all the validation and then CRUD via controllers looks to be a pain in the butt - at least from a webforms->MVC workload point of view.

To me, after a week of MVC testing (it's all new to me), it seems like the "slowness" of webforms is negated by the fact that an intranet has almost no load.  It seems that the time-saved by MVC from an organizational standpoint really isn't much if you've got all your class objects separated anyway.

So, I have about a week before I need to start mapping out the development of our new product.  And I want to make 100% sure that MVC is or is not worth the investment.

Thanks.

-Dan
0
Comment
Question by:Danielcmorris
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
Comment Utility
Tricky decision because  both technologies have their merits and MVC is a great technical solution with a better architecture, proper separation of concerns and it has the more development and updates than Web forms.

Quoting from Dino Esposito article:
Correctly, Microsoft has not positioned ASP.NET MVC as a replacement for ASP.NET Web Forms. Web Forms is definitely a pattern that works for Web applications. At the same time, Ruby-on-Rails has proved that MVC can also be a successful pattern for Web applications; and ASP.NET MVC confirms this.

In the end, Web Forms and ASP.NET MVC have pros, cons, and structural differences that affect various levels. Generalizing, I'd say that Web Forms embraces the RAD philosophy whereas ASP.NET MVC is TDD-oriented. Further, Web Forms goes toward an abstraction of the Web that simulates a stateful environment, while ASP.NET MVC leverages the natural statelessness of the Web and guides you towards building applications that are loosely coupled and inherently testable, search-engine friendly, and with full control of HTML.

Having said that, you need to take into consideration not only the technical aspects but also the business/team aspect.
Q1.Is my team fully trained and comfortable with MVC architecture?
Critical. If the team is not trained and comfortable, you will end up with a half-cooked MVC solution.
Q2. Can I reuse my existing classes?
It depends on current architecture.
Q3. What is my time frame and budget?
Given the fact that your team has just started in MVC you may consider hiring an experienced consultant to help you with the initial architecture. Extra $$ for budget.
Q4. Will my current architecture accommodates for future product growth?
Q5. Do I need to support mobile development?
This one is important but not critical,  one of the multiple alternatives you could use could be Bootstrap. In fact VS2013 use it in their project templates
0
 
LVL 4

Author Comment

by:Danielcmorris
Comment Utility
Well...  The "team" is really 3 of us, and only 2 of us are really any good.  Worse yet, we have spent years working on several large projects that are all webforms+vb.net.   Both of us have done "some" c# work, but very little and very rarely.  

So, my funding for this project will be really whether I can afford to spend a few hours a day learning MVC.  I've had horrible experience with "experts" in technologies I don't know, generally because I don't know enough to determine if they actually know what they are doing.   So, I've got to learn it myself first.

As far as classes, I'm going to have to convert a lot of them from VB to C#.  There is a lot I can reuse, and it wouldn't matter what language.
 
Anyway, deep down I'm pretty sure I'm going to have to stay with WebForms.  The biggest project I have was written in them, and it took me 9 years plus the last 1year with a team of 6 people.   I sold a license to it for the Event Industry, and now I really need to simply modify it to target a different industry.  I'd LOVE to redo it and clean up the mess, but it may just be a pipe dream.

I think I'll just convert the code to C# to make it easier to find help, and leave MVC for the next generation :)
0
 
LVL 35

Expert Comment

by:Miguel Oz
Comment Utility
Please close the question and assign solution.
One last thought, using Web forms does not mean you can not use the latest a greatest of what .NET 4.5 and Javascript/CSS libraries. Regarding conversion to C# take the opportunity to introduce unit testing to your libraries and refactor a bit old constructs - you will be surprise how clean the code will look afterwards.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hovering effect 9 28
.Net application crashing 6 19
String manipulation 15 48
Rolling back a sequence of stored procedures 12 14
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now