Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Wht's The best way to add projects in solution...

Wht's The best way to add projects in solution...

Scheduled Pinned Locked Moved C#
business
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amit Sk Sharma
    wrote on last edited by
    #1

    Hi all, Wanna create a new website with 3/n tier.I want to keep all the business logic and DAL in different projects, in the same solution. Please tell me the most efficient way to do this should I add a new windows project to solution and start coding at the same place or create an individual project and after successfully building it add it to my solution or any other efficient way is there other than these two. Please give me your suggestions.

    With Thanks & Regards Amit Sk Sharma

    modified on Tuesday, March 4, 2008 12:52 AM

    C K N 3 Replies Last reply
    0
    • A Amit Sk Sharma

      Hi all, Wanna create a new website with 3/n tier.I want to keep all the business logic and DAL in different projects, in the same solution. Please tell me the most efficient way to do this should I add a new windows project to solution and start coding at the same place or create an individual project and after successfully building it add it to my solution or any other efficient way is there other than these two. Please give me your suggestions.

      With Thanks & Regards Amit Sk Sharma

      modified on Tuesday, March 4, 2008 12:52 AM

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Wow. I'm not sure if you're serious. You can do whatever you like, although it stands to reason that the process with the least steps is to create the project within the existing solution, you'll lose valuable micro seconds if you do it the other way.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      A 1 Reply Last reply
      0
      • C Christian Graus

        Wow. I'm not sure if you're serious. You can do whatever you like, although it stands to reason that the process with the least steps is to create the project within the existing solution, you'll lose valuable micro seconds if you do it the other way.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        A Offline
        A Offline
        Amit Sk Sharma
        wrote on last edited by
        #3

        That's the thing I wish to know; do this effects the functioning/ performance or it's just like to add a project having logic with it.

        With Thanks & Regards Amit Sk Sharma

        C 1 Reply Last reply
        0
        • A Amit Sk Sharma

          Hi all, Wanna create a new website with 3/n tier.I want to keep all the business logic and DAL in different projects, in the same solution. Please tell me the most efficient way to do this should I add a new windows project to solution and start coding at the same place or create an individual project and after successfully building it add it to my solution or any other efficient way is there other than these two. Please give me your suggestions.

          With Thanks & Regards Amit Sk Sharma

          modified on Tuesday, March 4, 2008 12:52 AM

          K Offline
          K Offline
          kannan M ambadi
          wrote on last edited by
          #4

          Hi, First u select a Blank Solution From Visual Studio-> File -> New-> Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution. Then add projects or website as u wish to this blank solution..U can add n projetcs to ur solution..it deosnt matter at all.. if u need any further clarification, plz reply me rgds kannan ambadi

          A 1 Reply Last reply
          0
          • A Amit Sk Sharma

            That's the thing I wish to know; do this effects the functioning/ performance or it's just like to add a project having logic with it.

            With Thanks & Regards Amit Sk Sharma

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Well, I'm not sure how you think it could affect anything. Code is code. The way it builds won't change by how it was added to a solution, in fact, the two methods you suggest, each create exactly the same thing, a project that gets built within the context of a solution.

            Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            1 Reply Last reply
            0
            • K kannan M ambadi

              Hi, First u select a Blank Solution From Visual Studio-> File -> New-> Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution. Then add projects or website as u wish to this blank solution..U can add n projetcs to ur solution..it deosnt matter at all.. if u need any further clarification, plz reply me rgds kannan ambadi

              A Offline
              A Offline
              Amit Sk Sharma
              wrote on last edited by
              #6

              The only doubt remained is the projects to be added should be windows application or it can be something else (I wish to keep only class files in that project, which will be used for Data Access Layer and Business Logic Layer)

              With Thanks & Regards Amit Sk Sharma

              N 1 Reply Last reply
              0
              • A Amit Sk Sharma

                The only doubt remained is the projects to be added should be windows application or it can be something else (I wish to keep only class files in that project, which will be used for Data Access Layer and Business Logic Layer)

                With Thanks & Regards Amit Sk Sharma

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #7

                You can use Class Library project.

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                1 Reply Last reply
                0
                • A Amit Sk Sharma

                  Hi all, Wanna create a new website with 3/n tier.I want to keep all the business logic and DAL in different projects, in the same solution. Please tell me the most efficient way to do this should I add a new windows project to solution and start coding at the same place or create an individual project and after successfully building it add it to my solution or any other efficient way is there other than these two. Please give me your suggestions.

                  With Thanks & Regards Amit Sk Sharma

                  modified on Tuesday, March 4, 2008 12:52 AM

                  N Offline
                  N Offline
                  Nouman Bhatti
                  wrote on last edited by
                  #8

                  As there is no interface needed for other two layers BLL and DAL so you should make them class libraries. Create a new web application project and add your other two class libraries in the same solution. this will help u out when u start coding.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups