Edited by Nancy Michell
MSDN Magazine September 2005
View Complete Post
Hello, I am working in a aspx web application that must be built in several separate "modules" with different functionality which will be partly developed by different teams.
However, I need the completed app to reside in ONE virtual directory. There will be a single startup page. I need session state to be preserved across pages in different modules.
I structured it as one solution with different Web Projects and one class library project with common functionalities.
1) is this the right approach to do this? Or which one would be better?
2) each time I add a new web project to the solution, a new web.config gets created. What do I do and where do I put them?
VS 2010 + framework 4.0 + TFS
Regarding TFS and source control, I have a single Team project, the solution and web projects are inside it.
I am working on a smart device project and want to run on emulator.i have completed the application.but now i want to run it on Emulator in vs2008.
I'm new to developing mobile apps and have hit a brick wall. I use Web Services all the time so I know I have created it correctly and it works. The issue is that i cant seem to add it to my class or form in the Smart Device Project.
When I right click I get the option to add Web Reference, I then navigate to the url and add as I normally would. When I then try to access the service I cant seem to navigat to it from code and it is not available. I have also tried adding a Web Service directly by 'Add New Item, but this file type is not available in the list of installed templates.
Any help here would be greatly appreciated.
I'm confused about where Resources should be stored in a VS2010 Winform project...
Here's the structure I've been using, and which is now severely messed-up!
Resources folder ("A")
various .bmp files
Resources folder ("B" - this one is empty)
various ,cs files...
Resources folder "A" contains copies of the .bmp files which are also added as Image resources to the Resources.resx file. And Resources folder "B" is empty.
The problem I seem to be having is that when I use the Resources editor to edit some of the image
Development Environment: VS 2008 Pro, IIS 6, asp.net 2.x, sql 2005 server
Installed the version of AJAX Toolkit and Library for the .net 2.0 compatibility (as IIS is still using 2.x)
The problem is as that within the vs 2008 pro, when I select for example a button control...there should be an additional pop-up intellisense indicating...add extender.to compound this, within the extender control ... the TargetControlID -- should be a drop-down list, indicating which controls are compatible with the extender ... there is no drop-down list.even if I manually type the control to associate the extender with, this has no effect on the control (such as textbox control) -- as there should be another option appear indicating the association has taken place).
below is the steps to take (as written by MS) -- but this is what I am not getting:"If the Button Tasks shortcut menu does not appear, right-click the Button control and then click Show Smart Tag." -- the smart tag is not appearing______________________________________________________--To add an AJAX extender controlSwitch to Design view.If the page does not already contain a ScriptManager control, from the AJAX Extensions tab of the Toolbox, drag one onto the page.Note: A ScriptManager c
Trying to remote debug ASP website from VS2010 Pro to Windows Server 2003 machine. Specifically, trying to debug a Web Service, but breakpoint says, "The breakpoint will not currently be hit. No symbols have been loaded for this document." This happens for all compiled code though. I have read this is due to missing PDB files and the work around is to manually copy them, as noted here. Problem is, I cannot find any PDB files for my project, except referenced libraries, which I can remote debug.
This is beyond frustrating. I migrated my code from VS2008 .Net3.5 to VS2010 .Net4.0 to take advantage of the inherent multithreading framework. Debugging works when using local host and was stable until deployment to test server.
Thanks in advance,
Seems like a stupid question, but I will go to Build > Build Solution many many times and the build will succeed many many times, then I will put in a minor syntax error and the build will fail, BUT the build will not fail because of the minor syntax error; it will fail because of an unresolved type that I put in about twenty compiles ago. And then I will fix the minor syntax eror, and the compiler will still complain about the unresolved type. Here is my code:
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %><html><body> <form runat="server"> Hello World!! </form></body></html>
Pretty simple, really. I go to Buld > Build WebApplication1 and it runs OK. Now, if I put in a minor syntax error, such as substitute "forrrrrrrm" for "form" and then try to Build Solution, it complains not about the misspelled word, but about the FreeTextBox. And then if I correct the misspelled wird, it still complains about the FreeTextBox. Which leads me to believe that Building the Solution does not check absolutely 100% everything that needs to be checked. Is there a more thorough way of compiling a program that I need to use?
is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
I wonder how to add a project template called Intelligence Reports, something like that, to Visual studio 2008. I have SQL 2008 installed. Do I need to install some updates to get Intelligence Reports template to Visual studio 2008 ?
I am using VS2005.
I don't have much experience with web setup projects, but I now need to create a decent windows installer in order to allow customers to install one of our web applications. I have created a simple web setup project and it works fine, but not when it comes to upgrades of the application.
If for instance I install version 1.0 on a machine, and then later I try to install version 2.0, I don't seem to have the control that I would like... I can specify in the web setup project that the installer must enforce an uninstall of previous version, but then all application files and logs are uninstalled as well. If I let the application just install itself over the older version, it seems to leave some old DLL's there - it then causes issues in the application because DLL version conflicts.
My basic requirement is that I would like th installer to upgrade the old version with all the files required, but leave any application and log files in tact - this way the customer won't have to reconfigure the application after install.
What is the best way to handle this?
We have several .NET based products for which we need to generate multiple MSI files to allow for multiple instances of the same app to be installed on the same machine. For instance, we might have a single server running version of the app that are pointed at either test or QA databases, or may use the same server box to deploy the product for multuple clients. (So, for instance, our web server might have separate installs of the same code in different locations for product names "Client A test", "Client A QA", "Client B Test", etc., where the only real differences are in the web.cionfig files that are not overwritten by the install of a new version.)
Right now we simply have a deployment project for each named variation of the app. This works, but is likely to become a maintenance mess as the number of instances grows. We'd like to be able to maintain only a single deployment project and script the creation of multiple MSIs, one for each product variation, after the build of a baseline MSI.
As I understand it, this should be acheivable by building the MSI, then for each possible instance, making a copy of the MSI and giving it a unique ProductCode and PackageCode; this way Windows should recognize each instance as a unique application. I've done this (as well as changing the produc