Introduction to the. net mvc Framework

Source: Internet
Author: User

BKJIA 《ASP. net mvc Framework video tutorial"

Recently, I have found many articles about the. net mvc framework, which are well written and profound. I have read about it today,

By the way, I made a small message book. Here I will share my experience and hope you can give us some advice. We will all learn and make progress together!

First, let me talk about how httphandler is handled,I have learned ASP. NET users may know that every page is actually an httphandler. I remember it was a huge deal when I first came into contact with the address ing technology, you must configure the path and ing rules in the configuration file, and implement Ihttphandler or ihttpmodule interfaces. for ASP. NET beginners may not be very easy, but now the mvc framework handles most of the tasks for us. We only need to write our rules, of course, this may be an additional feature!

Second, you do not need to write a separate class file for a page.Now, remember to write ASP. NET Program, due to ASP. the Code hiding page of the NET page is actually a class assigned to each page separately. It allocates namespaces in the form of folders, which poses a problem, when the website is released, many named irregular dll files will be generated. Later, we finally found out the rule that corresponds to a class for each page, and finally solved the problem of irregular dll names, I think this is a great deal of effort. but now the mvc Framework solves this problem for us, and the solution can be more thorough. It maps each page to a method in a class, as long as the class name and method name are matched, in addition, the post or get data submission methods have been greatly improved!

Third: When I first created the MVC project, I found it better adapted to the multi-layer development mode of ASP. NET.If you are not using a three-tier architecture or a multi-tier development architecture, it may be incredible to use the mvc development framework for development!

Fourth: it better integrates ASP. NET Ajax frameworkIn this way, you can use MVC + Ajax for more convenient and flexible development!

Fifth: in the ASP. net mvc framework, you can also drag tables to automatically generate models and other functions.

Its advantages may not be enough. You can only continue to study and conduct in-depth research on specific projects, because my computer has not been installed yet. NET3.5, so we won't be able to demonstrate specific projects for you tonight. This article can also be used as the next ASP. net mvc project development demo preface, due to the work relationship, the example of a three-tier architecture has no time.

  1. Technical expert comments ASP. net mvc 1.0
  2. ASP. net mvc Framework configuration and Analysis
  3. Practice ASP. net mvc helps understand Routing

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.