asp.net + Flex to realize network hard disk

Source: Internet
Author: User

The program architecture is simple to use flex as an application-side performance, asp.net as a logical service provider, and Flex uses Httpservice to invoke related services. Details do not say the program to mention all the source code can provide downloads, want more information about flex-related friends can download the source code to understand.

Briefly describe the flex logic interface definition and asp.net server-side logic:

Program Structure

asp.net:

///<summary>
       ///注册
       ///</summary>
        [ActionMapper]
        public class Register:Smark.Web.Action
        {
           
            public User User
            {
                get;
                set;
            }
            protected override void OnExecute()
            {
                IV.Check();
              
                User.Enabled = true;
                User.UploadSize = 10240;
                User.Save();
                System.IO.Directory.CreateDirectory (Untity.RootPath + User.UserName);
                base.OnExecute();
            }
            public Smark.Web.Actions.ImageValidate IV
            {
                get;
                set;
            }
          
        }

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.