Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > .mspx extension

Reply
Thread Tools

.mspx extension

 
 
=?Utf-8?B?bWVuc3V1cg==?=
Guest
Posts: n/a
 
      03-04-2006
hi,

i just wanted to know, what is the difference between a .aspx and a .mspx
file? i cant create .mspx files in VWD express. is that important?
--
mensuur
 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      03-04-2006
You can create any extensions you want, in ASP.NET 2.0,
and have them processed by the ASP.NET engine just as if
they were files with the aspx extension.

All you need to do is edit your web.config file to include this :

<compilation>
<buildProviders>
<add extension=".mspx" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
</compilation>
<httpHandlers>
<add path="*.mspx" verb="*" type="System.Web.UI.PageHandlerFactory" />
</httpHandlers>

And , of course, add the .mspx file type in the "configuration" option
for the specific application in the Internet Service Manager.

You may want to uncheck the "Verify that file exists" option.

That's all I did to allow the mspx file extension at :

http://asp.net.do/test/version.mspx



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================

"mensuur" <> wrote in message
news:71AEF439-8E21-4D44-9BC9-...
> hi,
>
> i just wanted to know, what is the difference between a .aspx and a .mspx
> file? i cant create .mspx files in VWD express. is that important?
> --
> mensuur




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newWizards as an extension and extension point? Elhanan Java 0 01-23-2007 08:11 AM
How to convert a .txt file extension to a .xls file extension? Steve ASP .Net 3 08-25-2006 05:43 PM
New extension? saw extension .emf is it safe to open Jer Computer Support 5 10-08-2005 04:43 PM
C extension=> pow(2,1) gives DIFFERENT answers in different parts of C extension!?!?! Any ideas why? Christian Seberino Python 3 02-05-2004 04:36 AM
Unload extension modules when python22.dll unloads... [using C extension interpreter] Anand Python 3 11-08-2003 05:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57