website - ASP.NET webforms physical site structure with dynamic site map -


I have a little difficulty in trying to wrap my head around site structures. I have a large ASP.net site for which:

Administrators can see a user list, each user can have multiple accounts, and there may be several items for each account.

I can paint it as a breadcrumb mark to edit a particular item.

  User List & gt; Mr. Bob & gt; Accounts & gt; BOB77 & gt; Items & gt; Item 32 & gt;  
  • User list = All users
  • Mr. Bob = User selected by the user's administrator
  • Accounts = A list of user accounts
  • 12BOB = Administrator has selected an account named 12BOB
  • Item = A list of items contained in an account
  • Item32 = The
  • Edit = A task that the Administrator wants to do
  • I can see how this looks like if it is ASP.Net MVIS I was using the URL, but I'm sure how to use it in webforms and physical filesystems.

    I thought how I would guess the physical structure.

    • / user / user / edit. Espx <-
    • / user
    • / user / user / account to edit a user < / Li> - To edit an account / user / user
    • / user / user / acc / acc / items / iTam / Edit Espacks & lt; - To edit an item / ACC / ACC / ITEMS / default.aspx & lt; -

    Where can I read more about this kind of installation in a web application? Or, can someone direct me in the direction of an available project which has this type of layout?

    Thanks

    It sounds simple, but when you want to keep the logical structure And if you are considering every element for the structure, then it becomes very unclear.

    This is the URL format that came along. This session uses the string instead of the query string The query strings are used as parameters.

    By using this format I was able to create a sitemap provider, which interpreted the value of the query string and replaced the name of the nodes for that page.

    • User / account / default.aspx? UserID = 11111
    • User / Account / Edit.aspx? UserID = 111 and Account ID = 54353
    • User / Account / Item / Edit.aspx? UserID = 3333 and accountant = 43243 and item IDID = 432432

    I hope this helps you, if you are in a situation I was.


    Comments

    Popular posts from this blog

    sql - dynamically varied number of conditions in the 'where' statement using LINQ -

    asp.net mvc - Dynamically Generated Ajax.BeginForm -

    Debug on symbian -