I implement all Page construction in PageBase class inherited from Page class. aspx files seem to be "rudimentary" because they just have <@ Page> directive and that's all. Maybe HttpHandlers or HttpModules can solve this problem?
Yes, you can create a HttpHandler class directly, either mapping it in the web.config file or via a HandlerFactory (also in the web.config). Your app then consists of a dll in the bin folder ... if you wanted, you could even have all images and client scripts
embedded as resources too!
intesoft, thnx for reply. I know, that I can create my own HttpHandler, but then I wouldn't have an ASP.NET page. I mean that I wouldn't be able to inherit my pages from Page class that means have .NET. I'll have to implement my own framework (reimplement .NET).
As I understand HttpHandlers are very helpfull when you need some special request proceeding functionality: for .jpg files, for firendly url's, for etc. Maybe there is (I hope there is) some way to have both all ASP.NET features (except aspx) and custom HttpHandler?
None
0 Points
69 Posts
can ASP.NET page exist without .aspx file?
Jun 09, 2004 08:32 AM|Aidas|LINK
None
0 Points
110 Posts
Re: can ASP.NET page exist without .aspx file?
Jun 09, 2004 02:27 PM|intesoft|LINK
ASPAccelerator.NET - Fewer bytes, faster pages
ASPRedirector.NET - Put friendly URLs on your site
None
0 Points
69 Posts
Re: can ASP.NET page exist without .aspx file?
Jun 09, 2004 05:07 PM|Aidas|LINK
None
0 Points
301 Posts
Re: can ASP.NET page exist without .aspx file?
Jun 17, 2004 05:39 AM|Scott Galloway|LINK