Architecture :: Solution Structure In Visual Studio 2008?
Jul 3, 2010
I am planning to develop an application with asp.net mvc 2. In my project it is very large project.How to plan the solution structure in visual studio 2008. My requirement is module wise solution structure in visual studio 2008 using asp.net mvc2.
by mistake a .aspx and its corresponding .vb file was deleted from my project's solution explorer.Its not there in Recycle Bin too.Is there any method to recover that file ? I am using Visual Studio 2008. Win XP SP1.
I am trying to set up a solution - projects folder structure. I am trying to keep CSS, master pages, Themes, Images and login page as a common web application project and reference them when needed in any other web site or web application in the same solution. Is it possible to do it? If so, is it a best practice? If not, what is the best practice to do this?
I'm trying to create a .NET solution and add class libraries to it. First - in VS2008 I go to File > New > Project > Other Project Types > Visual Studio Solutions > Blank Solution. Then - after VS2008 creates the blank solution I right click on the solution and select Add > New Project > Visual C# > Class Library. However, when I add the Class Library to the solution, the solution icon disappears from Solution Explorer (although the solution name is still in the VS2008 title bar). Why does the solution icon disappear from the Solution Explorer when I attempt to do this?
Is there any tool for Visual Studio 2008 which can reformat ASPX code to make it more presentable (eg insert line breaks, format the lines so they wrap when necessary, etc)?
Even though I when I create a linqtosql class I mark C# as the language it was always shows up as a Visual Basic file in the App Code file. I can't get it to stop doing that. ????? What is going on?
I have an ASP.Net website as one of the projects in a Visual Studio 2010 solution. I have several files in my ASP.Net website project which are named correctly according to the expected pattern of *.aspx and *.aspx.cs, however, when I view them within the ASP.Net website project, they are not displayed hierarchically and are instead displayed in a flat file view adjacent to each other. How do I get the files to display hierarchically within Visual Studio as they are normally when I add a brand new .aspx page to the website project? I have been looking all over for a corresponding Visual Studio MSBuild or settings file that might be storing these hierarchical display settings but have found nothing as of yet.
using VWDExpress2010, is there a way to print the table definition for an SQL table that has been created within the designer? I would like to begin using SQL databases for more of my projects but find the difficulty in working with the tables (compared to other options) to be such a pain that I usually choose some of the other formats. Typical problems are simply documenting the structure, moving data in and out with some form of command line feature, etc.
I have a website which was created by someone; now I am trying to open it.
My doubt is will that project contain a solution? Within Visual Studio, I am trying to open through the open website option, but I didn't find a solution.
Is that right way? How best can I open a website with Visual Studio?
can Visual Studio 2008 be All-In-One tool to integrate source code continuously from team members, build, unit test?
Having used Visual Studio Team Edition 2005, unit testing each method within VS itself. I strongly believe that it is feasible to add-on tools. Example ankhsvn tool to use SVN from Visual studio [URL]
In my investigating i have come across number of tools(shown below) to use with Visual Studio 2008 professional
Development tool:- Visual Studio 2008 professional using Subversion as source control tool. Continuous Integration:- Hudson or Cruise control Build tool:- NAnt Testing:- NUnit, Selinium As Visual Studio 2008 can be used for unit testing I think NUnit is out of consideration.
In the same way i would like to have any other tools/add-ons to Visual studio to implement continuous integration, building and unit testing. This process should be automated such a way source code between team members is continuously integrated, built and unit testing is done as configured.
Objective is to use few number of tools as add-on to Visual Studio or achieve most from Visual studio itself (example unit testing). Visual Studio should be all in one tool.
I am aware that Team Foundation Server best suits my requirement, but it is out of scope due to its cost.
I have first installed VS2005 and then installed VS2008. After installing, whenever i create a solution in VS2008, i am able to create it properly. if i double-click the solution file, i am able to open the project. Recently i had a problem in my IIS 5.1 and i uninstalled it and the installed it again. After doing that whenever i try to open a VS2008 solution file, i am getting the following error The selected file is a solution file, but was created by a newer version of this application and cannot be opened.". I even tried creating a blank solution using
File->New->Project->Other Project Types-> Visual Studio Solutions-> Blank Solution.
I then added a new project to this solution. I closed the solution and again when i double-click on the newly created solution file i am getting the same error as previous one. I found some solution in the net, tried that and didn't work at all.
I've got a Visual Studio 2010 solution that has multiple web applications in it. I've set one as the startup project but when I debug Visual Studio is starting up a development server for each web application in my solution. Is there anyway I can have Visual Studio only start up the development server for just the default startup project?
I do not have SQL Express installed as I already have SQL 2008 (Developer) on my Dev machine. When I say add new item -> SQL Database, give it a name and say "yes" to it creating me the app folder I then get the message that I need to have SQL Express installed and I can download it from blah blah.
Why will it not let me use/recognise my installed instance of SQL Server?
I have VS 2008 Professional Edition.....I want to test a function like this:
public int getIdByName(string name) { var item=from x in DATAB where x.name=name select x.id; . . return idValue; }
now I test end I have:
[TestMethod()] public getIdByNameTest() { string name="Bob" int expected = 1; int actual; actual = ClassGET.getIdByName(name); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
The error in "test run" is:
Failed ......[Class]....... Test method threw exception: System.ArgumentException: The specified named connection is either not found in the configuration that is not for use with the EntityClient provider or thought is invalid
How can I ensure that web application converted from 2003 visual studio to 2008 visual studio
to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.