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 May 16th, 2011, 05:35 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Dude that is cool.

Code:
I am currently doing the password control of your book and I have to tell you, honesty, (as much as I hate to admit it) that this stuff is really neato-fleato cool. I can remember all those years writing classic ASP working for the Police Department at City Hall having to write all those login pages by hand having to write a login control by hand that checked the USERID and Password against a SQL Server database and getting the person's authorization level and assigning it to a session object. We couldn't use cookies because the security levels at the police department were put pretty high because of the top secret information on our systems so no cookies were allowed so I was forced to use session objects or to store them in the SQL server database. Anyway, I can remember the pains I had to go to write that code and to make the security features work out so that it was pretty top-secret air tight. What a major league pain that was. I spent nearly thirty percent of my time just writing and keeping security code up to date. With the new stuff in ASP.NET that is all taken away and it is pretty simple and straight forward to do. I know that sounds strange coming from a coder-lover-digger like myself. But if I had this back then what I have now. Boy would my life have been much easier. 
PS
While I have you here. I was just wondering I have a SQL Server question to ask of you. I am guessing that you are probably not a SQL Server guru or whatever but I just have to ask.....  I have Visual Studio 2010 Professional and it has a SQL Server Express-2008. I would really like to know why I can't launch the SQL Server Management Studio? I look around and there is no icon in the programs section of window to launch like I had in SQL Server 2005. I would really like to use the SQL Server Management Studio as it would make my life a lot easier, is there any way that I can get that to run on my box? Thank you very much.
 
Old May 17th, 2011, 07:33 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
We couldn't use cookies because the security levels at the police department were put pretty high
In Classic ASP, Session state was managed with cookies as well. The server keeps track of the data, associated with a client side cookie.

Anyway, yes, the Login controls are great. This is the part where "ASP.NET makes the hard things easy".

Quote:
I would really like to know why I can't launch the SQL Server Management Studio?
Take a look at the introduction of the Try It Out on page 424 and at Appendix B.

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:
vbboyd (May 17th, 2011)
 
Old May 17th, 2011, 09:38 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Police Department Cookies

Yes it is true Classic ASP handeled cookies well but because they were Police Department computers, they were required to disable all cookies on their machines due to security precautions. They didn't want anybody storing anykind of information on their machines, that could be used later to maybe spy on people at the Police Department. Too much top secret classified information on criminal investigations that might could get out later. Or so that is what I was told.
 
Old May 17th, 2011, 09:45 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, I understand. But what I said was that if you were using Session state, you *were* using cookies, as Session state in classic ASP relies on cookies....

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 May 17th, 2011, 09:47 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default SQL Server Environment

Yes I see that. I use that all the time. I want to be able to launch the SQL Server Express Management studio outside the Visual Studio Environment as a stand alone application. I plan on getting up to speed with Analysis services with data marts for SQL Server 2008 and I also plan to add users and give them permissions to the database, and I want to run backups and recoveries, and do some SSIS stuff as well. Currently I can't do that just in the Visual Studio environment alone. At least I am not sure how to do it that way. Also......There is some really cool data that I would like to import via DTS/SISS that I want to add to the database to enhance your application and I don't have a way other than through the Visaul Studio environment in which to do that right now. I would love to have my old SQL Server Management Studio back again to do some of those things like in the past.
 
Old May 17th, 2011, 09:53 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
SQL Server Express Management studio outside the Visual Studio Environment as a stand alone application
You can do that if you installed SSMS Express edition using the Web Platform Installer.

Some of what you mention is supported by the free Expression edition of SSMS. For the other things you mention you need to get a full version of SQL Server. A good (and cheap) option is probably the SQL Server Developer Edition.

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:
vbboyd (May 17th, 2011)
 
Old May 17th, 2011, 10:01 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by Imar View Post
Yes, I understand. But what I said was that if you were using Session state, you *were* using cookies, as Session state in classic ASP relies on cookies....

Imar
Hmmm........
Now that I think back on it, I think I was probably putting the user information in hidden fields not session state and passing the information when I would post to the other webform whenever they would click a link or a button. I know I had to figure some cludge to get around that issue. Anyhow I forget it was nearly 10 years ago and I haven't touched classic ASP in at least legnth of time.
 
Old May 17th, 2011, 10:03 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by Imar View Post
You can do that if you installed SSMS Express edition using the Web Platform Installer.

Some of what you mention is supported by the free Expression edition of SSMS. For the other things you mention you need to get a full version of SQL Server. A good (and cheap) option is probably the SQL Server Developer Edition.

Cheers,

Imar
I have that cheap version you refer to. Can I install it with SQL Server/Express running on the same box? Or will it mess things up?
PS Any service packs I need to add before I install for windows 7 for SQL Server/ Developer Edition?

Last edited by vbboyd; May 17th, 2011 at 10:20 AM.. Reason: Added question for Imar
 
Old May 17th, 2011, 10:10 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes. They are all designed to run side by side.

BTW, no need to quote the entire previous message when replying

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:
vbboyd (May 17th, 2011)
 
Old May 17th, 2011, 10:16 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default I try to do quick reply

I tried to do quick reply and when I click the button I get a message box it says you must select one of the icons up above to install quick reply for this message. I am all new to this forum. Maybe you tell me how to do quick replies or tell me what I am doing wrong.





Similar Threads
Thread Thread Starter Forum Replies Last Post
cool ebook for assembly Language virgoptrex Assembly Language 3 February 10th, 2016 09:31 PM
Lazy Load... Cool but... pbernardo01 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 December 28th, 2007 02:00 AM
Cool utility Yurko SQL Server 2000 3 December 2nd, 2005 11:03 AM
dude ealkurabi C++ Programming 1 October 10th, 2004 06:09 PM
Creating cool configuration pages jagged30net Pro VB.NET 2002/2003 0 December 17th, 2003 11:24 PM





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