Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Building a SMS/E-mail alert system in ASP.NET

Posted on 2011-10-21
5
Medium Priority
?
308 Views
Last Modified: 2012-05-12
I have the requirements to build a web site / web service that will

Read a notification from a text file in a folder (key) Look up in a cross reference table which phone is assigned to the key read Send an email or text to the phone the phone assigned

What would be the logic and the best way of implementing this? Would this be accomplished with regular asp.net page, or do I need a web services?

This a very general overview of the req. needed for this application , I hope someone can give a good starting point to build it. Thanks in advance.
0
Comment
Question by:TonyReba
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Pryrates
ID: 37010819
the question if a website oder a service is the best choice depends on how the application is used.

Are users accessing directly your application? Then a service will not be of any use, because there is no UI that a user can access.

If there are only "other" applications that "consume" your app, f.e. an already up and running website or a desktop application that will communicate with your app, then a service will be the better (or so to say: only) choice how to estabilsh your application.

Hope that was not too confusing.

What I would do:
- build a WCF-Service that does all the action (lookup in database, send out sms /email)
- build a website that communicates with the service as an UI.

Hope that helps :)
0
 
LVL 9

Author Comment

by:TonyReba
ID: 37017837
Hi , no GUI is required, the application or service will need only to watch any chnages in a file(s) and then look for a key to match with a lookup table, then send out a email , to the matching person.

Will a windows service be the best bet? How about Web Services? I have done small web applications in C#, how different is to build this kind of applciation?


Thanks
0
 
LVL 13

Accepted Solution

by:
Pryrates earned 2000 total points
ID: 37019828
With WCF you got the advantage of scalability of your application. So a WebService can be a good choice if you have some sort of client / server communication requirements.
"Classic" windows service do not scale that well, but do centralize information, too.
After all its a matter of requirements that will lead to a decision what technology will be best.

We prefer to establish client / server communication via WCF based TCP-Service-Endpoints only. No more windows services, though we use to let our WCF-Service run as a service ;).
Confusing?
Have a look here:
http://msdn.microsoft.com/en-us/netframework/aa663324
http://www.codeproject.com/KB/WCF/WcfBeginners.aspx
http://msdn.microsoft.com/en-us/netframework/dd939784

Hope that helps
0
 
LVL 9

Author Closing Comment

by:TonyReba
ID: 37019883
thanks will play around with it, good information!
0
 
LVL 13

Expert Comment

by:Pryrates
ID: 37020516
you are welcome :)
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question