Note that. NET Compact framework V3.0 will support WCF

Source: Internet
Author: User

Windows Communication Foundation (WCF), formerly called indigo, provides a unified framework for all distributed system technologies, making development of distributed systems no longer worrying about choosing a distributed implementation technology, its core is a set of service-oriented APIs. WCF is really a good thing!

At the beginning of this year, I participated in Microsoft developer Day 2006 with themes of Vista and office12. I learned about the advantages of WPF, WCF, and WWF. At the time of the question, I asked a question about WCF: "WCF does provide many exciting new features for the development of the desktop distributed application system, so far, I have not heard about how mobile devices support WCF. How does Microsoft plan to run it. NET Compact framwork mobile devices support WCF? ". At that time, there was no clear answer to this question, probably because there was no such news at that time.

Now Vista is coming soon to be released. It may take a few days, right? In recent months, I began to learn about WCF, SOA, and Web Service software factory (wssf) (I feel very backward, and I am very ashamed of it -_-). It is understood that SOA proposes a new idea for designing enterprise-level application systems. Some of the principles are used to guide the development of application systems and facilitate integration with other systems in the future, this improves the reusability of the application system. Both the WCF and wssf architectures follow the SOA model. (Khan ...... Correct the problem immediately, causing an occupational disease or an occupational disease ......)

Let's get down to the point. Today we are going to show you how the next version of. NET Compact framework will support WCF. Today, I learned some messages from Roman batoukov's blog .. Since the release of netcf team V2.0, netcf team has been busy planning and developing the next version V3.0. One of the important tasks is to streamline the desktop WCF framework and port it to a mobile device, that is,. Net CF V3.0.

They are all thinking about the applications that people will use WCF to develop.ProgramLater, they thought of the scenario "Lunch launcher. For example, there are several colleagues in the company who often have an appointment with which restaurant to eat at noon. they vote to make decisions. Since they may not usually be at their desks, they want to use Windows Mobile devices to use the company's wireless network or GRPS/CDMA network to vote. Therefore, they need such an application. First, one of their colleagues sends a voting invitation to other colleagues. The invitation comes with a list of restaurants. Other colleagues vote after receiving the invitation, send the voting information to the invited colleagues, and then send the voting result to other colleagues.

It is not easy to implement this program. First, how can one device find another device? The IP address of the device is unstable and cannot be found. Therefore, it is doomed that messages cannot be transmitted in the push mode (P2P). Secondly, the network connection of the device is unstable. When you want to send a message, the other device may be offline. These problems are common headaches for developing Windows Mobile distributed applications.

Is there a technology that can solve the above two problems? Of course, otherwise there is no need to write ^_^ in this essay. We often send emails. Even though the network communication software is very powerful, we still cannot leave email. How does it solve the above two problems? First, the email address is actually a unique identifier, which can be used to solve the device location problem, instead of the IP Address Identification Method. Second, when you send an email to someone, he does not need to be online. When he is online, the mail client (such as outlook) will soon receive the mail you sent. Both problems are solved.

So much, what is the relationship with WCF? WCF supports multiple transmission channels (such as HTTP, TCP, and email), and supports customization. In the desktop version of WCF, email transmission channels are not provided by default, but some of them have already been implemented. However, from the above analysis, the e-mail transmission method is very important for Windows Mobile devices. In WCF compact edition, email is used as a built-in transmission channel. It is recommended that, in good network conditions, you do not need to use email. You can use it as a candidate solution or as a lightweight notification mechanism, trigger SQL Server everywhere for RDA/merge replication for data synchronization.

 

We can use exchange server to store mail data and access mail data through the Web service provided by exchange.
 

For more information, see Ramon's windows Communication Foundation (compact edition) and the story of the lunch launcher. NET Compact framework V3.0

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.