Groups > Asp .Net > HttpHandlers and HttpModules > Re: Generic Handler in SubSonic




Generic Handler in SubSonic

Generic Handler in SubSonic
Fri, 29 Feb 2008 09:09:26 +000
Hii...

 

i want to create GenericHandler in my Project...

Actually im using SubSonicTool.

 i have created one GenericHandler  but i cant use SubSonic inside...

 i have added reference too....using SubSonic;

i want some from My DB Product...

when i want to write like Sps.BrowseProduct it doesnt show anything....

 Can any say me how to use it with GenericHandler...?
Post Reply
Re: Generic Handler in SubSonic
Fri, 29 Feb 2008 20:00:56 +000
Could You post some code? 

What do You mean with GenericHandler? Is it an ashx file? I have a ashx file in
my latest project that streams files from database with Subsonic, so it seems to
work OK.
Post Reply
Re: Generic Handler in SubSonic
Sat, 1 Mar 2008 18:01:03 +0000
HI Andreasthanks for the Reply...well u getting right...i hav ashx file in
VS2005...actually im developing website in asp.net..i want create some RSSFeed
from BlogSection..so Can u please guide me how can i create RSSFeed from the
Blog..i try a lot but i coudnt succeed.....i m jst confuse on how to catch the
Blogdata from DB for the ASHX file & how to display it in a proper style...i
have mailed you for the Sample site...i have to create feed same like that
site...please Help me IF you can.....

Thanks in Adnvace...
Post Reply
Re: Generic Handler in SubSonic
Mon, 3 Mar 2008 06:25:56 +0000
Hi Pushkar,I'm not certain how your tool create the handler, basically you need
to map rss to your handler, like this:

<system.web>
<httpHandlers>
       <addverb="*"path="*.rss" 
type="handlername"/> 

</httpHandlers>
</system.web>
Post Reply
about | contact