This article to undertake the previous article, if you accidentally clicked in, suggested from the beginning of the full reading, the article content inheritance consistency.
Building the Netcore application framework of the actual combat Chapter series
I. Bitadmincore Framework version 1.0
1, 1.0 version refers to the minimum version, it has all the necessary functions of the framework, the function of the previous chapter has been introduced.
2, with the article to match, I will build a project on GitHub, in the form of branches to save each article at the stage of the source code. Go to GitHub
Second, login function
1, planning the functions we need, according to the basic principles of software is very useful, and then expand.
2, the most basic login function is the account number, password, verification code login.
3, Login to enter the home page, the first page can display the current user name.
4, we need a user table, there is a data in order to verify.
Third, functional decomposition
1, direct, a decomposition is not a lot of feeling.
Iv. Selection of Technology
1. How to keep the login status in the end? Use cookies to use the session?
2, technology selection, you can use the original as far as possible with the original. Net Core has the default Useauthentication implementation, so let's use it.
3, the system although help us to achieve, but the login process is actually more complex, do the framework best to understand the general principle. Our framework will also transform it.
After study, the system default login implementation does not support load balancing environment, we need to carry out the function extension.
This article introduces here, the next chapter continues to introduce the login module design, as well as the code implementation.
Construction of Netcore application Framework (IV): Bitadmincore Framework 1.0 Login function refinement and technology selection