 |
| ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

December 6th, 2008, 01:24 AM
|
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
how do i update/upload
Hello:
I got the Beerhouse web starter kit. It worked right off.
I am new to all this. How do I change/update the database with
my own items? Does the book explain that? I have the impression
that the book isn't for a novice like me.
Rachel
|
|

December 6th, 2008, 01:58 AM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
If you work through the book and can understand it, then you should be able to adapt it to your own database. It will teach you how to create data access classes to work with a database, data access objects to hold the data from the database, and business classes to represent your domain objects.
You are correct about the book not being well suited for beginners, but working through one or two beginner books should give you enough background to tackle it.
_________________________________
Visit my blog at http://leedumond.com
|
|

December 6th, 2008, 02:00 PM
|
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
I ordered the book described up above, "Beginning ASP.NET 3.5: in C# and VB". Will that show me how to upload to the database?
|
|

December 6th, 2008, 02:20 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
It will show you how to work with databases, and how to retrieve, edit, and save data, as well as how to upload new data.
There is also a book that specifically goes along with the BeerHouse starter kit that you should read after you finish the beginner book.
_________________________________
Visit my blog at http://leedumond.com
|
|

December 7th, 2008, 05:49 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Rachel,
Beginning ASP.NET 3.5 indeed shows you how to work with data; retrieve it from and store it in a database. It also shows you how to store uploaded files on disk.
It doesn't show you how to store uploaded files in the database. However, I wrote an article about that some time ago which describes the pros and cons of storing files on disk / versus the database and shows you code that you can use to store them both ways:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|
|

December 7th, 2008, 02:17 PM
|
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by Imar
Hi Rachel,
Beginning ASP.NET 3.5 indeed shows you how to work with data; retrieve it from and store it in a database. It also shows you how to store uploaded files on disk.
It doesn't show you how to store uploaded files in the database. However, I wrote an article about that some time ago which describes the pros and cons of storing files on disk / versus the database and shows you code that you can use to store them both ways:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414
Cheers,
Imar
|
Thanks Imar. I'm looking forward to your books arrival! I'll check out that article in the meantime. :)
Rachel
|
|

December 7th, 2008, 02:28 PM
|
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by Lee Dumond
It will show you how to work with databases, and how to retrieve, edit, and save data, as well as how to upload new data.
There is also a book that specifically goes along with the BeerHouse starter kit that you should read after you finish the beginner book.
_________________________________
Visit my blog at http://leedumond.com
|
Thank you Lee.
I want to get that book when I can. (Maybe Santa will bring it.:)) Should I get the 3.5 2009 release or the 2.0 release? Does the 3.5 (which is the version I have on my software) go through the beerhouse example too?
Rachel
|
|

December 7th, 2008, 02:50 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
Hi Rachel,
There are actually going to be TWO BeerHouse books coming out in 2009. I am the Technical Editor on one of them. You can find out more details here:
http://leedumond.com/blog/asp-net-3-...n-coming-soon/
If it were me, I would NOT wait for the 3.5 version. I would get the 2.0 version now, and the 3.5 when it comes out, probably in April or so.
Nothing in the 2.0 version is considered "outdated" in the least. The main difference in the two books is that the 2.0 book uses "classic" ADO.NET for data access, while the 3.5 version uses the Entity Framework. ADO.NET is still a perfectly valid approach to data access, and it is something you really should learn.
Once you have that under your belt, the Entity Framework book will be a lot easier.
The second new book uses MVC, which is a totally new approach to ASP.NET development, and probably not what you're looking for right now.
_________________________________
Visit my blog at http://leedumond.com
|
|
 |