D
dm1608
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?
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?