websiteproject

How do you track down dependencies for ASP.NET Web Site?

The dynamic compile-on-the fly approach seems to fall outside the capacity for the typical tools which would extract this kind of information. I know I may be better off converting to a Web Application, BUT I would like to ask how it could be done in the case of a Web Site Project. ...

ASP.Net website installer references

Are all the dll's in my Website - Property Pages - References tab copied into an .msi istaller by default for a Website project type? The references don't seem to have any options as they would in a web app or desktop app project type (such as Copy Local, etc). My installer includes the Content Files from my website project, and any cl...

What does it Mean "Web Sites give You No Control over Namespaces"?

Hello everyone, How do you understand "No control over your namespaces" namespace issue, quoted from, http://reddnet.net/code/asp-net-web-site-vs-web-application-project-part-2/ Here are more background: one of the cons of web site project type of VSTS 2005 is, my confusion is what exactly means "no control over your namespace"? •No...

Change Default Starting Domain For .NET Website Project

I have a Website project that I'm trying to debug using Fiddler. Fiddler doesn't track traffic from localhost, so I created another alias in my hosts file to use instead of localhost. Now I would like to have my project use the fiddler.local.com instead of localhost when I run my project. Is there a way to do this? i.e. http://fiddle...

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 modified aspx page and the bin directory? Please let me know! Thanks guys! ...

Unit Testing ASP.net Web Site Project code stored in App_Code

I have an ASP.net Web Site Project (.net 3.5). Currently all of the non-code behind code files (including Linq2Sql stuff, data contexts, business logic, extension methods, etc) are located in the App_Code folder. I am interested in introducing Unit Testing (using nunit) in at least some sections of the project moving forward. Any Unit T...

How is this site implemented ugolog.com?

How could i re-create this site i want to code it out from scratch. It's for a university project i'm going to take the object tracking concept further but i need to know how the site is built in the first place. Thanks in advanced. ...

Why does a web application project in VS2005 offer a 'Convert to Web Application' menu choice

I believe I understand fully the differences between Visual Studio 2005's web site model versus the web application project model that was fully delivered in VS2005 SP1 - but I have run into a confusing thing: I have a web application project I wrote (it has a bin folder with the compiled projectname.dll and referenced .dlls too, etc.)....

asp.net (masterpage)

hi; i've a problem. previously, i created a aspwebsite project.and in that,created a masterpage.i want to use this masterpage with contentpage. but i didn't find contentpage in visual stdio 2008. can anyone help me? ...

How to set platform target for a ASP.NET "web site" project

I keep running into all sorts of nuances between the "web site project" versus "web application project" - here is the latest for me: I've inherited a Visual Studio 2005 solution with several class library projects (a DAL.dll, a Biz.dll, etc.) but this is all "fronted" by a web site project rather than a web app project. While the web ...

Pre-compile specific directories in ASP.NET website project

I have an ASP.NET website project which has a mixture of updateable pages and pages that do not change. Is it possible for me to pre-compile certain directories that contain pages/controls that will not be updated? If so, how could I designate these directories as such? Edit 2009.12.17 My project is structured like this: /cms_pag...

How should I version an ASP.NET Web Site project?

I've got an ASP.NET Web Site project and I'd like to display a version number and publish date, but I'm not sure how best to determine these. For example, the following code just outputs 0.0.0.0 LabelVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString(); Should I determine the assembly version somehow during bui...

Prevent ASP.NET Website project from building certain directories by using Web.config?

While programming, the longest part is a build on my ASP.NET Website project is the "Building directory" process seen below. (Note: I don't have the liberty to turn this into a Web Application with a .csproj build file. Wish I did.) The contents of the directories seen below are not changing although there might be some dependencies in ...

When does an ASP.NET Website project recompile?

As Maurico and codeka first stated, don't use the default InProc sessions if you don't want your sessions to be affected by website recompiles and application recycles. A list of what causes whole website recompile: By default, when any change is made to a top-level file in a Web site, the whole site is recompiled. Top-level files i...

How to make maintaince document for a website?

How to make maintenance document for a website? I've created a site using XHTML ,CSS, jQuery etc. it's big site. Now i have to write a maintenance document for a site for if any changes comes in future related to design, content and functionality then those things will be handled by someone else. How and what should i keep in maintenan...

how to force the user to download a file, not to view it?

I have a download page where i have kept musics, pictures, ebooks and etc. Whenever users click at the image it opens it, and same things happen with .pdf files if the user has installed pdf reader on their PC? I dont want them to open the file but to download it? Any ideas ...

.NET security mechanism to restrict access between two Types in the same project?

Question Is there a mechanism in the .NET Framework to hide one custom Type from another without using separate projects/assemblies? I'm not talking about access modifiers to hide members of a Type from another type - I mean to hide the Type itself. Background I'm working in an ASP.NET Website project and the team has decided not to ...

Adding Web Site Project style compilation on demand to Web Application Project in Visual Studio

I have a web application project that I wish to keep as a web application project, however is it possible to have part of it compiled on demand like a web site project? I would like one folder where I can add aspx pages to the website after its been published. ...

How Transport for London Website Works

Hi, Here let me clarify , I have no intentions to peep in to or any evil intention towards tfls database and other related information. But , ofcourse Millions of users are greatly beniftted the way it serves the information. http://journeyplanner.tfl.gov.uk/ So , If we want to create some site like tfl, journeyplanner , what are the ...

Problem deriving a user control from an abstract base class in website project

In a Visual Studio website, I have created a user control. This control is derived from a class (in App_Code) that is itself derived from System.Web.UI.UserControl. This is an abstract class with an abstract method. I then try to implement that method in the user control, but I get the following errors from Visual Studio: Error 1 ...