[ASP.NET Core] use the most familiar Session authentication scheme

If you have written about ASP or PHP before, I believe you are familiar with Session based authentication (in fact, it is handled in combination with cookies on the browser side). This verification method is relatively early and the operation is not complicated. a. The user opens (or automatically jumps to) the login page, enters your name and ...

Posted by VBAssassin on Wed, 26 Jan 2022 17:24:05 +0100

Based on ASP.NET+C#+MySQL Software Developer Performance Evaluation System

Catalog 1. Main functions 2. Development environment 3. Database Structure 4. Design and Implementation 4.1 Login and Registration 4.2 person information modifications 4.3 Background Notification Management 4.4 Mail Sending 4.5 Evaluation Management 1. Main functions 1. Implement the basic function of adding, deleting, and check ...

Posted by Fuzzy Wobble on Sat, 22 Jan 2022 16:41:59 +0100

. net core -- compiling C# code with roslyn

catalogue Introduction to Rosyln Compile c# text as dll in real time 1. Add the PreserveCompilationContext configuration 2. Reference package 3. Get the compilation reference dll by using {DependencyContext} Complete example Reference test library summary Footnotes   Introduction to Rosyln Rosyln1{yes NET Core and NET 4.6 +, which ...

Posted by John_S on Tue, 18 Jan 2022 15:15:41 +0100

C # using ASP Net core to develop student management system

With the progress of technology, cross platform development has become a standard configuration. Under this background, ASP Net core also came into being. This paper mainly uses ASP Net core to develop a student management system as an example, this paper briefly describes ASP Net core development, Previous article The article has done the logi ...

Posted by newjsguy on Sun, 09 Jan 2022 10:40:39 +0100

C # using ASP Net core to develop student management system

With the progress of technology, cross platform development has become a standard configuration. Under this background, ASP Net core also came into being. This paper mainly uses ASP Net core to develop a student management system as an example, this paper briefly describes ASP The common knowledge points of net core development are only for lea ...

Posted by HeinekenBeer on Wed, 05 Jan 2022 14:27:09 +0100

On Net Core backend unit test

catalogue 1. Preface 2. Why do you need unit testing 2.1 prevention of regression 2.2 reduce code coupling 3. Basic principles and norms 3.1 3A principle 3.2 try to avoid direct testing of proprietary methods 3.3 reconstruction principle 3.4 avoid multiple assertions 3.5 document and method naming specification 4. Introduction to com ...

Posted by abolmeer on Sat, 01 Jan 2022 19:41:26 +0100

Additional: Ajax summary; (add...)

explain: (1) The direct motivation for writing this blog: in[ SSM development book review network 12: Book List pagination and query 2: Book pagination query; ]Ajax request is required for book paging query; So, here is a brief summary; catalogue (1) For your first contact with simple Ajax, please refer to: (2) Then, as a plugin based on ...

Posted by gufmn on Sun, 26 Dec 2021 02:49:17 +0100

Multi tenancy using EF Core in Blazor server applications

catalogue Plant life cycle A method Put things in context Dependent life cycle transient event Performance description Many business applications are designed to work with multiple customers. Protecting data security is important so that customer data will not be leaked and seen by other customers and potential competitors. These applic ...

Posted by furiousweebee on Thu, 23 Dec 2021 09:23:30 +0100

ASP.NET MVC (II. Data transmission)

catalogue preface: 1. Data transmission 1.1,ViewData  1.2,ViewBag   1.3,TempData 2. Use of Session 2.1. How Session works: 2.2. Advantages and disadvantages of Session: 2.3. Session failure (do not set if not necessary): 2.4. Use of Session: 3. Set transfer and traversal: 3.1 traversal of set list 3.2 collection dictionary traversa ...

Posted by jayshadow on Wed, 15 Dec 2021 05:04:11 +0100

.NET 5 Error Accessing MSSQL in Docker

I don't know if you have Docker access to the MS SQL Server database in.NET Core/.NET 5, and if so, you will most likely encounter this error. 1 SSL version error Recently, some business services were refactored with.NET 5 in the company. Because the old system used MS SQL Server database, this refactoring also decided to continue. However, whe ...

Posted by sean14592 on Wed, 01 Dec 2021 20:21:33 +0100