Web-page programming with no-write-on-screen, Internet API, Web service, WCF service

Source: Internet
Author: User


Customers have a system, often to connect with us, query data
The previous practice is to give each other an account, so that he can connect with our db to query.

So, early colleagues, really give them db link strings
Customer's Windows programs, websites really rely on such a dangerous way, connected to our company's db.

But I think it's dangerous, and ...
If the other side of the SQL command chaos, the effectiveness of the worse, it is not miserable?
If the other side is not careful, the configuration file is stolen, see our DB Connection string how to do?
The internet didn't have that much bandwidth a few years ago, so there are restrictions that prevent them from querying too much data at once.


After I took over, I switched to Web Service (WS-*) to do it, and I've introduced several articles before.
I didn't think flash eyes were seven or eight years past.

Full of interesting, the previous years, my site traffic or the highest point of view is--search "web service" this keyword and connected to my site

Get started with Web service #1, compose a Web service through vs 2005/2008/2010
Https://www.dotblogs.com.tw/mis2000lab/archive/2008/09/26/webservice_1.aspx

The customer then imported the telephone voice card (CTI)

Is that we call the bank, the credit card company, the telephone voice system will ask you to do this:
Press Next to help you check the bill amount
Press two to help you do XYZ and so on
Press Nine to connect you to someone.

You beat me up, I won't, I don't understand CTI telephone voice card, telephone switchboard.
So how do I work with the vendors? How is the data exchanged?

Manufacturers ask me: Will sockets, can be chained to each other?
I won't.

I asked him: can your CTI connect to the network? Can I send and receive web information?
The manufacturer said yes.

So, through the Web service to do today.

Last year, the system was changed to an interface between mobile apps (cell phones and lithography).
What about me? How do I fit in with the changes?

No, I completely nothing to do, daze, and so the manufacturers write, and I test just
And then it's online.

And then, somehow, into this lineage. A set of functions for moving into operations
The boss is happy to show off with others.
(I didn't do anything, what happened?) Everyone is happy, including: I, partners, bosses, customers)


A few days ago, a university teacher chatted with me, said that now Popular front-end technology, everyone is doing mobile app
He worried: With the picture, who will feed the information? Who is responsible for providing the data to these apps?
(meaning: Everyone is engaged in mobile phone apps, mobile games.) Swarm, as if no one wanted to do backend, database program)

I told him, that's good. If no one is doing it, do it for me.
Anyway, I'm not interested in front-end technology, I just concentrate on digging data, transmitting data, and providing them (various front-end technology) data bar

They (various front-end technologies) are responsible for the "picture" display
I'm in charge of "data access."

It's great, everyone has a job.
And unlike before, the screen does not look good, color, UI ... The other side ggyy long time, but that is not my specialty, I can not meet each other's aesthetic

Finally with the annoying "picture""ui" out of the
I was relieved.


This means that I do not have to answer the END user's complaint phone, and then they call to complain, at most, I give the data is wrong
(Although the data is wrong, it is very serious, but at least I am familiar with this piece, better catch the problem)

User never complains about "picture" problems, font size, UI, or bad looks
(Front screen of the beautiful ugly, I can not help)

It was strange to write an ActionScript program that produced flash animations and air,
How are their programs not linked to the database section?

It was later discovered that they handled it through a Web service, so that "picture" was "picture", "Data source" to "data source".
In fact, the distinction is very clear.

I used to say we wrote "Web".
Later, I can say that we are providing "data", providing "service"

Web SERVICE/WCF Service/webapi saved our lives and continued our life cycle of the Web program.

Related articles:

Getting Started with WCF #2--Compose your first WCF program
Https://www.dotblogs.com.tw/mis2000lab/archive/2010/09/16/wcf_02_diy.aspx

[Introductory Example] ASP. NET Web Service (asmx) and JQuery AJAX
Https://www.dotblogs.com.tw/mis2000lab/archive/2015/05/19/jquery_ajax_web_service.aspx

Web Services Development Combat: Using ASP. NET Web API 2
Http://blog.kkbruce.net/2014/01/web-service-develope-use-aspnet-web-api-2.html

Web-page programming with no-write-on-screen, Internet API, Web service, WCF service

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.