468,248 Members | 1,475 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,248 developers. It's quick & easy.

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

Bob
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
Nov 18 '05 #1
6 1228
Go into IIS | Home Directory | Config and from there set the extension that
you would like.
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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

Nov 18 '05 #2
Bob
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" <mp********@sbcglobal.net> wrote in message
news:em****************@TK2MSFTNGP11.phx.gbl...
Go into IIS | Home Directory | Config and from there set the extension that you would like.
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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


Nov 18 '05 #3
http://www.google.com/search?hl=en&l...ile+extensions

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.kinook.com
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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

Nov 18 '05 #4
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" <bo*******@yahoo.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
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" <mp********@sbcglobal.net> wrote in message
news:em****************@TK2MSFTNGP11.phx.gbl...
Go into IIS | Home Directory | Config and from there set the extension that
you would like.
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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



Nov 18 '05 #5
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" <bo*******@yahoo.com> skrev i meddelandet
news:e4****************@TK2MSFTNGP10.phx.gbl...
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" <mp********@sbcglobal.net> wrote in message
news:em****************@TK2MSFTNGP11.phx.gbl...
Go into IIS | Home Directory | Config and from there set the extension that
you would like.
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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



Nov 18 '05 #6
Bob
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" <re***@to.newsgroup> wrote in message
news:OG****************@TK2MSFTNGP10.phx.gbl...
http://www.google.com/search?hl=en&l...ile+extensions
--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.kinook.com
" Bob" <bo*******@yahoo.com> wrote in message
news:O$***************@TK2MSFTNGP10.phx.gbl...
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


Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by n3crius | last post: by
10 posts views Thread by Ron Weldy | last post: by
4 posts views Thread by John Mick | last post: by
3 posts views Thread by Ralf Ziller | last post: by
reply views Thread by mazdotnet | last post: by
6 posts views Thread by =?Utf-8?B?TUNN?= | last post: by
10 posts views Thread by =?Utf-8?B?TUNN?= | last post: by
2 posts views Thread by =?Utf-8?B?YW5vbg==?= | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.