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. Web Development
  3. ASP.NET
  4. How to switch from development environment to live environment

How to switch from development environment to live environment

Scheduled Pinned Locked Moved ASP.NET
questiontutorialworkspace
9 Posts 2 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.
  • S Offline
    S Offline
    Shweta2281
    wrote on last edited by
    #1

    How to switch from development environment to live environment.I mean what is the process?and where do you do that? Shweta

    N 1 Reply Last reply
    0
    • S Shweta2281

      How to switch from development environment to live environment.I mean what is the process?and where do you do that? Shweta

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

      Shweta2281 wrote:

      How to switch from development environment to live environment

      Switch what ?

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

      S 1 Reply Last reply
      0
      • N N a v a n e e t h

        Shweta2281 wrote:

        How to switch from development environment to live environment

        Switch what ?

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

        S Offline
        S Offline
        Shweta2281
        wrote on last edited by
        #3

        I mean when the user enters this url eg:www.something.com,it will redirect to the home page that i have set.but in the URL window i just dont want www.something.com but ww.something.com/home.aspx.How to do this?

        N 1 Reply Last reply
        0
        • S Shweta2281

          I mean when the user enters this url eg:www.something.com,it will redirect to the home page that i have set.but in the URL window i just dont want www.something.com but ww.something.com/home.aspx.How to do this?

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

          When user enters the URL, IIS will look for default document specified in the root. So I don't think that your URL can be rewritten

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

          S 1 Reply Last reply
          0
          • N N a v a n e e t h

            When user enters the URL, IIS will look for default document specified in the root. So I don't think that your URL can be rewritten

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

            S Offline
            S Offline
            Shweta2281
            wrote on last edited by
            #5

            ok.but i saw in certain sites that when i entered the actual URL it took me to the default page plus the URL was appended with that page name tooo

            N 1 Reply Last reply
            0
            • S Shweta2281

              ok.but i saw in certain sites that when i entered the actual URL it took me to the default page plus the URL was appended with that page name tooo

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

              They might be using URL redirection which is supported by hosting providers. BTW, why do you need to do this ?

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

              S 1 Reply Last reply
              0
              • N N a v a n e e t h

                They might be using URL redirection which is supported by hosting providers. BTW, why do you need to do this ?

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

                S Offline
                S Offline
                Shweta2281
                wrote on last edited by
                #7

                Actually i have some functionality in my project which depends on what page you are.So i check the request.absoluteuri and if it contains the text "home" then i proceed with my logic.

                N 1 Reply Last reply
                0
                • S Shweta2281

                  Actually i have some functionality in my project which depends on what page you are.So i check the request.absoluteuri and if it contains the text "home" then i proceed with my logic.

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

                  Shweta2281 wrote:

                  equest.absoluteuri and if it contains the text "home" then i proceed with my logic.

                  I guess you are checking this from Master page or from any user controls ? If you are using master pages, you can have a boolean public property which can be set from page. From homepage set this value to true. So when doing your logic, you can check this property and if it is true, proceed. I think this will be efficient than checking the URL.

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

                  S 1 Reply Last reply
                  0
                  • N N a v a n e e t h

                    Shweta2281 wrote:

                    equest.absoluteuri and if it contains the text "home" then i proceed with my logic.

                    I guess you are checking this from Master page or from any user controls ? If you are using master pages, you can have a boolean public property which can be set from page. From homepage set this value to true. So when doing your logic, you can check this property and if it is true, proceed. I think this will be efficient than checking the URL.

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

                    S Offline
                    S Offline
                    Shweta2281
                    wrote on last edited by
                    #9

                    Hey thank you v much.I guess that is going to solve my problem.Thanks a lot!!!

                    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