Three web.config issues found by building a system framework

xiaoxiao2021-03-06  21

-------------------------------- --- --------------------------------

The three web.config issues found in the system framework, set a web system framework according to Microsoft's Duwamish7, although it is a ready-made frame, but it still encounters some annoying small problems, there are several of this web.config Ghost!

1. The built-in system framework is running, and what does not read the ApplicationConfiguration configuration section correctly, but my configuration section is completely Copy from Duwamish7, and yesterday? I don't remember how long I got, I tried myself that it impossible. I didn't come back. Finally, look at it, when you fight, a thought flash: ApplicationConfiguration? Is it too much? Change to AppCofiguration, try again, God! It was successful! gosh!

configsections>

2. It is also an error that is running the newspaper web.config, the comment is as follows:

- Database Type 0 - Access 1 - SQLSERVER ->

Because I am not familiar with this, I have been getting a long time.

<

! - ->

The comments included in the included cannot include "-" characters

3. Want to call a calendar control written by JavaScript on the page, with Chinese comments, including the JS files in the page, but one run, how can you load it normally, always report the "unbound string often" and other errors After a long time, I understand the ghost that is character set!

The character set configured in the web.config file is very important, that is, this:

If there is Chinese in the program, but Encoding is not GB2312, there may be a lot of inexplicable problems!

DUWAMISH7 learning notes (2)

Systemframework

project

The SystemFramework project is a project that can be directly portable to other programs, can be used directly without modifying or rarely modifying the code.

The project is mainly 3 classes.

1.

ApplicationConfiguration, APPLICATIONCONFIGURATION

class

This class is a configure class for the application level, implements the IconfigurationSectionHandler interface. That is the same as the previous DUWAMISHCONFIGURATION class. The main method is CREATE (), ONApplicationStart (), ReadSetting ().

If you want to use this class, you need to call ApplicationConfiguration.onApplicationStart (Context) in the Application_onstart event in Global.asax;

Public static void onapplicationStart (String myappppath) {

approot = myapppp path;

System.configuration.configurationSettings.getConfig ("ApplicationConfiguration");

System.configuration.configurationSettings.getConfig ("DuwamiShconfiguration");

System.configuration.configurationSettings.getConfig ("SourceViewer");

}

This method is universal calls the configurationSettingis.getConfig () method to call the corresponding CREATE () method through the corresponding parsing class in Web.config. This is the case if there is no corresponding configuration parsing class, you can call the system.configuration.namevaluesectionHandler class parsing, and getConfig ("SourceViewer") is the case.

2.

ApplicationAssert

class

This type is mainly used to help developers to conduct errors, logging, etc. There is mainly Check (), checkcondition (), generatestacktrace () three methods and LINENUMBER attributes.

[ConditionaAttribute ("debug")] is applied to check (), and generatestacktrace () methods, which can be called if the debug constant is defined.

3.

ApplicationLog

class

This type is mainly used for logging.

Definition Error (1), Warning (2), INFO (3), Verbose (4) Four TraceElevel Level Record Log Debugging and Tracking Information. Set it specifically in the configuration section of Web.config. All methods in this class are static methods, which is the main STATIC VOID WRITELOG (Level, MessageText)

If the written TraceLevel is not more than the level defined in the configuration, the corresponding debug is written, and the tracking information is written to the Windows event log in the Windows event log in the Windows event log in the defined level.

The constructor of the ApplicationLog class declares that the Private Static is initialized from the configuration file in the configuration file when the ApplicationLog class is called.

doubt:

1. Use System.Threading.monitor in static applicationLog () to ensure the security of multi-threaded operations. Why is the control of ApplicationLog to lock?

2. Certain types of understandings in the System.Diagnostics namespace are not very clear.

MSDN

help:

1.monitor class

MS-help: //ms.msdnqtr.2003feb.2052/cpref/html/frlrfsystemthreadingMonitorClasstopic.htm

2.System.diagnostics Namespace (provide specific classes to interact with system processes, event logs, and performance counters)

MS-help: //ms.msdnqtr.2003feb.2052/cpref/html/frlrfsystemdiagnostics.htm

