Generic Handler in SubSonic

Last post 03-02-2008 10:25 PM by Zhao Ji Ma - MSFT. 3 replies.

Sort Posts:

  • Generic Handler in SubSonic

    02-29-2008, 1:09 AM
    • Contributor
      5,699 point Contributor
    • Pushkar
    • Member since 02-17-2006, 7:27 AM
    • Vibrant Gujarat
    • Posts 1,085

     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...?
     

    “ There is no great genius without some touch of madness. ”


    Remember to click “Mark as Answer” on the post If you get answer from my post(s) !

    Thanks Guys
    ------------
    Pushkar M Rathod
  • Re: Generic Handler in SubSonic

    02-29-2008, 3:00 PM
    • Participant
      1,040 point Participant
    • Andreas Paulsson
    • Member since 02-22-2008, 8:03 AM
    • Borås, Sweden
    • Posts 125

     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.

     

    Andreas Paulsson
    Software Developer
    cimkey AB
  • Re: Generic Handler in SubSonic

    03-01-2008, 1:01 PM
    • Contributor
      5,699 point Contributor
    • Pushkar
    • Member since 02-17-2006, 7:27 AM
    • Vibrant Gujarat
    • Posts 1,085

    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... 

    “ There is no great genius without some touch of madness. ”


    Remember to click “Mark as Answer” on the post If you get answer from my post(s) !

    Thanks Guys
    ------------
    Pushkar M Rathod
  • Re: Generic Handler in SubSonic

    03-02-2008, 10:25 PM
    Answer

    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>
           <
    add verb="*" path="*.rss"  type="handlername"/>

    </httpHandlers>
    </
    system.web>

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (4 items)