The following is my summary of the development practices of the. Net platform. The technical specifications here mainly refer to the code specification, database design specification, Com and. Net interoperability specification in the development process. The essence of practice is a summary of the technical practices.
I. Code specifications
A good code style comes from the same code specification. Code wit
ASP. net mvc 2 authorize-custom authorize implementation
This article is mainly reproduced. With this small example, you can easily customize your authorize permission control, because I do not know ASP very well. net webform's membership implementation mechanism does not dare to say whether the custom performance has passed. Currently, it is quite easy to use
corresponding values.
XML is used to store and transmit data, and HTML is used to display data.
4. String STR = NULL and string STR = "" indicate the differences.
A: String STR = NULL indicates that no memory space is allocated to it, while string STR = \ "\" assigns it a memory space of a null string. String STR = NULL: no string object. String STR = "" Has A String object.
5. Write an SQL statement: extract the 31st to 40th records in Table A (sqlserver, using the Automatically
ASP. NET: Like Web Form, or drag controls (1)ASP. NET: Like Web Form, or drag controls (2)ASP. NET: Like Web Form, or drag controls (3)ASP. NET: Like Web Form, or drag controls (4)ASP. NET: Like Web Form, or drag controls (5)
This
little clearer, for example:For example, to solve the problem of working for a water meter manufacturing company, using object-oriented implementationBreak into Objects first1. Get up. This is an object in which there are members (dressing, washing, brushing, eating)2. On the road This is the second object, there are members (vehicles, routes)3. To the post this is the third object, there are members (sign in)4. Work This is the fourth object, but al
The core version finally includes updateprogress, and fixes many mental bugs ...... Old Place download: http://ajax.asp.net/
There are also upgrade documents from Beta 1 (don't worry, there are only two pages ......) : Converting Microsoft ASP. NET Ajax beta applications to Beta 2 (available in Word format and in PDF format)
Ajax Control Toolkit also released t
ASP. net mvc File Upload tutorial (2). mvc File Upload
ASP. net mvc File Upload tutorial (1) We talked about simple uploads and precautions. When checking relevant information, I feel that there are still a lot of content involved in the upload, therefore, we will divide the upload part into several sections for processing. At the same time, we will also talk abo
Last night I studied componentart web. UI
ASP. NET control, which has been analyzed
The registration serial number. When the blog is opened, it will be published for sharing. By
Way, install the software according to the serial number below.
Source code :
1. menu for ASP. net 2.x-developer license serial = X4XWXG-XV4QL-FXD3
the entire development process.
? MicroSoft. NET Framework
MicroSoft. NET Framework is designed to make it easier for you to set up network applications and network services. Figure 2 shows the Microsoft. NET Framework of the system. A service built on the top of the operating system is the common language runtime t
Start with the code
Client request page client. aspx
Server. aspx code
Protected void Page_Load (object sender, EventArgs e){Response. Clear ();Response. Write ("Hello," + Request ["name"]);}
Execution result
Experience:
Callback Function writing
Function onCompleteCallback (executor, eventArgs)
Set POST request Server
Req. set_httpVerb ("Post ");
Put data inside Post
Var body = "Name =" + encodeURIComponent ($ get ("Text1"). value );Req. set_body (body );
The get and post methods in Form
operation before they can be added to the string. However, the packing operation has a great impact on the performance, because during such processing, a new object will be allocated in the managed heap, and the original value will be copied to the newly created object. The Value Type tostring method can be used to avoid packing and improve application performance. 2. Use the stringbuilder class The string class object cannot be changed. In essence
[. Net Object-Oriented programming advanced] (10) Serialization (Serialization) (2) Learn XML Serialization through Serialization of blog garden articles, blog Garden
[. Net Object-Oriented programming advanced] (10) Serialization (Serialization) (2) Learning XML Serialization through Serialization blog garden articles
, and BDDTest-driven development (TDD) has never been concerned about it. Recently, I have put it into practice. Simply put, I want to write unit tests and business code first. I 'd better google it myself. Domain-driven design (DDD) currently has two good books on the market, "Domain-driven design: the way to cope with software core complexity and the field-driven design and pattern practice have never been touched by behavior-driven design BDD;
never directly give a response as above. This is why I want to explain the security control flow.
If your asp. Net program uses authentication and authorization to restrict access to some resources. In this scenario, we need to clarify several things:
1. How to interpret a request for restricted resources.
2. If the request is a restricted resource, when can we determine when this request can dire
This program records
Introduced
Domain Layer
Application Layer
Infrastructure Layer
Web Layer
SPA MPA
Frameworks/libraries
Other
IntroducedIn order to reduce complexity and improve the reusability of code, adopting a layered architecture is a widely accepted technique.ABP follows domain driven Design, where there are 4 base tiers in DDD.
Presentation (presentation layer): Reference Application layer to provide a user interface.
net engine starts to initialize the configured HTTP module (httpmodules) one by one, and then calls the correct HTTP processing program and presents the requested resources, finally, return the generated tag to IIS and the request client, as shown in ).
IIS and ASP. NET are processing requests
For more information about httpmodules, see.
2. solution des
Spring. Net for distributedProgramThe support is obvious to all. In versions earlier than 1.3.1, remoting and WebService are well supported and have their corresponding parser. However, it does not provide perfect support for WCF. However, Version 1.3.1 includes the namespace parser function of WCF. After importing the xmlns: WCF = "http://www.springframework.net/wcf" namespace, you can use the configuration provided by the parser.
1. Create a WC
under MySQL.The above is because I participated in the EF docking MySQL project, this is my team and I took a few months to come to some of the summary, but fortunately we finally by modifying the MySQL.Data.Entity source code to solve these problems.In summary, other frameworks are not deterministic, but the level of support for each database in EF is very asymmetric.SummaryIn EntityFramework's 10-year development process, it began to develop rapidly, But back to EntityFramework6.1.3 (March 20
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.