Solved

Design question: Use 1.1 or 2.0 Framework for ASP page connecting realtime to database

Posted on 2009-05-11
2
188 Views
Last Modified: 2012-05-06
I've never done ASP pages before, but have been tasked to write a web page. This web page will connect to a memory resident database (TimesTen) to display statistics. The refresh rate will not be less than 10 seconds. I have been programming C# for quite a few years now and will use it as the code behind for the web page. However, I am not familiar with ASP.net.

The server to host this web page current has the 1.1 Framework on it. However, I'm not apposed to putting 2.0 if that is the better solution.

IIS: 6.0
TimesTen: 6.0.2
.Net: 1.1 (Will upgrade if necessary)

The page will display statistics in some grid format.
Statistics are limited to a group. This is selectable and comes from DB.
The page must refresh automatically. I would like to minimize the the flicker as much as possible.
Is AJAX a partial solution?

So, from you experts, given these parameters, what would you do? Please do not just blurt out a Framework version. Provide some sort of a idea.
Thanks.
0
Comment
Question by:freename
2 Comments
 
LVL 6

Accepted Solution

by:
dorothy2 earned 500 total points
ID: 24354363
1.1 is old. If you can use 2.0, why not use 3.5? I read that 3.5 is 2.0 with bug fixes. VS2008 has a lot of enhancements over VS2005.

If your page has to refresh automatically, you are looking for a "push" strategy for your data rather than a "pull" strategy (typical web pages). I think you are going to have to use AJAX for that. Look into using a GridView and an object data source. Using an object data source involves writing a class that contains the data (think Java bean if you programmed in Java) and a data source class that takes parameters and returns a single bean or collection of beans. The object data source is additional work at the beginning, but it handles additional functionality and maintenance requests well, as well as giving you some options for sorting your Gridview by columns. Using a object data source will also work well for you because it will play to your existing C# infrastructure programming strengths.
0
 
LVL 9

Expert Comment

by:tillgeffken
ID: 24354812
I have to agree with the comment above. If there are no circumstances that prevent you from upgrading the framework on your production server to .NET 3.5 i would certainly do it.

As the comment by Dorothy already mentions there have been tremendous changes since 2.0. To only mention a few (relevant to speedy ASP.Net C# development):

  • Integrated AJAX Control Toolkit
  • Lamda expressions
  • Linq (you got to love this one)
  • improved properties and object initializers
Although you could still add the AJAX Control Toolkit to a .NET 2.0 project the other enhancements will make your development experience much more pleasant.

Concerning the "Flicker" question: Yes. AJAX is your friend if you want to avoid full roundtrips of your website. You can refresh only the parts that have its underlying datasource changed.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

26 Experts available now in Live!

Get 1:1 Help Now