Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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
 
Old February 19th, 2013, 09:41 PM
Authorized User
 
Join Date: Nov 2012
Posts: 40
Thanks: 8
Thanked 5 Times in 4 Posts
Default Database storage and updation

Hi Imar,

All i have learnt about asp.net and websites is from your book.

1) Wanted to know if there are methods of updating the databsae without login controls for seeing many a sites with no login page but the data is constantly being updated.
e.g. www.mono-1.com

2) Am bit confused about how to have the blog in mine site. Am using db to store data but the problem i face is their web address says www.mono-1.com/us/page/2/ and when clicking on older posts it says http://www.mono-1.com/us/page/3/

but when a post is clicked the post opens with following address http://www.mono-1.com/us/kristoffer-returns-to-uptown/

I understand how to fetch the post

but when showing the contents of blog how shall one store them.
[Shall we store 4-5 posts a page]

To ma understanding paging is not being used for then how will we change the address in address-bar.


Please do help/ searched a lot on google/ and stackoverflow but with no outcome.

Thanks a lot.
 
Old February 19th, 2013, 10:09 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You don't necessarily need a Login link to update a web site. It could be at a known url such as /Admin that then requires you to log in, it could be a separate domain (e.g. admin.domainname.com) and it could even be a separate application that publishes data.

The paging URLs you refer to *could* but don't have to be ASP.NET MVC (I didn't look at that site). With MVC you can relate URLs to incoming parameters. So something like /Pages/3 could be a method called Pages that takes the page index (3) as a parameter and then goes out to the database to fetch the "third" page.

Does this help?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old April 10th, 2013, 04:26 PM
Authorized User
 
Join Date: Nov 2012
Posts: 40
Thanks: 8
Thanked 5 Times in 4 Posts
Default

hi Imar,

Spent past few days going through mvc vs. web forms. Quite a bit confused to go deeper in web-forms or start learning mvc.
Also spent in time looking into umbraco and elgg but finally came to conclude that should stick to proper framework.

Aah and found no book [probably looking for a walk through book just like yours. you have left me quite dependent.. ha ha ha]

Please do suggest any reference or just anything which can introduce me to mvc.

Last edited by 07Raghav; April 10th, 2013 at 04:38 PM..
 
Old April 11th, 2013, 03:09 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I can' really recommend anything. There's a great book on MVC from Steve Sanderson that I can recommend. However, it's not for people new to MVC. For that topic, I don't know any book references. I assume Wrox has a Beginning MVC that might be of help?

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
07Raghav (May 16th, 2013)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Storage Capacity cancer10 Classic ASP Databases 2 December 22nd, 2008 02:55 AM
Password encryption and storage in the database. zaheerabbas.sk ASP.NET 1.0 and 1.1 Basics 4 July 30th, 2008 05:03 AM
help in updation sanjeev jha Classic ASP Basics 0 November 12th, 2007 04:17 AM
real time updation on a offline database. deadman ADO.NET 3 April 17th, 2006 04:29 PM
Problem in Updation. rupen Classic ASP Basics 5 June 27th, 2005 07:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.