Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- From: "dm1608" <dm1608@xxxxxxxx>
- Date: Wed, 22 Feb 2006 14:00:51 -0600
Yes, I can drop-and-drop the GridView and SQLDataSource and probably
duplicate much of the same functionality in the ASP. But again, I'm trying
to do this with best practices in mind and use ObjectDataSource instead...
which makes developmenting the page a lot more complicated and time
consuming with creating the BAL and DAL access.
"Edwin Knoppert" <info@xxxxxxxxxxxxxxxxxxx> wrote in message
news:dtifh1$gqi$1@xxxxxxxxxxxxxxxxxx
I have a classic ASP app that I wrote a few years back that took me6-8 hours to write, debug, and deploy. I haven't really touched it since.
probably
It has simply an input form that will post back to itself and display a
grid/table with the results from a query.
I love asp.net, the possibilities compared to imo flawed asp is much
greater.
Your 6-8 hours app, i can do that within ~30 minutes with an
sqldatasource, gridview and manually modifying the predefined update SQL
statements.
I'll have paging, sorting , editting and updating.
The point is that it took me ages to learn this, after all, trivial stuff.
So i can say it's probably a misconception to say ASP.NET is equal or
worse.
The learning curve is pretty steep for the do's and the dont's.
But at the end so much better ...
GREAT MULTIPOST... AGAIN!!
"dm1608" <dm1608@xxxxxxxx> schreef in bericht
news:%23xb88i%23NGHA.3272@xxxxxxxxxxxxxxxxxxxxxxx
I know all the hype right now from Microsoft is how much easier, faster,
and less code ASP.NET 2.0 provides over previous versions. I'm puzzled
by this as I could turn out an classic ASP webpage in a few hours to query
a database, display a grid/table, and not have much to worry about. Doing
the same tasks in ASP.NET 2.0 seems almost trivial, but is it really
real-world?
I have a classic ASP app that I wrote a few years back that took me
probably 6-8 hours to write, debug, and deploy. I haven't really touched
it since. It has simply an input form that will post back to itself and
display a grid/table with the results from a query.
Since I'm trying to get on the ASP.NET 2.0 bandwagon, I thought that
simple ASP application would be a perfect "starter" application for my
ASP.NET 2.0 journey. Sure, I drag and drop a table onto the design
service, wire up a GridView to a SQLDataSource and junk, but the real
challenge is implementing these drag-and-drop objects in a real world
scenario.
I've been spent approx. 40+ hours on converting this ASP webpage (a
single page, mind you) to ASP.NET 2.0. I'm trying to do an n-tier
design and have a DAL, BAL, along with the ASP.NET 2.0 front-end. I
haven't even gotten to designing a nice "Master" page for site's theme
yet.
The concepts seem simple... and some of the results seem pretty
impressive.
My current struggle is dealing with nullable datatypes coming back from
SQL Server for a datetime field. Some of you may have read my previous
thread where I am struggling in getting a NULL DateTime field to add to
my generic collection. I keep getting InvalidCastExceptions. I'm about
90% done with my code, but this one issue is driving me nuts... I've
literally spent 10+ hours on this one issue and still do not have it
resolved.
I've seen a few online examples writing an n-tier design for ASP.NET 2.0
but most just deal with strings and not mixed data types. I've watched
about 10 different webcasts the latest tricks and ways of doing things...
even Fritz Onion's Essential ASP.NET 2.0 webcast series.... I've
purchased all the latest Microsoft .NET 2005 books. Not much in there
about BAL/DAL best practices.
Six months from now, this may seem like a trivial challenge, but for a
newbie learning ASP.NET 2.0, I'm having a hard time justifying the
savings with going to the new technology. Yeah, my code is more object
oriented... my code and visual content is separate... and I've totally
abstracted my business data from my data access. Very cool. But what is
the cost of all these "advantages"? I still do not have a working
application and Microsoft taughts ASP.NET is far superior and easier than
ASP.
I"ve run into other issues along the way and thanks to the kind folks in
these newsgroups, I've resolved them. I'm not master programmer, mind
you, and simply do this for fun and as a hobby... although I do write
some web applications to solve problems at work... it is not my primary
function.
I'm curious to know how others feel about the new programming environment
and how they're adapting to the new technologies and programming
requirements.
Does ASP.NET 2.0 really make your life easier than classic ASP or using
some other server-side scripting technology such as PHP or Cold Fusion?
.
- Follow-Ups:
- Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- From: Merennulli
- Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- References:
- Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- From: Edwin Knoppert
- Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- Prev by Date: Re: javascript:window.open question
- Next by Date: appearance of user controls has changed
- Previous by thread: Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- Next by thread: Re: ASP.NET 2.0 Easier than ASP? Gimmie a Break!
- Index(es):
Relevant Pages
|