How to config VS.NET to recognize other file extensions as aspx?

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

    How to config VS.NET to recognize other file extensions as aspx?

    I noticed that some of the Microsoft site pages have the extension name of
    mspx. It's easy to config IIS to map a particular extension name to the
    ASP.NET dll for production purpose. However I can't figure out how to config
    VS.NET to recognize my own file extension name e.g. *.bob, as ASPX pages.
    Is it matter of creating a set of template? If so, would it compile
    correctly? My goal is for VS.NET to treat a different extension name the
    same as aspx, so I can develop web pages with that extension name the same
    way I do aspx.

    Thanks
    Bob


  • michael

    #2
    Re: How to config VS.NET to recognize other file extensions as aspx?

    Go into IIS | Home Directory | Config and from there set the extension that
    you would like.


    " Bob" <bobatkpmg@yaho o.com> wrote in message
    news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=blue]
    > I noticed that some of the Microsoft site pages have the extension name of
    > mspx. It's easy to config IIS to map a particular extension name to the
    > ASP.NET dll for production purpose. However I can't figure out how to[/color]
    config[color=blue]
    > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX pages.
    > Is it matter of creating a set of template? If so, would it compile
    > correctly? My goal is for VS.NET to treat a different extension name the
    > same as aspx, so I can develop web pages with that extension name the same
    > way I do aspx.
    >
    > Thanks
    > Bob
    >
    >[/color]


    Comment

    • Bob

      #3
      Re: How to config VS.NET to recognize other file extensions as aspx?

      I know how to set it up in IIS so IIS knows how to treat a particular
      extension. My question was how to do it in VS.NET, the IDE. For example,
      VS.NET displays .aspx different from .xml, how does it determine and more
      importantly how do I customize?

      "michael" <mpettibone@sbc global.net> wrote in message
      news:emhjd51%23 DHA.2512@TK2MSF TNGP11.phx.gbl. ..[color=blue]
      > Go into IIS | Home Directory | Config and from there set the extension[/color]
      that[color=blue]
      > you would like.
      >
      >
      > " Bob" <bobatkpmg@yaho o.com> wrote in message
      > news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=green]
      > > I noticed that some of the Microsoft site pages have the extension name[/color][/color]
      of[color=blue][color=green]
      > > mspx. It's easy to config IIS to map a particular extension name to the
      > > ASP.NET dll for production purpose. However I can't figure out how to[/color]
      > config[color=green]
      > > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX[/color][/color]
      pages.[color=blue][color=green]
      > > Is it matter of creating a set of template? If so, would it compile
      > > correctly? My goal is for VS.NET to treat a different extension name[/color][/color]
      the[color=blue][color=green]
      > > same as aspx, so I can develop web pages with that extension name the[/color][/color]
      same[color=blue][color=green]
      > > way I do aspx.
      > >
      > > Thanks
      > > Bob
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Kyle Alons

        #4
        Re: How to config VS.NET to recognize other file extensions as aspx?



        --
        ---------------------------------------------------
        Automate your software builds with Visual Build Pro



        " Bob" <bobatkpmg@yaho o.com> wrote in message
        news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=blue]
        > I noticed that some of the Microsoft site pages have the extension name of
        > mspx. It's easy to config IIS to map a particular extension name to the
        > ASP.NET dll for production purpose. However I can't figure out how to[/color]
        config[color=blue]
        > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX pages.
        > Is it matter of creating a set of template? If so, would it compile
        > correctly? My goal is for VS.NET to treat a different extension name the
        > same as aspx, so I can develop web pages with that extension name the same
        > way I do aspx.
        >
        > Thanks
        > Bob
        >
        >[/color]


        Comment

        • Kevin Spencer

          #5
          Re: How to config VS.NET to recognize other file extensions as aspx?

          Hi Bob,

          I suppose you also want to know how to use a hammer to screw in a screw?
          ISAPI mappings are done through IIS. That is the tool to use for mapping
          ISAPIs. VS.Net is the tool to use for developing software. You could,
          ostensibly, write an extension for the IDE that enables you to set
          configuration settings in IIS, but it sure would be a lot of trouble,
          compared to opening the IIS Admin snap-in and doing it that way.

          --
          HTH,
          Kevin Spencer
          ..Net Developer
          Microsoft MVP
          Big things are made up
          of lots of little things.

          " Bob" <bobatkpmg@yaho o.com> wrote in message
          news:e44iYJ7#DH A.2216@TK2MSFTN GP10.phx.gbl...[color=blue]
          > I know how to set it up in IIS so IIS knows how to treat a particular
          > extension. My question was how to do it in VS.NET, the IDE. For example,
          > VS.NET displays .aspx different from .xml, how does it determine and more
          > importantly how do I customize?
          >
          > "michael" <mpettibone@sbc global.net> wrote in message
          > news:emhjd51%23 DHA.2512@TK2MSF TNGP11.phx.gbl. ..[color=green]
          > > Go into IIS | Home Directory | Config and from there set the extension[/color]
          > that[color=green]
          > > you would like.
          > >
          > >
          > > " Bob" <bobatkpmg@yaho o.com> wrote in message
          > > news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=darkred]
          > > > I noticed that some of the Microsoft site pages have the extension[/color][/color][/color]
          name[color=blue]
          > of[color=green][color=darkred]
          > > > mspx. It's easy to config IIS to map a particular extension name to[/color][/color][/color]
          the[color=blue][color=green][color=darkred]
          > > > ASP.NET dll for production purpose. However I can't figure out how to[/color]
          > > config[color=darkred]
          > > > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX[/color][/color]
          > pages.[color=green][color=darkred]
          > > > Is it matter of creating a set of template? If so, would it compile
          > > > correctly? My goal is for VS.NET to treat a different extension name[/color][/color]
          > the[color=green][color=darkred]
          > > > same as aspx, so I can develop web pages with that extension name the[/color][/color]
          > same[color=green][color=darkred]
          > > > way I do aspx.
          > > >
          > > > Thanks
          > > > Bob
          > > >
          > > >[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Per Salmi

            #6
            Re: How to config VS.NET to recognize other file extensions as aspx?

            There is a PowerToy for VS.Net at http://www.gotdotnet.com/team/ide/ called
            VSTweak that can be used to define your own extensions and make the IDE
            handle them like other known file types.

            /Per Salmi

            " Bob" <bobatkpmg@yaho o.com> skrev i meddelandet
            news:e44iYJ7%23 DHA.2216@TK2MSF TNGP10.phx.gbl. ..[color=blue]
            > I know how to set it up in IIS so IIS knows how to treat a particular
            > extension. My question was how to do it in VS.NET, the IDE. For example,
            > VS.NET displays .aspx different from .xml, how does it determine and more
            > importantly how do I customize?
            >
            > "michael" <mpettibone@sbc global.net> wrote in message
            > news:emhjd51%23 DHA.2512@TK2MSF TNGP11.phx.gbl. ..[color=green]
            > > Go into IIS | Home Directory | Config and from there set the extension[/color]
            > that[color=green]
            > > you would like.
            > >
            > >
            > > " Bob" <bobatkpmg@yaho o.com> wrote in message
            > > news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=darkred]
            > > > I noticed that some of the Microsoft site pages have the extension[/color][/color][/color]
            name[color=blue]
            > of[color=green][color=darkred]
            > > > mspx. It's easy to config IIS to map a particular extension name to[/color][/color][/color]
            the[color=blue][color=green][color=darkred]
            > > > ASP.NET dll for production purpose. However I can't figure out how to[/color]
            > > config[color=darkred]
            > > > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX[/color][/color]
            > pages.[color=green][color=darkred]
            > > > Is it matter of creating a set of template? If so, would it compile
            > > > correctly? My goal is for VS.NET to treat a different extension name[/color][/color]
            > the[color=green][color=darkred]
            > > > same as aspx, so I can develop web pages with that extension name the[/color][/color]
            > same[color=green][color=darkred]
            > > > way I do aspx.
            > > >
            > > > Thanks
            > > > Bob
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Bob

              #7
              Re: How to config VS.NET to recognize other file extensions as aspx?

              Thanks a lot Kyle and Per. I'll check out the the leads you guys provided.

              For Kevi and michael, you guys obviously don't know what I'm talking about.
              Thanks anyway.

              Bob


              "Kyle Alons" <reply@to.newsg roup> wrote in message
              news:OG7iZW7%23 DHA.2808@TK2MSF TNGP10.phx.gbl. ..[color=blue]
              >[/color]
              http://www.google.com/search?hl=en&l...ile+extensions[color=blue]
              >
              > --
              > ---------------------------------------------------
              > Automate your software builds with Visual Build Pro
              > http://www.kinook.com
              >
              >
              > " Bob" <bobatkpmg@yaho o.com> wrote in message
              > news:O$zw8Ey%23 DHA.268@TK2MSFT NGP10.phx.gbl.. .[color=green]
              > > I noticed that some of the Microsoft site pages have the extension name[/color][/color]
              of[color=blue][color=green]
              > > mspx. It's easy to config IIS to map a particular extension name to the
              > > ASP.NET dll for production purpose. However I can't figure out how to[/color]
              > config[color=green]
              > > VS.NET to recognize my own file extension name e.g. *.bob, as ASPX[/color][/color]
              pages.[color=blue][color=green]
              > > Is it matter of creating a set of template? If so, would it compile
              > > correctly? My goal is for VS.NET to treat a different extension name[/color][/color]
              the[color=blue][color=green]
              > > same as aspx, so I can develop web pages with that extension name the[/color][/color]
              same[color=blue][color=green]
              > > way I do aspx.
              > >
              > > Thanks
              > > Bob
              > >
              > >[/color]
              >
              >[/color]


              Comment

              Working...