Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > asp.net 2005 exclude file best practice

Reply
Thread Tools

asp.net 2005 exclude file best practice

 
 
robert@orisoft.co.uk
Guest
Posts: n/a
 
      09-26-2006
Like many people I am inconvenienced by the fact that files cannot be
excluded from an asp.net application. I basically have some text files
that are written to by the application and these files are located
within the app_data folder, so that they are within the site keeping
the entire application in one place.

When publishing these text files are replaced by the development ones
and file permissions are reset, what is the best way to get round this?
I know I could just keep these files outside the application virtual
directory but I want all application related files to be in one place!!

I use the publish feature in 2005 to deploy the application.

Anyone?

Thanks!

 
Reply With Quote
 
 
 
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      09-26-2006
When you run into problems with the 2005 Website project model, look no
further than the Web Application project model:
http://msdn.microsoft.com/asp.net/re...structure/wap/

it's seriously the best solution - cuz this isn't the only problem you'll
run into.

(also, since this is a deployment problem, you could look at the Web
deployment project
(http://msdn.microsoft.com/asp.net/re...structure/wdp/) as an
addon to your current solution)

Karl

--
http://www.openmymind.net/
http://www.codebetter.com/


<> wrote in message
news: oups.com...
> Like many people I am inconvenienced by the fact that files cannot be
> excluded from an asp.net application. I basically have some text files
> that are written to by the application and these files are located
> within the app_data folder, so that they are within the site keeping
> the entire application in one place.
>
> When publishing these text files are replaced by the development ones
> and file permissions are reset, what is the best way to get round this?
> I know I could just keep these files outside the application virtual
> directory but I want all application related files to be in one place!!
>
> I use the publish feature in 2005 to deploy the application.
>
> Anyone?
>
> Thanks!
>



 
Reply With Quote
 
 
 
 
robert@orisoft.co.uk
Guest
Posts: n/a
 
      09-27-2006
Great! Tried the Web Application Project and everything is cool, why
the hell did Microsoft leave this out hmmmm


Karl Seguin [MVP] wrote:
> When you run into problems with the 2005 Website project model, look no
> further than the Web Application project model:
> http://msdn.microsoft.com/asp.net/re...structure/wap/
>
> it's seriously the best solution - cuz this isn't the only problem you'll
> run into.
>
> (also, since this is a deployment problem, you could look at the Web
> deployment project
> (http://msdn.microsoft.com/asp.net/re...structure/wdp/) as an
> addon to your current solution)
>
> Karl
>
> --
> http://www.openmymind.net/
> http://www.codebetter.com/
>
>
> <> wrote in message
> news: oups.com...
> > Like many people I am inconvenienced by the fact that files cannot be
> > excluded from an asp.net application. I basically have some text files
> > that are written to by the application and these files are located
> > within the app_data folder, so that they are within the site keeping
> > the entire application in one place.
> >
> > When publishing these text files are replaced by the development ones
> > and file permissions are reset, what is the best way to get round this?
> > I know I could just keep these files outside the application virtual
> > directory but I want all application related files to be in one place!!
> >
> > I use the publish feature in 2005 to deploy the application.
> >
> > Anyone?
> >
> > Thanks!
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hidden data - best practice, best way, suggestions oldyork90 Javascript 1 09-10-2008 07:46 PM
Help: How to exclude a folder from SourceSafe in VS 2005? Hongbo ASP .Net 2 07-24-2006 06:22 PM
How to exclude folders from project in VS 2005? John Dalberg ASP .Net 1 02-26-2006 02:19 PM
Remember when your piano teacher taught you, "Practice, practice,practice ...?" Wayne Wastier Windows 64bit 3 06-10-2005 08:29 PM
Whats Best Way? Exclude some xml, turn other red if "low" kmunderwood@charter.net XML 1 03-22-2005 11:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57