From: http://weblogs.asp.net/scottgu/archive/2011/02/22/mvcconf-videos-available.aspx
Below are links to free recordings of the talks that you can watch (and optionally download ):
Scott Guthrie Keynote
The nuget-y goodness of delivering
1. Directly reference system. Web. Extensions. dll and change the copy local property to true.
2. Modify the Web. config file
Add the following code to configsections:
Indexof-search function int string. indexof (string value); returns the position of the first occurrence of the substring in the string, starting from 0. If no substring is found,-1 is returned. Int string. indexof (string value, int startindex);
Category
Use Technology and Comparison
Description
Set Operations
Array, generic, arraylist
After testing, the fastest speed is the speed, then the generic type, and the slowest is the arraylist
String Optimization
From: http://www.cnblogs.com/ndxsdhy/archive/2011/07/10/2102124.html
1. Download The ckfinder package and put it into the website http://ckfinder.com/
2. Delete the _ samples and _ source folders (sample files and uncompressed source programs) in
This note is divided into three parts: ninject (dependency injection container, which is described earlier. If you pass by here for the first time, you can take a look at my previous notes ), nunit (Unit Testing Tool) and Moq (used to simulate the
Next, take notes from yesterday:
Add dynamic output for the first demo)
The key point of the entire application platform is to build dynamic output. In MVC, building data is the work of the controller, and rendering data as HTML is the work of the
Custom Routing System
Through the previous study, we can feel the flexibility and configurability of the routing system. If these cannot meet our needs, we can customize the behavior. Next we will introduce how to customize the routing.
Create a
The server object function in ASP is implemented by the httpserverutility class in ASP. NET. This type of instance is created when as. Net starts processing the request and then stored in the request context. Httpserverutility has a large number of
In ASP. ET 1. x, many friends may need to handle cross-page submission, that is, from page A can be submitted to page B, and even different control targets have different processing pages. Developers, especially those transferred from ASP, JSP, and
1. Why does the data binding control in ASP. NET 2.0 complete data operations such as update, deletion, and creation without writing code?
In ASP. net 1. x, databinder is used for DataGrid and other controls. eval (container. dataitem, "columnname")
I,Cache Overview
Since the cached data actually comes from the database, how can the cached data be synchronized with the database? In general, the cache should store data that is not changed much or does not require much real-time data. In this way,
A simple method is to directly write the server path of the server file to a linkbutton or hyperlink URL for the browser to complete the download. however, this is not flexible enough. You can only write every link during page_load, and directly use
1 prompt dialog box: response. write (""); 2. confirm that the cancel dialog box is in the page_load () event, add the property: button to the button that you want to display a confirmation prompt. attributes. add ("onclick", "Return confirm ('do
E2e testing is required at work, that is, the input is provided, and the output result can be verified. E2e seems simple, but the internal business logic is complicated. It is implemented in an automated manner and requires an understanding of the
In winfrom, we will use a component that overwrites the URL to implement pseudo-static, to provide a good experience and SEO. Now we want the URL to meet
1. Easy to remember and spell
2. Brief, reflecting the SITE STRUCTURE
3. You can remove the end
I have been doing winfrom for a while, and I haven't been doing Web work for a year. Now the project needs to be done with MVC. In the past, webfrom was used in several layers. However, the generated page is not disgusting.
ASP. net mvc applications
Private function bytes2bstr (VIN) 'string Function
Dim I, thischrcode, nextchrcode
Strreturn = ""
For I = 1 to lenb (VIN)
Thischrcode = ASCB (midb (Vin, I, 1 ))
If thischrcode Strreturn = strreturn & CHR (thischrcode)
Else
Nextchrcode = ASCB (midb
2006-11-26 22:21:38
Large, medium, and smallCause: the new system will be fully used. NET platform development, the previous two years of work are developed using ASP. if the cost is exceeded, the workload is huge, but the subsequent system
Your SQL statementString sqlstr = @ "insert into table (......) Values (......) Select scope_identity () as 'mynewid '";Execute SQLSqldatareader mydr = use the executereader method to execute your SQL statementGet IDMydr. getvalue (0). tostring ()
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