Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6867395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:18:15+00:00 2026-05-27T03:18:15+00:00

In my ASP.Net project which I am currently trying to move to Composite I

  • 0

In my ASP.Net project which I am currently trying to move to Composite I have trouble with dealing with non-physical pages.

For the sake of simplicity, lets assume I have a webshop and each category in the database has its own url. (for example: /myshop/clothes)

In an ASP.NET project an url like this would be routed to a page Category.aspx that handles the request and reads the category content from the database.

Composite seems to be more focussed on “real” pages, what would be the best way to realize something like this? (especially the routing)

And: Is there a way to get these generated pages to work with modules like Navigation.Path for example?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:18:16+00:00Added an answer on May 27, 2026 at 3:18 am

    For Menu generation and bread crumbs you would need to handle it yourself, eventually using the SiteMap.Resolve event on the SiteMapProvider to dynamically hook-in your “non-existing” pages.

    Regards to routes, there is a functionality in C1, that parses the url into the first “real page” and hands you the excess part of the url that you can work with. Lets say /myshop was your shop-page, and a user requested /myshop/clothes, then it would still be /myshow that would be executed, and you would put code in there that would handle your categories.

    The code that would extract “clothes” on your “myshop” page would be Composite.Core.Routing.Pages.C1PageRoute.GetPathInfo(), and to instruct C1 not to throw a 404 error, you call Composite.Core.Routing.Pages.C1PageRoute.RegisterPathInfoUsage(), to let C1 know that “clothes” was a valid category.

    Read more about the API for it here.

    If you need to handle different situations for when a category is selected, and when a user just hits /myshop directly, you would set the MyShop page to use a specific template, and in there you would wrap the <rendering:contentplaceholder> element in a function that has some kind of else-if logic. If no category is selected, print out the content of <rendering:contentplaceholder>, otherwise do some lookups based on the category and print out some other content instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a ASP.NET MVC 3 project in which I have
Im currently trying to refactor a project(asp.net mvc) that doesnt have any separation at
I have an ASP.NET project which is a front-end to a database. In addition
I have an ASP.NET project which has already some custom fields in it's web.config
I have a Site.Master in my ASP.NET project which defines a HEAD section as
I have just recently got involved in a classic ASP.NET project which contains lots
I have a MVC3 ASP.NET Project in which I am using jQuery and KendoUI
I have an ASP.NET web application project which references another project called ModusCore (or
I am currently working on a ASP.NET MVC 3 project in which I need
In my asp.net project currently i have business logic and and data access code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.