locked
Want to Built like ASP.Net Forum RRS feed

  • Question

  • User571301025 posted

    This is my doubt.For example, select "Getting started" forum in asp.net site. It lists lots of threads.Whenever i click on the thread new page will be open. For example if i click a thread means it will opens a page "http://forums.asp.net/t/1535090.aspx" and if i click another
    thread means it will open other page "http://forums.asp.net/t/1535453.aspx".
    My question is for each thread is there asp.net team maintains separate pages like (1535090.aspx, 1535453.aspx etc). Whats the logic behind this one?
    Please explain. I'm also try to want built the forum like this. Is it possible to
    achieve in a small forum?  Please give ur valuable comments and urls to know more.

    Friday, March 12, 2010 7:23 AM

Answers

  • User1633968479 posted

    Francis,

     

    If you want to design your own forum, you need to understand there is a lot of work involved.

    Start with setting up a database-structure. You'll need several tables to hold:

    • user information
    • forums
    • topics
    • messages
    • ...

    Once you've setup your database you need to design the page to display all this information.

    This forum doesn't use different pages to display the different topics. All topics are shown in a single page something like: http://forums.asp.net/topics.aspx?TopicId=123456. The querystring makes sure the correct messages are shown. While using URL-rewriting you can display this URL in the browser like this: http://forums.asp.net/t/123456.aspx

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 7:36 AM
  • User-1034726716 posted

    It would take a lot of time, months or maybe years If you are going to build your own forum application from the scratch..It's not that easy to do.. I would suggest you use some open source application that are available. One option would be (http://www.yetanotherforum.net/) its open source, free and widely used. You can also refer to this post for another options:http://forums.asp.net/t/1335371.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 8:32 AM
  • User-952121411 posted

    Any Microsoft People can help on this one?
     

    While there are a lot of MSFT 'people' on this forum, I believe this site is actually built and maintained by a Microsoft Gold Partner company named 'Neudesic'.  If you want insight into any specifics on how this forum is built (and if they will tell you), you might want to try the following forum (this is where the site support staff monitors most often that I see):

    Feedback on this website:

    http://forums.asp.net/188.aspx

    In regards to building your own forum... I recommend not doing it from scratch.  There are plenty of free resources to help you with something like this, including ones offered from this site.  Take a look to the following Community Starter kit which includes full source code to show you how the forum piece works:

    TheBeerHouse: CMS & E-commerce Site Starter Kit:

    http://www.asp.net/Downloads/starter-kits/the-beer-house/

    "Forums with support for multiple categories, custom pagination, avatars and more"

    Hope this helps! Smile

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 18, 2010 3:09 PM
  • User-525215917 posted

    Building forums software like the one used here is not easy thing to do. To scale good you need very good architecture, component selection, optimization techniques etc. Systems like this doesn't born after couple of months - they evolve over versions. If you need such a powerful forum system then better buy it and save a lot of money (and time).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 19, 2010 4:04 AM

All replies

  • User1633968479 posted

    Francis,

     

    If you want to design your own forum, you need to understand there is a lot of work involved.

    Start with setting up a database-structure. You'll need several tables to hold:

    • user information
    • forums
    • topics
    • messages
    • ...

    Once you've setup your database you need to design the page to display all this information.

    This forum doesn't use different pages to display the different topics. All topics are shown in a single page something like: http://forums.asp.net/topics.aspx?TopicId=123456. The querystring makes sure the correct messages are shown. While using URL-rewriting you can display this URL in the browser like this: http://forums.asp.net/t/123456.aspx

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 7:36 AM
  • User-1034726716 posted

    It would take a lot of time, months or maybe years If you are going to build your own forum application from the scratch..It's not that easy to do.. I would suggest you use some open source application that are available. One option would be (http://www.yetanotherforum.net/) its open source, free and widely used. You can also refer to this post for another options:http://forums.asp.net/t/1335371.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 8:32 AM
  • User571301025 posted

    Thank you Johny and Vinz for your valuable comments. Johny i'm now understand how this ASP.Net forum worked.

    John and Vinz, I need to know one more thing. How the state is maitained in this forum. I hope in this they didn't use INPROC mode

    of session handling. may be they use OUTPROC mode of session handling in this forum. I don't have choice in my

    deploy site to use either of these modes. so i have decided to handle the session of the user using either HIDDEN FIELDS

    or COOKIES. which one is better? i knw these above 2 ways are easily tampered. But i don't have any other options.

    So please guide me how we can built an tamperproof session handling using HIDDEN FIELDS or COOKIES. I hope we can do

    it. Please give a good url or guide me in a right path.

    Thanks.


    Sunday, March 14, 2010 3:08 PM
  • User571301025 posted

    Any Microsoft People can help on this one?


    Thanks


    Thursday, March 18, 2010 1:46 AM
  • User-952121411 posted

    Any Microsoft People can help on this one?
     

    While there are a lot of MSFT 'people' on this forum, I believe this site is actually built and maintained by a Microsoft Gold Partner company named 'Neudesic'.  If you want insight into any specifics on how this forum is built (and if they will tell you), you might want to try the following forum (this is where the site support staff monitors most often that I see):

    Feedback on this website:

    http://forums.asp.net/188.aspx

    In regards to building your own forum... I recommend not doing it from scratch.  There are plenty of free resources to help you with something like this, including ones offered from this site.  Take a look to the following Community Starter kit which includes full source code to show you how the forum piece works:

    TheBeerHouse: CMS & E-commerce Site Starter Kit:

    http://www.asp.net/Downloads/starter-kits/the-beer-house/

    "Forums with support for multiple categories, custom pagination, avatars and more"

    Hope this helps! Smile

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 18, 2010 3:09 PM
  • User-525215917 posted

    Building forums software like the one used here is not easy thing to do. To scale good you need very good architecture, component selection, optimization techniques etc. Systems like this doesn't born after couple of months - they evolve over versions. If you need such a powerful forum system then better buy it and save a lot of money (and time).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 19, 2010 4:04 AM
  • User-37275327 posted

    try this link

    http://www.dmgforums.com/

    If you are planing to create huge forum like asp.net, i propose you to start it from 0. Because using open source forum might be helpful but something goes wrong it is hard to catch. I Propose you to get a good knowledge about underlying technology before start. 

    some are

    Global.asax and page, masterpage life cycle

    Application object, Page Object, Cache Object, Viewstate

    Handling session and its life cycle

    Rewriting URL (vanity URL)

    AJAX and  MVC 

    althogh how stmartly you create the forum, you will have serious of perfomance issues. Then you need know about web server configurations and database server configuration, Load balancing, Linking database servers etc.  

    Tuesday, March 23, 2010 8:58 AM