Posted on Friday, December 17, 2004 11:27 AM

Duwamish7 study notes (3)

DataAccess

project

DataAccess project 4 categories: Books class, Categories class, Customers class, Orders class. All Idisposable interfaces are implemented. Database connection used to close the activity. This is an MS advocated a discoSe mode that releases the non-hosting resource. 19 chapters of the DISPOSE mode ".NET Framework Design (Revised)" "Automatic Memory Management (Garbage Collection)" has a brilliant discussion.

The class is encapsulated by calling the stored procedure, encapsulated SELECT, INSERT, UPDATE operations of 4 business objects.

The SELECT operation fills the corresponding inheritance from the DataSet's business entity class, and returns to the caller. The Books class and the Categories class have only SELECT operations.

INSERT and UPDATE Operate return to INSERTCOMMAND or UPDATECOMMAND objects via a private function. Call the private function in the external PUBLIC function to complete the corresponding operation. Insert, Update, SELECT operations in the Customers class, and the Orders class is only insert operation.

In the Customers class's LoadCustomerbyemail () method, there is a checkcondition () method for the ApplicationAnssert class.

ApplicationAnssert.checkcondition (data.tables [CustomerData.customers_table] .Rows.count <= 1, "Integrity Failure: Non-Unique E-mail Address", ApplicationAnssert.LineNumber;

doubt:

1. The data access layer feels the content of the business logic layer, usually such as loadcustomerbyemail () is written in the business logic layer.

2. Is there a need to abstract a base class that completely affect the database, and implements the operation of the bottom of the database? Instead of each class, such as: books, Customers, all over again, DISPOMMAND objects, DISPOSE mode?

Duwamish7 study notes (four)

BusinessRules

project

Customer

class

Long-term knowledge! In "Duwamish7 study notes (3), what is also written in the business logic layer.

Check or check! Each line, each column, including type and length, think about the verification of the project, really a little sweat!

/ / -------------------------------------------------------------------------------------------- ----------------

// Function Validate:

// Validates and Customer

// Returns:

// True if Validation Is Successful

// false if invalid fields exist

// Parameters:

// [in] Customerrow: CustomerData to Be Validated

// [OUT] Customerrow: Returns Customer Data. If Theree Fields

// That Contain Errors They Are Individually Marked.

/ / -------------------------------------------------------------------------------------------- ----------------

Private Bool Validate (DataRow Customerrow)

{

Bool isvalid;

Customerrow.clearerrrs (); isvalid = isvalidemail (Customerrow);

Isvalid & = isvalidfield (Customerrow, CustomerData.Name_Field, 40);

Isvalid & = isvalidfield (Customerrow, CustomerData.Address_field, 255);

Isvalid & = isvalidfield (Customerrow, CustomerData.country_field, 40);

Isvalid & = isvalidfield (Customerrow, CustomerData.Phone_field, 30);

IF (! isvalid)

{

Customerrow.RowError = CustomerData.INValid_fields;

}

Return isvalid;

}

All checks are called after passing, and the operational access layer will be called to operate, with use, so that the created Customers can be released immediately.

Using (Customers CustomersAccess = New Customers ())

{

Result = CustomersAccess.UpdateCustomer (CUSTOMER);

}

The following records a little knowledge

Set line error: Row.RowError

Set column error: row.setColumNError ()

Clear error: row.clearerrors ()

Regular expression of mail verification: regexp_isvalidemail = @ "^ / w ((- / w ) | (/.)) * / @ / W ((/.

2.Oorder

class

After reading the ORDER class, this layer is very good. This layer is true business such as CalculaTax (), CalculateShipping (), insertorder (). ??? Business logic layer When the package business operation method, it is very strict. The verification makes the system a very strong robustness. Sigh!

Question: DUWAMISH is just a small example of MS, there are very many objects in the actual large project, very and more complex business logic, can our code you can write?

Duwamish7 study notes (5)

BusinessFacade

project

The business appearance layer encapsulates 3 Class Customersystem, Ordersystem, ProductSystem, and directly calls the data access layer and the service logic layer class in the class, and the properties provide an interface to the Web layer. Interesting is that each class is named by system. Customer system? Order system? Product system?

Three classes in the business appearance layer inherit from the MARSHALBYREFOBJECT class to support remote processing. The interpretation of the MARSHALBYREFOBJECT class is:

"Allows access to objects across application domains in an application that supports remote processing."

"Application domain is a partition resides in one or more applications in an operating system process. Direct communication in the same application domain. There are two ways to communicate in different application domains: one is cross Application domain boundary transfer object replica, one is to use the agent exchange message. "

"MarshalByrefObject is based on the base class of objects that communicate across the application domain boundary by using the agent exchange message. Not from the object inherited from MarshalByrefObject, it will be across the object. The application domain boundary passes a copy of the object. "

"MarshalByRefObject object can be accessed directly in the boundaries of the local application domain. When the application in the remote application domain accesses MarshalByrefObject, the proxy will be delivered to the remote application. The call to the agent will be sealed back to resident Objects in the local application domain. "" When using the type of application domain boundaries, the type must be inherited from MarshalByrefObject, and because the member's member cannot be used outside the application domain, it is not allowed to copy objects. status."

The Customersystem class has a password to pass the .NET built-in encryption support for password protection, which can be easily used in our usual items.

doubt:

1. How do you explain how to name SYSTEM?

.

3. All classes in Common project are marked as [SerializableAttribute], marked as [SerializableAttribute] and inherited from the MARSHALBYREFOBJECT class to support remote calls, what is the difference between the two?

4. I feel abstracting the business appearance layer increases the complexity of the system and increases encoding amount.

DUWAMISH7 study notes (six)

Web

project

The web project is a business display layer of the DUWAMISH system, providing customers with access interfaces to the application.

1.pagebase.cs is the base class of each page, mainly to obtain the URL information of the page, gets or sets Customer and Cart information from the session, and renovates the onlineRROR () event of Web.ui.page. Capture page error, call ApplicationLog.WriteError () method Write the log.

2.ModualBase.cs Inherits from UserControl, and features the session to save Customer and CAT information.

3. The method and attributes of all shopping carts are encapsulated in the Cart.cs class. The CART class implements serialization and deserialization of the iSerializable interface to the ORDERDATA object.

4. DEFAULT.ASPX page There is no specific number of code, just a combination of controls. Default.aspx page enablesessionState = TRUE

5. ENABLEVIEWSTATE of all controls in BannerModule.ascx is set to false, but it can also be directly set directly on the control. EnableViewState = FALSE, the user control is not

EnableessionsState properties. The balnermodule data is almost rarely changed, so the cache is enabled, add the code at the top of the control:

"<% @ Outputcache duration =" 3600 "VarybyParam =" none "VarybyControl =" bannermodule.pathprefix "%>"

Duration indicates that the cache time is 60 minutes. VaryByParam = "none" indicates that the output cache is changed without the parameter value, and VarybyControl represents the PathPrefix for each request.

Perform an output cache. Note: If you use the VaryByControl property in the instruction, you don't need to include the VaryByParam property.

6.SearchModule.ascx is used to make a book query module, the code is very simple, the code of the relocation is very beautiful :)

