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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:18:53+00:00 2026-06-15T10:18:53+00:00

This requirement has come up due to an invitation feature where an existing ‘

  • 0

This requirement has come up due to an invitation feature where an existing ‘inviter user’ invites a new ‘invitee user’ (it is different to a normal email invitation system as the inviter must set certain roles on the invitee’s account, so the account must exist before the invitee reads the email and follows the link).

So following on from my previous question regarding calling the RegistrationService from my InvitationService, I’ve got the message forwarding aspect working. But now the RegistrationService seems to make an assumption that you are either creating a new user for the current session, or updating the current session’s user details.

This causes an issue for my invitation service, as rather than creating a new invitee user the inviter’s UserAuth is updated with the invitee’s details.

Now I can create a new InviteeRegistrationService, which will basically do exactly the same as RegistrationService except for that existing user check (well it will probably still do the existing user check but return an ‘already invited’ response instead), but I don’t really want to duplicate all that registration code and maintain the duplicate.

Is there any tricks/workarounds for this edge case? Or an actual feature that allows me to do this that I have missed?

  • 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-06-15T10:18:55+00:00Added an answer on June 15, 2026 at 10:18 am

    Since ServiceStack is all open source, if you have special requirements, you’re better off just taking a copy of the existing code and modify it to suit your needs. This is better than trying to abstract the RegistrationService so it tries to meet everyone’s requirements, which in-turn makes it harder to read and understand for everyone.

    Don’t worry about code-duplication, as you have different requirements – start with the code from the RegistrationService as a template and change to suit your needs.

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

Sidebar

Related Questions

A new requirement has come into an existing application. Current, we have an organization
A new requirement has come down from the top: implement 'proprietary business tech' with
I am having this particular requirement where a method has to be identified by
Take this following code from an example HR system. The user has the ability
This has come up for me a couple times in the last week and
This is a general question that has come up for debate. What do you
I think I've come across this requirement for a dozen times. But I could
While making my program i have come across this requirement that i have to
This requirement is just for simplicity for developers and beautiful code. I'm building a
I just read this requirement on a job listing: Aware of the pitfalls of

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.