472,804 Members | 1,042 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,804 software developers and data experts.

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 1373
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: n3crius | last post by:
hi, i just got a web host with asp.net , seemed really cool. aspx with the c# or vb IN the actual main page run fine, but when i use codebehind and make another source file ( a .cs) to go with...
10
by: Ron Weldy | last post by:
I am working on a website that someone else has set up. They have a web.config file with a customerrors element that points the error handling to a special aspx page. <customErrors...
4
by: John Mick | last post by:
Hi, I have renamed aspx to .ret and would like visual studio to recognize .ret file as an aspx file recognize = show designer, intellisense, group up with corresponding codebehind in solution...
3
by: Ralf Ziller | last post by:
I have a ASP.Net application with web.config files in subfolders. This works fine with the Visual Studio development server. But after publication to an IIS6 webserver a config file inside a...
0
by: mazdotnet | last post by:
Hi, I'm using UrlRewriter.NET in my project which is causing problems when in Vista (same code works fine on Windows XP). I'm going by the example in Scott's Blog...
2
by: none | last post by:
All, I was wondering is their a way of dealing with subStatusCode's with in the webconfig file? I unfortunately don't have access to anything other then webconfig and qould perfer to set in code...
6
by: =?Utf-8?B?TUNN?= | last post by:
The following sections appears in my web.config file. <configuration> <system.web> <compilation> <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral,...
10
by: =?Utf-8?B?TUNN?= | last post by:
What does this do? <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />...
2
by: =?Utf-8?B?YW5vbg==?= | last post by:
I am not sure if this is the right forum. Environment : Windows server 2008, IIS 7.0 I get the 'Could not load the file or assembly 'blowery.web.httpCompress' or one of its dependencies. The...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.