Is Visual Studio .NET ideal for ASP.NET + HTML site?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don Wash

    Is Visual Studio .NET ideal for ASP.NET + HTML site?

    Hi All!

    First of all I would like to say that VS.NET is one of the finest IDE I've
    used in years. It really helps me code quickly. Workspace management using
    auto hide windows, minimizing and maximizing of code segments, TO-DO list
    management and automatic documentation (to name a few) are all superb. So I
    really want to make the VS.NET IDE the primary development tool for me.

    However, when it comes to developing ASP.NET websites, I have some
    confusions. For instance, when I develop websites in ASP.NET, I want some of
    them to be HTML and others to be ASPX. But the Solution Explorer only shows
    ASPX files and other limited set of files. So I have to use Notepad or
    Dreamweaver to edit the HTML and other files. This is really a pain when
    rapidly developing ASPX websites.

    Also it is hard to distinguish and manage the website files (ASPX and HTML
    files) with VS.NET project files (vbproj, vbproj.webinfo and sln files to
    name a few). In Classic ASP, all the development was done separately on VB6
    or C++ and only the resulting DLL file is ported to the web directory so no
    issues of mixing up project files and web files (but of course DLL hell is
    there :P).

    I must admit that my knowledge of VS.NET is only beginner level so that I'm
    hoping someone to shed some light on this.

    Many Thanks!
    Don


  • Mark Rae

    #2
    Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

    "Don Wash" <don@wash.com > wrote in message
    news:%23tdzzYUe EHA.2784@TK2MSF TNGP10.phx.gbl. ..
    [color=blue]
    > However, when it comes to developing ASP.NET websites, I have some
    > confusions. For instance, when I develop websites in ASP.NET, I want some[/color]
    of[color=blue]
    > them to be HTML and others to be ASPX. But the Solution Explorer only[/color]
    shows[color=blue]
    > ASPX files and other limited set of files. So I have to use Notepad or
    > Dreamweaver to edit the HTML and other files. This is really a pain when
    > rapidly developing ASPX websites.[/color]

    1) If you haven't added the HTML files to your project, they won't display
    in the Solution Explorer unless you click the Show All Files button.

    2) To add a new HTML file into an ASP.NET project, right-click the project
    name, select Add, then Add HTML page.

    3) To add an existing HTML file into an ASP.NET project, simply drag it into
    the project from Windows Explorer, into a folder if you want.


    Comment

    • Doug

      #3
      Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

      <<<So I have to use Notepad or Dreamweaver to edit the HTML and other files.
      This is really a pain when rapidly developing ASPX websites.>>

      Don - I feel your pain!

      I agree that VS.NET is superb and I use it for all of my code-behind work
      and testing/debugging.

      BUT

      When I'm doing any serious development work I switch back and forth between
      VS.NET and Dreamweaver. The reason for this is that when you are editing
      HTML, VS.NET may decide to completely rearrange your HTML code (in your ASPX
      or HTML files). It doesn't simply give you your original page layout but
      with different HTML - it actaully gives you a brand new layout - and one you
      probably won't like that in no way resembles your original layout (and no
      way to undo the re arrangement).

      This is a well-known and big-time issue with developers that Microsoft is
      plenty aware of and they're promising to fix it in the next release of
      Visual Studio - so there's no need to start yet another heated debate over
      this issue here. In any case the first time it happens to you, you'll be
      running for Dreamweaver or Notepad.

      Separately, VS.NET is not designed nor intended to provide many of the site
      management features packed into Dreamweaver.

      Don't get rid of Dreamweaver quite yet.

      -D



      Comment

      • Don Wash

        #4
        Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

        Hi Mark,

        Thanks for the reply! I can now see the HTML files and other files. However,
        how can I solve the problem that VS.NET project files are mixing with web
        files? Obviously I don't want them to be uploaded to the web server.

        Thanks again,
        Don

        "Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
        news:edlyseUeEH A.1356@TK2MSFTN GP09.phx.gbl...[color=blue]
        > "Don Wash" <don@wash.com > wrote in message
        > news:%23tdzzYUe EHA.2784@TK2MSF TNGP10.phx.gbl. ..
        >[color=green]
        > > However, when it comes to developing ASP.NET websites, I have some
        > > confusions. For instance, when I develop websites in ASP.NET, I want[/color][/color]
        some[color=blue]
        > of[color=green]
        > > them to be HTML and others to be ASPX. But the Solution Explorer only[/color]
        > shows[color=green]
        > > ASPX files and other limited set of files. So I have to use Notepad or
        > > Dreamweaver to edit the HTML and other files. This is really a pain when
        > > rapidly developing ASPX websites.[/color]
        >
        > 1) If you haven't added the HTML files to your project, they won't display
        > in the Solution Explorer unless you click the Show All Files button.
        >
        > 2) To add a new HTML file into an ASP.NET project, right-click the project
        > name, select Add, then Add HTML page.
        >
        > 3) To add an existing HTML file into an ASP.NET project, simply drag it[/color]
        into[color=blue]
        > the project from Windows Explorer, into a folder if you want.
        >
        >[/color]


        Comment

        • Scott M.

          #5
          Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

          > This is a well-known and big-time issue with developers that Microsoft is[color=blue]
          > plenty aware of and they're promising to fix it in the next release of
          > Visual Studio - so there's no need to start yet another heated debate over
          > this issue here. In any case the first time it happens to you, you'll be
          > running for Dreamweaver or Notepad.[/color]

          The "Auto Format" feature you speak of can be configured or even turned off
          from within the Tools...Options dialogs.


          Comment

          • Doug

            #6
            Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

            > The "Auto Format" feature you speak of can be configured or even turned
            off[color=blue]
            > from within the Tools...Options dialogs.[/color]


            Really - where specifically is it? Can you tell me exactly how to turn it
            off?

            I'm especially interested being that there (1) I didn't find it there - and
            I have looked carefully (2) online help doesn't mention it, and (3) are many
            discussions in this very group mention how it's a big problem that Microsoft
            is addressing. I have previously asked about it in this group as have many
            others and the response has always been the same - "...wait for the 2005
            version - until then, don't throw away your favorite HTML editor..."


            Comment

            • Lucas Tam

              #7
              Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

              "Doug" <ClubMott@Liver more.com> wrote in news:OYnAbAVeEH A.3132
              @TK2MSFTNGP11.p hx.gbl:
              [color=blue]
              > Don't get rid of Dreamweaver quite yet.[/color]

              I wholeheartedly agree. Dreamweaver kicks VS.NET's butt when it comes to
              HTML editing.

              --
              Lucas Tam (REMOVEnntp@rog ers.com)
              Please delete "REMOVE" from the e-mail address when replying.

              Comment

              • Greg Burns

                #8
                Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                (credit to Herfried, if I recall, for the link)



                "You do can switch formatting off in Tools | Options, but it will not solve
                the underlying issue, it will only switch off pretty formatting."

                Never tried turning it off myself, but sounds like it may still not help a
                whole lot. Very aggravating.

                Greg


                "Doug" <ClubMott@Liver more.com> wrote in message
                news:%235UgByXe EHA.236@tk2msft ngp13.phx.gbl.. .[color=blue][color=green]
                > > The "Auto Format" feature you speak of can be configured or even turned[/color]
                > off[color=green]
                > > from within the Tools...Options dialogs.[/color]
                >
                >
                > Really - where specifically is it? Can you tell me exactly how to turn it
                > off?
                >
                > I'm especially interested being that there (1) I didn't find it there -[/color]
                and[color=blue]
                > I have looked carefully (2) online help doesn't mention it, and (3) are[/color]
                many[color=blue]
                > discussions in this very group mention how it's a big problem that[/color]
                Microsoft[color=blue]
                > is addressing. I have previously asked about it in this group as have many
                > others and the response has always been the same - "...wait for the 2005
                > version - until then, don't throw away your favorite HTML editor..."
                >
                >[/color]


                Comment

                • Cor Ligthert

                  #9
                  Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                  Don,[color=blue]
                  > Thanks for the reply! I can now see the HTML files and other files.[/color]
                  However,[color=blue]
                  > how can I solve the problem that VS.NET project files are mixing with web
                  > files? Obviously I don't want them to be uploaded to the web server.
                  >[/color]
                  Why do you upload your project files to the webserver?

                  Cor


                  Comment

                  • Cor Ligthert

                    #10
                    Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                    Doug,

                    Visual Studio Net is in my opinion perfect for HTML editing, however not for
                    cut and past Website development. For that are better tools.

                    Just my opinion.

                    Cor


                    Comment

                    • Cor Ligthert

                      #11
                      Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                      Greg,

                      For HTML editing I never use the designview part I go direct to "view in
                      browser", that is very fast and implements direct my javascript and css even
                      when I store that on a server on the other and of the world.

                      Cor


                      Comment

                      • Greg Burns

                        #12
                        Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                        If you use VS.NET's built in Copy Project menu item (off of the Project
                        menu), it will copy ONLY the necessary files.

                        Greg


                        "Don Wash" <don@wash.com > wrote in message
                        news:uzQsQlVeEH A.2376@tk2msftn gp13.phx.gbl...[color=blue]
                        > Hi Mark,
                        >
                        > Thanks for the reply! I can now see the HTML files and other files.[/color]
                        However,[color=blue]
                        > how can I solve the problem that VS.NET project files are mixing with web
                        > files? Obviously I don't want them to be uploaded to the web server.
                        >
                        > Thanks again,
                        > Don[/color]


                        Comment

                        • Mark Rae

                          #13
                          Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                          "Lucas Tam" <REMOVEnntp@rog ers.com> wrote in message
                          news:Xns953A898 0C7E36nntproger scom@140.99.99. 130...
                          [color=blue]
                          > I wholeheartedly agree. Dreamweaver kicks VS.NET's butt when it comes to
                          > HTML editing.[/color]

                          Are you listening to this, Microsoft? 'Cos if you're not, you should be! A
                          whole slew of your users think that part of one of your flagship development
                          tools is not as good as the opposition, which is what you hate more than
                          anything else, right...?

                          And I agree with them, BTW...:-)


                          Comment

                          • Scott M.

                            #14
                            Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                            Tools...Options

                            Text Editor section
                            HTML/XML section
                            Format sub-section


                            "Doug" <ClubMott@Liver more.com> wrote in message
                            news:%235UgByXe EHA.236@tk2msft ngp13.phx.gbl.. .[color=blue][color=green]
                            > > The "Auto Format" feature you speak of can be configured or even turned[/color]
                            > off[color=green]
                            > > from within the Tools...Options dialogs.[/color]
                            >
                            >
                            > Really - where specifically is it? Can you tell me exactly how to turn it
                            > off?
                            >
                            > I'm especially interested being that there (1) I didn't find it there -[/color]
                            and[color=blue]
                            > I have looked carefully (2) online help doesn't mention it, and (3) are[/color]
                            many[color=blue]
                            > discussions in this very group mention how it's a big problem that[/color]
                            Microsoft[color=blue]
                            > is addressing. I have previously asked about it in this group as have many
                            > others and the response has always been the same - "...wait for the 2005
                            > version - until then, don't throw away your favorite HTML editor..."
                            >
                            >[/color]


                            Comment

                            • Scott M.

                              #15
                              Re: Is Visual Studio .NET ideal for ASP.NET + HTML site?

                              I've been hearing these complaints since FrontPage 97. And, I have to say
                              that many (not all) of the complaints come from folks who either don't know
                              how to configure the product to their liking (see my earlier reply in this
                              thread about turning off auto-formatting) or they don't understand how MS
                              intends their products to be used.

                              MS FrontPage is a wonderful HTML designer/editor with many site management
                              capabilities. VS .NET is more of a hard-core development environment and
                              not so much a site management tool.

                              You can use FP for low end HTML design if you like as well as site
                              management and VS .NET for the programming.

                              "Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
                              news:uMYuuHaeEH A.712@TK2MSFTNG P09.phx.gbl...[color=blue]
                              > "Lucas Tam" <REMOVEnntp@rog ers.com> wrote in message
                              > news:Xns953A898 0C7E36nntproger scom@140.99.99. 130...
                              >[color=green]
                              > > I wholeheartedly agree. Dreamweaver kicks VS.NET's butt when it comes to
                              > > HTML editing.[/color]
                              >
                              > Are you listening to this, Microsoft? 'Cos if you're not, you should be! A
                              > whole slew of your users think that part of one of your flagship[/color]
                              development[color=blue]
                              > tools is not as good as the opposition, which is what you hate more than
                              > anything else, right...?
                              >
                              > And I agree with them, BTW...:-)
                              >
                              >[/color]


                              Comment

                              Working...