Enterprise-level agile software development platform based on DOTNET component technology-agileeas. Net-session

Source: Internet
Author: User
Tags dotnet

A session is literally a conversation. How can we understand it in our system? A session is an interaction.ProgramThe interaction between the client and the server is a session. The session survival and the client and the server are widely used in the software industry. sessions are very familiar to the Web, A session represents an interaction between a web server and a Web browser, based on a website (application, during the customer's browsing process, sessions provide some parameters on the client and server to browse the Web page. A session starts when the visitor browses the website and ends when the visitor leaves the website.

In agileeas. in the. NET platform, we use this session method to manage applications and lifecycles with customers (users). At the same time, we provide session-related resources for programs and customers, the concept of session is somewhat abstract. It is simply understood as the process in which the service system interacts with the calling customer at work. We call it a session, which can also be understood in the development process, smarteas.. net resource management platform is a server that loads and runs from a module to releases a module during the customer's (fast functional model) operation. In the same process, a session provides the connection information of both parties for the service and the customer, and the customer processes data based on the resources in the session.

We can understand agileeas in a very simple way.. NET platform sessions can be understood as agileeas.. NET platform, the session or application context provides the required resources (such as data environment and ORM accessors) for the application to run the system, and objects (such as ORM entities) based on the session object interface) by default, session resource running activity is used.

The following is the structure of the session class in the basic middleware:

Isession

System session interface, which is defined as follows:

The session interface defines the server and client, Session Context, and sessioncontex of the Session, and sessionresourcecollection ). It also defines the start method and end method of the session.

IServer

System session server interface, which is defined as follows:

IServer is the server end of a system session. It defines the server name, location information, and session set established on the server in the interface. One to N sessions can be established on an iServer, that is to say, the server can communicate with N clients simultaneously.

Iclient

System session customer interface, which is defined as follows:

Iclient is a client for system sessions. It defines the customer's name in the interface and the session and session parameter information held by the customer.

Isessionresource

System session resource interface, which is defined as follows:

Isessionresource defines the resources required to establish a session, the resource identifier of the resources in the interface, in the specific session resources (such as database connections, Orm accessors, etc) if this interface is implemented during the implementation process, session resources will provide users with access to relevant resources during the session.

Isessionobject

System Session object interface, which is defined as follows:

Isessionresource defines the session object generated on the session. The session object is a type of object that uses the session to survive and perform some functional operations. For example, you can use the database in the session resource to access the database connected to the resource.

 

QQ: 15118502

Link: agileeas. NET application development platform Introduction

Agile parallel development method of agileeas. net

Agile Software Engineering Lab

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.