Web application project or Web site project which is "better"?
Hi,We are a bit confused as to which web project type is best to use.Currently we have a number of large projects in the old style with .vbproj files. These have been upgraded to VS2008 web application projects. Compilation seems slower of upgraded projects than created from scratch web site projects. I do get the impression MS is pushing the new style format for future releases.What are the advantages/disadvantages of the new web site project?Where do references get stored in the new style project?Where do the control declarations get hidden in partial classes?Thanks,
...Trying to bring in 1.1 project as VS2005 "Web Application Project"
I have a 1.1 project from a few years ago and am trying to turn it into a 2.0 project, but when i open VS2005 (with SP1 installed) and then open the "sln" or "vbproj" file in the project, i get prompted with
"The following web web projects must be convered to the new Web Site format"
Where is the option to use Web Application Project instead of Web Site format? Wasn't that one of the "gee whiz" things MS was bragging about in Service Pack 1?"If you make it idiot proof, they'll build a better idiot"
I think you can try ...No "Add web deployment project" for web application
I've installed the web deployment project, opened several examples with web application project with web deployment project added to it and would be oki, exept for one thing. I don't have a "Add web deployment project" in build menu (the right click menu and the top menu) for web application, but for web site it apears. Could anyone explain why? Examples that i saw had web deployment projects added to wec applications.Thanks for any help.
I think maybe you install not correct with your Visual Studio
So try to install
Visual Studio 20...Problems deploying Dynamic Data web application using "Web Deployment" project
When I attempt to deploy a dynamic data web application using a "web deployment" project, only about half of the folders inside the "DynamicData" folder get copied properly. Here are the steps to reproduce.
Visual Studio 2008
.NET 3.5 SP1
Web Deployment projects add-on installed (I forget the exact name of this tool)
In VS2008, go to File, New Project, Dynamic Data Web Application
Right click on WebApplication1 and select "Add Web Deployment Project..."
Accept the defaults and click OK.
Right clik the web dep...switch project from "file" to "web"?
I've taken over a project from another for a webservice. He originally set it up as "file" based, so it's showing up as "c:\path\to\site" in the solution manager. This is causing issues and it should be setup as a website with http://virtual/to/site.
Is there a way to switch a file based one to a web based one and have it use IIS ?
Nevermind... just readded it manually to the solution, seemed to work
I think you are talking about an ASP.NET 2.0 application?
You can simply make a File System application work smoothly with IIS, by creating a new website poiting to the folder ..."Web Application" Project Information
Microsoft has recommended that we switch our project to use the Web Application Project, currently being worked on by Scott Guthrie, rather than the new model in Visual Studio 2005. The reason for this basically is that we have a very large project and it takes about 15 minutes to do a compile.
I'm wondering what we lose if we move to a WAP project. Can we still precompile our project so that performance is better for the users?
In VS.NET 2003 we had an issue where Visual Studio would lock up the data access .dll after doing a get latest version from source control..."The project you are trying to open is a Web project" Error
When I try to open the project from web at http://localhost/ngallery/nGallery.csproj in visual studio, I get this error:
The project you are trying to open is a Web project...Web Deployment Projects - Web.Config
Ok, one question. I really like the Web Deployment Project beta, but I am looking for what should be a simple solution and can't find it. Currently, the only way to set an ASP.Net project so that it is not in Debug mode is to set it as so in Web.config...<compilation debug="false">This means that every time I want to compile the app for release, I have to make sure I make this change in web.config. With the Web Deployment Project release, I thought I could create a compilation.config file and then set the property pages of the project to include "compilation=compilation.config" s...problem with a web project I added as an "existing web site"
I've got a nettiers (DAL) solution that has 5 sub projects in it. Each with their own dependencies.
I copied a web site project into the root of the tree, then said "Add Existing Web Project". Somehow, when I rebuild, that project gets skipped.
My question is how can I make my web project a first class project in the solution so that when I say "refernece other project" the dependencies automatically work (that is, move dll's into the bin of this web project) and of course I want that project to rebuild right along with the rest.
Peter Kellnerhttp://73rds...Problem when deploying Web Application project over VS2005 Web Site project
Hi, we ran into this issue yesterday evening when we were trying to deploy new code on production box. It was running previous version of our app that was VS 2005 Web Site project, but the new version was migrated into Web App project. New build was tested on sandbox and even on the same production machine (but under different, non public web site configured there) and was working fine. However, when we deployed on production web site, we got this error:Compiler Error Message: CS0246: The type or namespace name 'ProfileCommon' could not be found (are you missing a using directi..."Visual Web Developer Web Server" and Web Services
I like the new "Visual Web Developer Web Server" (Do you want suggestions for a longer name!) but I have an issue with using it to host a Web Service.
Whenever the Web Service is recompiled and run it ends up with a different port number. Therefore, it seems that any references to that WS in other applications are invalidated and need to be re-established when it's run again.
Is there a way of pinning the port number, or am I missing something?
MSDN Regional Director, Ireland.
Software Paths Limited.
the internal server is used for local...Web Application Projects vs. Web Site Project- Where is Copy Project?
I have opted to use the Web App Project in 2005 (The 2003 Model)http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspxWhy is the copy project missing when this model is used? It was there in 2003?Thank you,Patrick http://www.SURFThru.com SURFThru.com
I wanted to bump this topic again to see if any Microsoft techs had any input on this item.SURFThru.com...VS 2005 "Web Deployment Projects" project lacks macros?
I'm trying to create the equivalent of a post build event for a
website. I have the "Web Deployment Projects" add-in installed
and am attempting to follow the instructions in the "Using Web
Deployment Projects with Visual Studio 2005" document. In the
"Customizing Web Deployment Projects" section, it gives an example of
an "AfterBuild" target where a directory is created using the
$(TargetDir) macro. When I attempt to use $(TargetDir), it
doesn't seem to exist. The only macros I can find that work
within the .wdproj file are solution level (SolutionPath, Solut...Problem with "dynamic" usercontrols in web application project
Hi,A web-application I'm currently working on allows users to create new usercontrols on the site (as in writing the code for the .ascx and the codebehind file, and yes I'm aware of the security issues).The usercontrol will always inherit from a base class defined in the web-application.These usercreated usercontrols will later on be dynamically added to the site like this placeholder.Controls.Add(Page.LoadControl(pathToUsercontrol))So far so good, but try to load the control I get this error: "CS0433: The type UsercontrolBaseClass exists in.." followed by path to two autog...