Wrox Programmer Forums
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 July 7th, 2004, 04:43 AM
Registered User
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web code security with asp.net

Anyone know if you are required to upload the aspx.vb files to the web server when you upload your page, or if there's a way around that? I know it compiles them into a dll or something when you compile the project so is there a way to not have them on the server and the pages still work like normal?

Old July 7th, 2004, 04:52 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

In VS.NET, there is a button called Copy Project in the Solution Explorer. Click your project first to enable this button.

When you click it, you get the option to copy your project from your development server to the production server. One of the options is to only copy the required files. When you select that option, all .aspx, .dll and other required files (xml, images etc etc) are copied, but not the .vb, .cs, .resx etc files.

If you manually do the copy, or use an external FTP program, I don't think there is a quick way to do this, other than create a complete copy of your site, delete the stuff you don't need and then copy what's left to your production server.


Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Put The Freaks Up Front by dEUS (From the album: The Ideal Crash) What's This?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Protection and security for Asp.net Web applicatio snbelani BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 August 31st, 2008 04:10 PM
the code for Professional ASP.NET Security shixiaoming Wrox Book Feedback 0 May 11th, 2005 03:06 AM
Code Builder Wizard in ASP.Net Web Matrix chqdzn ASP.NET 1.0 and 1.1 Basics 0 April 6th, 2005 05:36 PM
Code for Professional ASP.NET Security swordfish Wrox Book Feedback 2 October 25th, 2003 08:25 PM
ASP.NET Security unclehughie Wrox Book Feedback 0 July 16th, 2003 03:45 PM

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