ASP + Study Notes 4

Source: Internet
Author: User
V. asp + MyWeb applications
1). Overview
MyWeb is a new technology in ASP +. It allows an ASP + application to run on a machine without a WEB server.
IE runs internally and can run offline. Development is similar to application development on the server.
Allows the customer to install the tool as needed. This is called demand install.
When a user accesses a MYWEB application, ASP + first tries to find the application locally. If the application cannot be found
Myweb: download the application description (manifest) at the URL. If yes, download the entire application and install it locally.
Myweb is executed in the NGWS Runtime Environment (therefore, the NGWS runtime library must be installed on the client).
Storage system, you can also establish a connection to the site where the application was originally installed. They cannot access resources on the local machine,
And some COM Calls (this is somewhat similar to the APPLET in JAVA ).
2). myweb management tool
If IE55 is installed and NGWS runtime environment is installed, you can select "myweb" from the toolbar of the browser,
(The position is at the end of the toolbar, just like the tool added after the Kingsoft command is installed), or you can directly browse
Enter myweb: // in the address bar to access the MYWEB management tool.
There are two types of myweb applications: Remote and Local.
You can use a management tool to install a new myweb application, or directly enter the myweb URL in the browser address bar.
If the myweb application has been installed, the application will be started directly.
3). Develop a myweb application
Follow the steps below to develop an ASP server application and use the plug-in tool cabarc.exe to generate a cabfile, for example:
Cabarc-p-r n myweb. cab *. aspx *. html *. jpg *. css *. dll *. web
The manifest file is in OSD (Open Software Description) format and is named myweb. osd. For example:
<Softpkg name = "Demo1" version = "1.0">
<Implementation>
<Codebase href = "http://somewhere.com/myweb.cab">
</Implementation>
<Homepage> myweb: // somewhere.com/default.aspx <Iconurl> myweb: // somewhere. coom/icon.gif </Iconurl>
<RemoteIconurl> yun_qi_img/icon.gif </RemoteIconurl>
<Author> white </Author>
<Source> Beijing 123okey. Inc </Source>
<Size> 3000 </size>
</Softpkg>
4). Omitted
5). Independent storage space
Myweb cannot access the local file system, but can access the independent storage space (IsolatedStorage) provided by GNWS ),
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.