0 Meta expression Blend 4-chapter 19 How to make a good Blend Project Silverlight Web page

Source: Internet
Author: User
Tags silverlight

Original: 0 meta-study expression Blend 4-chapter 19 How to make a good Blend Project Silverlight Web page


This chapter will teach you how to make a well-crafted blend project into a Silverlight Web page that can be browsed by anyone on the Internet.

This chapter will teach you how to make a well-crafted blend project into a Silverlight Web page that can be browsed by anyone on the Internet.

It's been a long time since the last posting, but I am thankful that there are many friends who support me and encourage me

Even e-mail to me or use the blog page embedded MSN to knock me, to communicate with me about Silverlight and blend technology and knowledge

Very grateful to these predecessors and fellow (bowed)

I've been really busy lately, but I've been thinking about tribes. (Restriction > <)

So I took the time to send an essay.

Look back on the days of learning Silverlight and blend

Every day is full of ...

Because at night there are further studies, the progress of new jobs, and the parts of Silverlight are all on their own (with Google God)

But fortunately there are partners to study and discuss, really happy

The reason I wrote this introductory lesson today is because I think of the interesting things I learned when I was in blend: (The following is nonsense > <)

One day when I started to learn blend, Pyle novice I finally made a project

But what I'm worried about is finally happening!!! (because I usually think about it)

How do I turn a project into a Web page so everyone can see!!????? <----silly questions for Pyle beginners

This share is for friends who have just begun to learn blend.

< go to theme >

01

When creating a new project, there are a few options that let us choose

To make different properties of the project, you need to choose a different type I have already introduced in the previous article chatter ~

02

After finding the project's folder, the first tier will have the most basic items

Please click on the folder with the site four letters at the end of the file name.

(in the case of WPF, the file name is website)

03

After opening the folder, you can see: ClientBin, Default.html, Favicon.ico, Silverlight.js

(1) ClientBin:

Please note that the size of the. xap file in this folder, more than 200K, the general user will be on the Web page when the feeling of waiting

But in fact, according to the user's network bandwidth to determine the read time (according to statistics, the general user waiting for the Web page tolerance time is 7 seconds)

Very thoughtful Microsoft, often when we want to put the picture, will remind us that the file size of more than 250K, whether or not placed?

So I usually use an external link image when I'm making a project.

The XAML is as follows:

   1:<Gridx:name= "LayoutRoot"Background= "White"  >
2:             <Image HorizontalAlignment= "Left" VerticalAlignment= "Top" Width= "The " Source= "Http://japan.agentable.com/japanicetree/image/view/view_1.jpg" Height= "+"/>
   3:</Grid>

(2) Default.html:

This is the blend to help us preset. html file name, please note to change the filename Oh!

Try to avoid using defaulT as a file name

(3) Favicon.ico:

Such as

How to make icon, here I do not repeat

(4) Silverlight.js:

What is the. js?

Please see MSDN

04

Upload ClientBin, default.html, Silverlight.js

(Silverlight.js can be put, but I will put it together for the sake of insurance)

Once you're done, you'll be able to make it publicly available to all users of the internet!

This is the teaching of this article.

(if there is any mistake, please predecessors or friends can feel free, the young woman will be open-minded to accept; If you like my teaching, please give me some encouragement, thank you. )

Step-by-step towards the path of HIE

Like my article please push me or give me a response, your encouragement will give me unlimited motivation!

If you have other questions or special needs, please leave a message in the article response, I will reply you as soon as possible

0 Meta expression Blend 4-chapter 19 How to make a good Blend Project Silverlight Web page

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.