473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 1398
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.