Re: Web site vs Web Application Project



Each to his own, I suppose. I hate having it squirrelled away somewhere
else. A problem associated with being an ex-librarian, I suspect :)

Just because the .sln file is in the same file system doesn't mean you have
to include it in your list of source controlled files. However, VSS 6.0
does so by default (or it did for us) and creates a Byzantine directory
system in its repository (Again, this was just our experience. We could
have been doing something wrong). We've now moved to Subversion - which
asks you to specify what files you want under source control. So it's easy
to leave a .sln file out, but having it in the solution folder makes it
accessible if you want it.


Peter


"Ray Costanzo" <my first name at lane 34 dot commercial> wrote in message
news:3537FE8C-8A4C-498C-86AC-15DFC57D5B33@xxxxxxxxxxxxxxxx
I personally like that the SLN is elsewhere. When I setup projects in
source control, I do not include the SLN file. To me, an SLN is a personal
thing. When you're working on an application that has 30 projects, it
should be up to each developer to create his own solution (or multiple
solutions depending on which hat he's wearing that day) and just add the
projects he needs from source control. Nothing's more annoying than
working on a project with just 4 or 5 files, but having to open 30 projects
to do so because of a communal SLN!

Ray at work

"Peter Bradley" <pbradley@xxxxxxxxxx> wrote in message
news:eEbEv9zgHHA.4936@xxxxxxxxxxxxxxxxxxxxxxx
But...

In VS2005, if you create a new web site at the start of your project,
VS2005 - in its wisdom - puts the solution file in a different file
system tree from the project file. This makes a mess of source control
if you're using VSS 6.0 or Subversion (so presumably CVS and many other
source control sysems as well).

The solution is either to use the VS2003 Web application template; or
(alternatively) to create a new, blank solution and to add a new Web site
to the blank project. You then get everything in the "right" place (from
my POV, anyway) i.e. with the project folders nested inside the solution
folder.

Having to do this is a pain and is probably a major contributing reason
as to why so many people yelled at MS until they put the Web application
template back.

For the record, I create an blank solution and then add a VS2005 Web site
to it - because I agree that in all other respects, VS2005 Web sites seem
to be superior.


Peter

"Ray Costanzo" <my first name at lane 34 dot commercial> wrote in message
news:7934192A-7ED5-4154-82B8-CB3224F6DF06@xxxxxxxxxxxxxxxx
Originally, Visual Studio 2005 did not offer a Web app project. The
reason for this is that it was just a big PITA and totally illogical.
When I first used VS2005 and saw this changed behavior in working with a
Web site, I just about cried out in joy over this. To me, the whole Web
app behavior in VS2003 was absolutely infuriating and totally asinine.
But, here's (link below) a good breakdown of both options. Perhaps this
is just because of a subconscious bias in my head, but I swear this
article is rallying against the Web app project.

http://msdn2.microsoft.com/en-us/library/aa730880(vs.80).aspx

Ray at work


<nyhetsgrupper@xxxxxxxxx> wrote in message
news:1177067039.591470.140120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Which project type do you prefer? Is the web site or web application
project the best solution? The application I am about to write is
completly new so migrating from vs 2003 is not an issue, but it has to
be easy to deploy the application (precompiled, I don't want to give
away my source)







.



Relevant Pages

  • Re: Create an .sln file for an existing ASP.NET application
    ... under "Other Project Types" choose "Visual Studio ... Then from the Visual Studio menu choose "File | Add | Existing Web Site" and point it to your web site to add it to your new solution. ... I've lost the .sln file. ... I never have problems moving the project from one system or folder to another.) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: TFS Source Control, Reporting Services Project, how do multipl
    ... say there is an ASP.net web site that has been added to TFS source control. ... I need to work on this web site. ... Reports I can see the source control files Reports.rptproj, ...
    (microsoft.public.vsnet.enterprise.tools)
  • ASP.Net 2.0 and Source Control
    ... I have one Web Site, and several class library projects in the solution (all ... all web sites that are opened from source control start out broken. ... I have project references from the Web Site to the class libraries. ... the dlls are copied into the bin directory ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web site vs Web Application Project
    ... When I setup projects in source control, I do not include the SLN file. ... When you're working on an application that has 30 projects, it should be up to each developer to create his own solution and just add the projects he needs from source control. ... In VS2005, if you create a new web site at the start of your project, VS2005 - in its wisdom - puts the solution file in a different file system tree from the project file. ... "Ray Costanzo" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Publishing web site wipes out my web services
    ... Put both of these files in the directory with your .sln file. ... seem to need to be in a subfolder of my web site. ... wwwroot folder containing my site, which maps to www.MySite.com, then ... web site coexist with a completely separate web service? ...
    (microsoft.public.dotnet.framework.aspnet)