Response.Redirect ((New StringBuilder))

.Append ("/ searchresults.aspx? Type =")

.Append (index)

.Append ("& fulltype =")

.Append (server.htmlencode (searchDropdownList.Items [index] .text))

.Append ("& text =")

.Append (server.urlencode (searchText)). Tostring (), false;

On such a series of string, there is a SRINGBUILDER, and there is the call to the server.htmlencode (), a server.urlencode () method, reducing unnecessary trouble.

7.SearchResult.aspx: Query results display page. Because the query page does not use the Customer and Order information, the enablesessionState of the page is set to False.

EnableViewState is also set to Flase.

Get incoming parameters in the Page_Load () event, generate query results. Some code is as follows:

IF (ISPostback)

{

//

// Avoid a Refresh Problem if the user has left the search

// String Empty by Running Last Search.

//

IF ((TextBox) Modulesearch.FindControl ("SearchTextBox")). Text.trim ()! = string.empty

{

Return;

}

}

// Other code

Can you directly put the Other Code into if (! Ispostback) {} "Avoid A Refresh Problem"?

8. CategoriesModule.ascx: Category Information Show module, because Categories information rarely changes, save the classification information obtained in the database to cache, set

The failure time is 60 minutes.

9.accountModule.ascx: Create or edit user accounts, creating or editing customers save in Session, facilitating and quickly getting and updating.

Creating a new customer information The password has passed through the layer encryption.

a. The user's password is consistent with the confirmation password.

b. Calculate the hash value of the password via sha1.comutehash

c. The resulting hash value is re-generated with the RNGCryptoServiceProvider to generate a length of 4 encrypted random numbers to generate a new byte array.

d. The new byte array calculates the new hash value and

e. Add the original encrypted random number again to get the encrypted password saved in the database.

Login

a. Get the user's email hash

b. Access the user to the database to encrypt the password

c. Get the original 4-bit random additive value

d. Generally, re-entered the current user input email hash value for hash calculation

e. The resulting hash value is compared with the encrypted password saved in the database.

Hash Note: The hash function is the foundation of the modern cryptographic system. These functions map any length of binary string to a small binary string (called hash value).

The encrypted hash function has such an attribute: it is impossible to calculate two different inputs through the hash algorithm. The hash function is usually used in digital signatures and maintaining data integrity.

The hash value is used as a unique value indicating a fixed size of a large amount of data. If the corresponding data matches, the hash of the two datasets should match.

A small number of data for data will generate unpredictable changes in a hash value.

10.ViewSourceModule.ascx: View the user control of the source code. There is also the relevant viewsource.aspx page and not included in the project.

The DOCS folder and each page or the extension of the extension called .src file, to implement the implementation code of the program running when the program is running. ViewSourceModule user controls also enable the cache declaration as follows:

"<% @ Outputcache duration =" 3600 "VarybyParam =" none "VarybyControl =" bannermodule.pathprefix "%>"

MSDN

help:

1. Page cache and user control cache

MS-help: //ms.msdnqtr.2003feb.2052/cpguide/html/cpconcachingmultipleversionsOfpageorControloutput.htm

MS-help: //ms.msdnqtr.2003feb.2052/cpguide/html/cpconcachingmultipleversionsofuserControloutput.htm

2. PageBase base class and modulebase base class have been used for sessions, why not use cache? What are the differences and their respective advantages?

Doubt: 1. When the query is redirected, server.htmlencode () and server.htmlencode () and server.urlencode (), what is the difference between the two coding methods? Can you use Urlencode () here?

2. The contents of the page display are made by HTMLENCODE () encoding.

3. Data for EnablePageCache configuration in applications in DailyPickModule.ascx

IF (duwamishconfiguration.enablepagecache)

{

// enable page caching ...

Response.cache.sexpires (duwamishconfiguration.pagecacheexpiresinseconds);

Response.cache.setcacheability (httpcacheability.public);

}

I don't understand, in bannermodule.ascx, categoriesmodule.ascx has the operation of cache, why don't you need to make judgments in these two places?

In addition, there is no impact on the Enable or Disable page Cache information in BannerModule and CategoriesModule? ?

Posted on Wednesday, December 22, 2004 4:09 PM

FEEDBACK

# Texas Hold EM 3/18/2005 6:45 PM Texas Hold EM

Please Check Some Helpful Info Dedicated to Party Poker

http://party-poker.vpshs.com/

Online Poker

http://online-poker.fearcrow.com/

TEXAS HOLD EM

http://texas-hold-em.fearcrow.com/

TEXAS HOLDEM

http://texas-holdem.vpshs.com/

Poker Games

http://poker-games.vpshs.com/

Free TEXAS HOLD EM

Http://free-texas-hold-em.vpshs.com/

How to Play Poker

http://how-to-play-poker.vpshs.com/

Poker online

http://poker-online.vpshs.com/

Texas Holdem Poker

http://texas-holdem-poker.vpshs.com/wsop

http://wsop.vpshs.com/

Pacific Poker

http://pacific-poker.vpshs.com/

Poker

http://poker.fearcrow.com/

TEXAS HOLDEM

http://texas-holdem.fearcrow.com/

Poker Tables

http://poker-tables.fearcrow.com/

Poker Rules

http://poker-rules.fearcrow.com/

Free Poker

http://free-poker.fearcrow.com/

Poker Hands

http://poker-hands.fearcrow.com/

World Series Of Poker

http://world-series-of-poker.fearcrow.com/

Free Online Poker

Http://free-online-poker.fearcrow.com/

Empire Poker

Http://empire-poker.fearcrow.com/

World poker tour

http://www.fearcrow.com/

Party poker

http://party-poker.fearcrow.com/

Poker Games

http://poker-games.fearcrow.com/

Free TEXAS HOLD EM

http://free-texas-hold-em.fearcrow.com/

How to Play Poker

http://how-to-play-poker.fearcrow.com/

Texas Holdem Poker

http://texas-holdem-poker.fearcrow.com/

Pacific Poker

http://pacific-poker.fearcrow.com/

Empire Poker

http://empire-poker.vpshs.com/

World poker tour

http://www.vpshs.com/

Free Online Poker

http://free-online-poker.vpshs.com/

World Series Of Poker

http://world-series-of-poker.vpshs.com/

Poker Hands

http://poker-hands.vpshs.com/

Poker Tables

http://poker-tables.vpshs.com/

Poker Rules

http://poker-rules.vpshs.com/

Online Poker

http://online-poker.vpshs.com/

...

# Party poker 3/18/2005 6:52 PM Party Poker

You May Find It Interesting to Check The Pages in The Field of Party Poker

http://party-poker.vpshs.com/

Online Poker

http://online-poker.fearcrow.com/

TEXAS HOLD EM

http://texas-hold-em.fearcrow.com/

TEXAS HOLDEM

http://texas-holdem.vpshs.com/

Poker Games

http://poker-games.vpshs.com/

Free TEXAS HOLD EM

Http://free-texas-hold-em.vpshs.com/

How to Play Poker

http://how-to-play-poker.vpshs.com/poker online

http://poker-online.vpshs.com/

WSOP

http://wsop.vpshs.com/

Pacific Poker

http://pacific-poker.vpshs.com/

Poker

http://poker.fearcrow.com/

TEXAS HOLDEM

http://texas-holdem.fearcrow.com/

Poker Tables

http://poker-tables.fearcrow.com/

Poker Rules

http://poker-rules.fearcrow.com/

Free Poker

http://free-poker.fearcrow.com/

Poker Hands

http://poker-hands.fearcrow.com/

World Series Of Poker

http://world-series-of-poker.fearcrow.com/

Free Online Poker

Http://free-online-poker.fearcrow.com/

Empire Poker

Http://empire-poker.fearcrow.com/

World poker tour

http://www.fearcrow.com/

Party poker

http://party-poker.fearcrow.com/

Poker Games

http://poker-games.fearcrow.com/

Free TEXAS HOLD EM

http://free-texas-hold-em.fearcrow.com/

How to Play Poker

http://how-to-play-poker.fearcrow.com/

WSOP

http://wsop.fearcrow.com/

Pacific Poker

http://pacific-poker.fearcrow.com/

Free Online Poker

http://free-online-poker.vpshs.com/

World Series Of Poker

http://world-series-of-poker.vpshs.com/

Free Poker

http://free-poker.vpshs.com/

Poker Hands

http://poker-hands.vpshs.com/

TEXAS HOLD EM

http://texas-hold-em.vpshs.com/

Poker Tables

http://poker-tables.vpshs.com/

Poker Rules

http://poker-rules.vpshs.com/

Poker

http://poker.vpshs.com/

Online Poker

http://online-poker.vpshs.com/

- Tons of interesdting stuff !!!

# Postermine 3/21/2005 6:05 am phentermine

In your free time, check some information dedicated to buy phentermine

http://buy-phentermine.ro7kalbe.com/

Phentermine

http://phentermine.ro7kalbe.com/

Slot Machines

http://slot-machines.vrajitor.com/

BlackJack

http://blackjack.vrajitor.com/

Online Casino

http://online-casino.vrajitor.com/

Casino

http://casino.vrajitor.com/

Phentermine Diet Pills

http://phentermine-diet-pills.ro7kalbe.com/

Online Diet Pills

http://online-diet-pills.ro7kalbe.com/

Order viagra

http://order-viagra.ro7kalbe.com/

Phentermine Cheap

http://phentermine-cheap.ro7kalbe.com/

Discount Viagra

http://discount-viagra.ro7kalbe.com/

TRAMADOL

http://tramadol.ro7kalbe.com/

Tramadol Online

http://tramadol-online.ro7kalbe.com/

ONLINE Levitra

http://online-levitra.ro7kalbe.com/

Reductill

http://www.ro7kalbe.com/

xanax

http://xanax.ro7kalbe.com/

Carisoprodol

http://carisoprodol.ro7kalbe.com/

Generic Viagra

http://generic-viagra.ro7kalbe.com/

Buy Viagra

http://buy-viagra.ro7kalbe.com/

Buy Phentermine Online

http://buy-phentermine-online.ro7kalbe.com/

cialis

http://cialis.ro7kalbe.com/

Viagra

http://viagra.ro7kalbe.com/

Casino Bonus

http://casino-bonus.vrajitor.com/

Betting

http://betting.vrajitor.com/

Slots

http://slots.vrajitor.com/

Craps

http://craps.vrajitor.com/

Casino Games

http://casino-games.vrajitor.com/

Video Poker

http://video-poker.vrajitor.com/

Casinos

http://www.vrajitor.com/

Online Casinos

http://online-casinos.vrajitor.com/

Slot

http://slot.vrajitor.com/

Roulette

http://roulette.vrajitor.com/

Black Jack

http://black-jack.vrajitor.com/

gambling

http://gambling.vrajitor.com/

Internet gambling

http://internet-gambling.vrajitor.com/

...

# Buy Phentermine 3/21/2005 6:12 AM Buy Phentermine

Please Check Some Relevant Pages About Buy Phentermine

http://buy-phentermine.ro7kalbe.com/

Phentermine

http://phentermine.ro7kalbe.com/

Slot Machines

http://slot-machines.vrajitor.com/

BlackJack

http://blackjack.vrajitor.com/

Online Casino

http://online-casino.vrajitor.com/

Casino

http://casino.vrajitor.com/

Phentermine Diet Pills

http://phentermine-diet-pills.ro7kalbe.com/

Online Diet Pills

http://online-diet-pills.ro7kalbe.com/

Buy Cialis

http://buy-cialis.ro7kalbe.com/

Best price viagra

http://best-price-viagra.ro7kalbe.com/

Phentermine Cheap

http://phentermine-cheap.ro7kalbe.com/

Discount Viagra

http://discount-viagra.ro7kalbe.com/

TRAMADOL

http://tramadol.ro7kalbe.com/

Tramadol Online

http://tramadol-online.ro7kalbe.com/

ONLINE Levitra

http://online-levitra.ro7kalbe.com/

Reductill

http://www.ro7kalbe.com/

xanax

http://xanax.ro7kalbe.com/

Carisoprodol

http://carisoprodol.ro7kalbe.com/

Generic Viagra

http://generic-viagra.ro7kalbe.com/

Buy Viagra

http://buy-viagra.ro7kalbe.com/

cialis

http://cialis.ro7kalbe.com/

Casino Bonus

http://casino-bonus.vrajitor.com/

Diet Pills

http://diet-pills.ro7kalbe.com/

Betting

http://betting.vrajitor.com/

Slots

http://slots.vrajitor.com/

Craps

http://craps.vrajitor.com/

Casino Games

http://casino-games.vrajitor.com/

Video Poker

http://video-poker.vrajitor.com/

Casinos

http://www.vrajitor.com/

Slot

http://slot.vrajitor.com/

Roulette

http://roulette.vrajitor.com/

Black Jack

http://black-jack.vrajitor.com/

gambling

http://gambling.vrajitor.com/

