Questions tagged [web-site-project]

Web Site "projects" are created by using the File->New Web Site command in Visual Studio. They are very strange and should not be used unless you really need to. In most cases, you should use File->New Project.

Web site projects are projects that encompass a web site that will be available through a device using a browser.

498 questions
3
votes
2 answers

Web Site Projects, Project References, and Version Control

I have an ASP.NET Web Site project that used to have it's logic in the App_Code folder. I pulled some of the code into a Class Library project (to allow unit testing) and added a Project Reference. It compiles and runs fine. The problem is that the…
Jerph
  • 4,572
  • 3
  • 42
  • 41
3
votes
2 answers

ASP.NET Website Project auto deploy with TFS 2013 build

I have a ASP.NET Webforms Website project(note this is NOT WebApplication project i.e. there is no .csproj). I want to do a auto deploy, file system to our network share. I created a profile and so there is website.publishproj file and profile…
gbs
  • 7,196
  • 5
  • 43
  • 69
3
votes
2 answers

Configuration of publishing an ASP.NET web site

Forgive my ignorance, though I am new to this. I've search a lot but can't seem to come to a definite conclusion, so any information is appreciated. So to the question: Is there a built-in configuration for web site publishing in MS Visual Studio…
guitarzero
  • 545
  • 9
  • 18
3
votes
2 answers

Setting app a separate Web API project and ASP.NET app

I am trying to consume a Web API service from another ASP.NET classic project (actually it is a native JS and Html Web application). How can I configure these these two separated projects to talk with each other, on VS2012? The final result would…
Tomer
  • 4,382
  • 5
  • 38
  • 48
3
votes
2 answers

MSBuild Publish Web site project to FileSystem doesn't copy dlls from referenced projects

Context In VS2012 I have 1 sln file with several projects under it. Some are just code libraries and others are web applications. And then we also have 1 web site project... This web site project was recently updated to .NET 4.0 which also meant…
MagnusJarl
  • 33
  • 1
  • 5
3
votes
1 answer

How to manage multiple web.config files in a ASP.NET website project?

I spent the last few hours looking for the best solution to a growing issue: We have more and more websites (in VS 2010) and therefore, more and more web.config files to manage. There are quite a lot of differences between the dev and prod…
Pedro
  • 3,511
  • 2
  • 26
  • 31
3
votes
3 answers

Deploying a Pre Compiled Web Site Project

So I have a website project, which I precompile when I publish. I have a question, when I need to make a small change to the deployed site, do I have to rebuild, re-publish and deploy the entire website structure again, or can I just copy the…
Jack Marchetti
  • 15,536
  • 14
  • 81
  • 117
2
votes
6 answers

ASP.NET beginner woes with new Web Site

I'm a decently experienced .net developer for the desktop but this is my first stab at using ASP.NET and i'm stumped almost right away. I've used the VS2008 "New Website" wizard and got a simple page working, codebehind page and all. But my next…
lidgren
  • 463
  • 2
  • 9
2
votes
1 answer

How to setup web.config transformation for website projects?

I have a website project and would like to setup different web.config transformation files for it, but the option doesn't exist when I right-click on the web.config file. Is this option limited to web applications?
chobo
  • 31,561
  • 38
  • 123
  • 191
2
votes
1 answer

Reuse code from website project in my web application project

Here's the code. I now also get errors in codebehind that a variable already exists and method has identical signature, but I cant find those duplicates anywhere in the code behind. .ASPX <%@ Page Title="Mijn oefeningen" Language="VB"…
Adam
  • 6,041
  • 36
  • 120
  • 208
2
votes
1 answer

How to create a WIX installation for ASP.NET WebSites?

I am aware of this tutorials http://wix.tramontana.co.hu/tutorial/getting-started/putting-it-to-use http://www.codeproject.com/KB/install/WixTutorial.aspx ... but I can't find a quick solution for installing web sites and configuring IIS. Is it…
rgargente
  • 1,821
  • 2
  • 19
  • 30
2
votes
3 answers

How is the auto-generated ASP namespace realized for an ASP.NET website project, from start (build) to finish (runtime)?

The 'ASP' namespace seems to be a generated because it's not used in the website project's source code, anywhere (or at least not explicitly used by the programmer of the website). I would like to know how it is fully realized. For example: Is…
John K
  • 28,441
  • 31
  • 139
  • 229
2
votes
0 answers

suddenly, error appears: the name does not exist

Like some other SO postings, I am bugged with the error: The name 'xxx' does not exist in the current context and I tried lots of things, such as reboot, and clean and rebuild the solution. The problem started when I moved ("cut" and "paste") a…
Roland
  • 4,619
  • 7
  • 49
  • 81
2
votes
2 answers

Best tech/toolset for implementing a Google Shopping-like website?

As a means of learning some web development, I'd like to start a project that will basically aggregate product pricing data similar to Google Shopping. With that being said, I have no idea what technology/tools are appropriate to start with. I have…
alexD
  • 2,368
  • 2
  • 32
  • 43
2
votes
2 answers

How to have long web loading?

I got problem with my loader. I am a young graphic designer I was doing research to create a loader with codes. I have everything for now but the problem is that I would like my charger to be seen and not be instantaneous I share with you my code…
Kuzs
  • 21
  • 1