ASP. net mvc development: essential knowledge for Web project development, mvc Project Development
Recently, I worked overtime to complete a Web project and used Asp.net MVC for development. A long time ago, I was a newbie in Asp.net development, Aspx, Razor engine, and MVC development.
For beginners, how many knowledge points should be mastered in advance for Asp.net MVC development to achieve smooth development?
The following is a summary of some knowledge points after the end of this development. There will be no major problem in the development of large-scale Asp.net MVC projects with the following knowledge points. General Knowledge Point Outline
- Code Specification
- Previous View
- Backend
1. Code Specification Good standards can make the team more efficient!
- C # Use StyleCop to check code
- SQL standard tool integer
- JS specification ESLint, JSHint, JSLint tools
- HTML Tag Specification
- Resource Name specification _W0001: Warning ,_E0001: Error ,_C0001: OK
2. Front-end View Basic knowledge.
- Razor
- Htmlhelper
- Html + css + div
In the future, we need to strengthen the design path.
- Image
All kinds of pictures used by the project need to be designed and cut by the artist.
- JS script
- ViewModel
- Paging
The data capacity must be measured in one-time Select or paging Select.
- Search
It is complicated to search for data, such as simple fuzzy match or others.
3. backend Process the input in the previous section.
- Controller
- Data Service
Service
Repository
- ORM
- Entity Framework
DB First or Code First development mode. EF provides the ability to convert data from a data set to a data set.
- Dapper
For the Connection extension, only the conversion from the dataset to the Model is provided, and the performance is good.
Entity
- Exception
IIS exception
- Application_Error
- ErrorController
Action exception
- Log
Difficulties
- JS script
- Custom Validation
- Exception Handling
- Data Processing
Web development is basically based on these knowledge points, hoping to help new users!