keno

http://keno.vrajitor.com/

Internet gambling

http://internet-gambling.vrajitor.com/

- Tons of interesdting stuff !!!

# Phentermine 3/23/2005 3:02 AM Phentermine

Please visit some information deted to online pharmacy

Http://online-pharmacy.buy-2005.com/

Diet Pills

http://diet-pills.buy-2005.com/

Phentermine

http://phentermine.buy-2005.com/

Buy Phentermine Online

http://buy-phentermine-online.buy-2005.com/

Herbal Viagra

http://herbal-viagra.buy-2005.com/canada pharmacy

Http://canada-pharmacy.buy-2005.com/

Phentermine online

http://phentermine-online.buy-2005.com/

Cheap Phentermine

http://cheap-phentermine.buy-2005.com/

Didrex

http://www.buy-2005.com/

Online Pharmacies

http://online-pharmacies.buy-2005.com/

Canadian Pharmacies

http://canadian-pharmacies.buy-2005.com/

Cheap viagra

Http://cheap-viagra.buy-2005.com/

Canadian Pharmacy

http://canadian-pharmacy.buy-2005.com/

Propecia

http://propecia.buy-2005.com/

Generic Viagra

http://generic-viagra.buy-2005.com/

Meridia

Http://meridia.buy-2005.com/

Ultram

http://ultram.buy-2005.com/

SOMA

http://soma.buy-2005.com/

PROZAC

http://prozac.buy-2005.com/

xanax

http://xanax.buy-2005.com/

TRAMADOL

http://tramadol.buy-2005.com/

cialis

http://cialiss.buy-2005.com/

Viagra

http://viagra.buy-2005.com/

Buy Xanax Online

http://buy-xanax-online.buy-2005.com/

Buy Xanax

http://buy-xanax.buy-2005.com/

Buy Viagra Online

Http://buy-viagra-online.buy-2005.com/

Buy Viagra

http://buy-viagra.buy-2005.com/

Buy Tramadol

http://buy-tramadol.buy-2005.com/

Buy Soma

http://buy-soma.buy-2005.com/

Buy Phentermine

http://buy-phentermine.buy-2005.com/

Buy Diet Pills

http://buy-diet-pills.buy-2005.com/

Buy Cialis

http://buy-cialis.buy-2005.com/

Buy Bontrol

http://buy-bontril.buy-2005.com/

Buy Ambien Online

http://buy-ambien-online.buy-2005.com/

Buy Ambien

Http://buy-ambien.buy-2005.com/

DUWAMISH7 Learn Notes (Seven)

to sum up:

I finally learned the six items of Duwamish more carefully, I feel more than the gain! :) Look at the code of the master, it is as good as a delicious coffee, the feeling is really good, it is full of praise.

1. The code is written very concise, and the work is.

2. The code annotation is very clear, in place.

3. The system has very good system structure, check, control, makes the system have very good robust, security, scalability.

4. Exceptions in the system are well controlled, unlike usual our projects, try, catch, scattered everywhere. 5. The system is fully configured with web.config, making the system easy and flexible configuration changes without changing the code.

6. The system is fully utilized for View, Session and Cache, making the system a good performance.

7. The system fully utilizes user controls, inherits such as page object technology, so that the code has better reusability.

Although because of the limited level, it is not enough, it is not fully understood, although it takes a few days, but I still want to say a word-value!

BTW: Actually, this is my second time I see Duwamisn7. It is probably an example of knowing this MS class a year ago, but I remember that I didn't understand it at the time. At that time, I would like to put down, etc. I have a certain DOTNET foundation. After learning, I practiced several projects, I will find that this example feels good to understand :)

After reading the learning note, then look at the information about duwamish7 in MSDN, and there is still too much thing that is not understood! Such as remote processing, distributed deployment, etc. If I say it again: Let's let go, wait a year, then learn, then study, will have new comprehension, new understanding! Learning is this, it is a gradual process, it can't be a squat. Of course, if it is not a year, but half a year, that is, it is a speed of speed :)

转载请注明原文地址:https://www.9cbs.com/read-42981.html

New Post(0)