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 1015545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:25:00+00:00 2026-05-16T10:25:00+00:00

I ve seen in twitter, i can get a user view page by just

  • 0

I ve seen in twitter, i can get a user view page by just typing in the url say http://twitter.com/pandiyachendur. How to do the same with asp.net mvc? I dont know how twitter does it?

  • 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-16T10:25:01+00:00Added an answer on May 16, 2026 at 10:25 am

    You need to be careful about the order in which you declare your routes. Since there is no common element to a /{username} URL, you need to declare it as the last ‘catch-all’ route, after all of your specific routes.

    RouteTable.Routes.MapRoute(null, "LogIn", new { controller = "Account", action = "LogIn" });
    RouteTable.Routes.MapRoute(null, "LogOut", new { controller = "Account", action = "LogOut" });
    // ... other routes go here ...
    
    // Final catch-all route to map /{username} to the Account.Details action.
    RouteTable.Routes.MapRoute(null, "{id}", new { controller = "Account", action = "Details" });
    

    It’s also worth remembering that you need to extend your validation on usernames to prevent people from choosing names that conflict with the specific routes (e.g. LogIn).

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

Sidebar

Related Questions

The output can be seen here: http://4playtheband.co.uk/twitter/example.php An example post is : Array (
I'm sure all must have seen Twitter application for android. How can i show
I am using Twitter's own Search Widget (Which can be seen here ) on
I'm trying to replicate the functionality i've seen on a couple of sites: http://todaslistas.heroku.com
Is there a twitter API that returns mood? I have seen some websites that
Seen many other similar questions like this on this website and i would say
I've seen a few references that say there is WSGI middleware to do it,
I have implemented a custom list view which looks like the twitter timeline. adapter
I'm using the Twitter search api to search for a keyword so I can
Since I've seen some pretty fun things done with social networking apis (The twitter

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.