Code prompts about ASP. net mvc Framework Implementation Method in Chinese

Source: Internet
Author: User

I just got in touch with ASP a few days ago. net MVC Framework, found that the Code prompts in the framework such as classes, methods, and attributes in vs2008 are in English, I personally feel very inconvenient to use, I do not know how everyone feels, after some research, I finally found that the Chinese method is actually very simple. There are two files in the "assemblies" folder of the MVC installation directory: 1 and system. web. MVC. DLL (MVC assembly) 2. system. web. MVC. XML this file is an XML file, which can be opened with notepad. Of course, it is best to open it with va2008. The following is the price after opening:

 

<? XML version = "1.0"?>
<Doc>
<Assembly>
<Name> system. Web. MVC </Name>
</Assembly>
<Members>
<Member name = "T: system. Web. MVC. tempdatadictionary">
<Summary>
<! -- Represents a set of data that persists only from one request to the next -->.
Represents an array
</Summary>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. # ctor">
<Summary>
Initialize a new example <see CREF = "T: system. Web. MVC. tempdatadictionary"/> class.
</Summary>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. # ctor (system. runtime. serialization. serializationinfo, system. runtime. serialization. streamingcontext)">
<Summary>
Initialize a new example <see CREF = "T: system. Web. MVC. tempdatadictionary"/> class.
</Summary>
<Param name = "info"> the info. </param>
<Param name = "context"> the context. </param>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. Load (system. Web. MVC. controllercontext, system. Web. MVC. itempdataprovider)">
<Summary>
Load a specified controller context.
</Summary>
<Param name = "controllercontext"> the Controller context. </param>
<Param name = "tempdataprovider"> the temp data provider. </param>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. Save (system. Web. MVC. controllercontext, system. Web. MVC. itempdataprovider)">
<Summary>
Stored in the Controller context of the specified range.
</Summary>
<Param name = "controllercontext"> the Controller context. </param>
<Param name = "tempdataprovider"> the temp data provider. </param>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. Add (system. String, system. Object)">
<Summary>
Adds an element with the provided key and value to the <see CREF = "T: system. Collections. Generic. idictionary '2"/>.
</Summary>
<Param name = "key"> the object to use as the key of the element to add. </param>
<Param name = "value"> the object to use as the value of the element to add. </param>
<Exception CREF = "T: system. argumentnullexception">
<Paramref name = "key"/> is null.
</Exception>
<Exception CREF = "T: system. argumentexception">
An element with the same key already exists in the <see CREF = "T: system. Collections. Generic. idictionary '2"/>.
</Exception>
<Exception CREF = "T: system. notsupportedexception">
The <see CREF = "T: system. Collections. Generic. idictionary '2"/> is read-only.
</Exception>
</Member>
<Member name = "M: system. Web. MVC. tempdatadictionary. Clear">

Take one of the nodes as an example:

<Members>
<Member name = "T: system. Web. MVC. tempdatadictionary"> // Class Name
<Summary>
<! -- Represents a set of data that persists only from one request to the next --> // This is the detailed explanation of this class (which has been commented out by me)
Represents an array // here is a detailed explanation translated by Kingsoft.
</Summary>
</Member>

 

 

Because I am not a bad E-Wen, I hope e-wen can translate this file for the benefit of programmers. Haha!

Finally, let's talk about how to use the Chinese system. Web. MVC. xml file. It's easy to overwrite the original file (we strongly recommend that you back up system. Web. MVC. xml before overwriting ).

 

Since I am not familiar with MVC, I do not know whether the method I have mentioned is feasible. I hope you can give me more advice!

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.