Click here to Skip to main content
15,390,197 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I need to create a centralized email service with feature flag in .net . I have not used this before so I am not sure what's the best way to do it. I need to Sort dev/test emailing to email logging in user as an over-ride, (Example: emails to your line manager, go to yourself on test.) I need to move email into it's own service to use a feature flag based on the configuration to send all to the user. Can anyone guide me please. Do I need to create a new project or add pages to the current project

What I have tried:

not sure where to start. I alredy have a projt and I have to make changes in that
Richard MacCutchan 23-Jun-22 10:20am
"Do I need to create a new project or add pages to the current project"
Since no one here has any idea what your original project is doing it is impossible to provide an answer. This forum is for specific technical questions, so if you have problems with some actual code then you need to provide the details in your question.
Dave Kreskowiak 23-Jun-22 11:10am
Your "question" is so vague it's unanswerable with anything other than more questions.

What do you mean by "create a centralized email service"? What do you mean by "feature flag"? Are you creating these emails in your ASP.NET app? If not, what type of app in creating them and how does your main ASP.NET app communicate with this other app? Are the emails to be sent stored in a database? Message Queue? Other?
Gerry Schmitz 27-Jun-22 10:25am
One gets the vague idea that there is an existing email service that you want to update to handle "test" and "production" scenarios. In that case, you should examine the existing email related code in order to decide "where to start".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900