Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have a scenario where I have a server component/module and I have several clients which are using server for various functionalities. These clients can be a windows application, WPF application, smart device application or web application.

I want to create a validation service on server side for example when a client make a request with something, the validation service on server side should validate the request and should provide feedback to the client after validation.

Client can make many type of request lets say SaveProduct(Product product) or SaveEmployee(Employee employee) etc.

How should I design this kind of scenario, which design pattern should I use?

share|improve this question
Did you even google this? Look into Data Annotations – Benjamin Gruenbaum Jan 26 at 14:34
@BenjaminGruenbaum we don't know for sure that he's even using .NET – MattDavey Jan 26 at 14:51
@BenjaminGruenbaum I am using .Net but I can't use data annotation , I need to create my own validation service... – Praveen Jan 26 at 14:59
1  
Why? If you're using C# for server side with .net that would be the easiest option – Benjamin Gruenbaum Jan 26 at 15:03
What about using ServiceStack to create a web api for this? Also, maybe look at Django for membership authentication inspiration. – robrtc Jan 26 at 18:04

closed as not constructive by Glenn Nelson, Walter, Martijn Pieters, Dynamic, gnat Jan 26 at 20:37

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

Browse other questions tagged or ask your own question.