"Debugging" I mentioned here has a wide range of meanings. When building a website, I use the following tools to verify that I have not made any mistakes.
7. HTML Spell Checker
Why does Visual Studio not have a built-in spelling checker? I don't know-I think this is incredible. However, fortunately, a free spelling checker is written by a former member of the ASP. NET
Community edition. Select the Community edition download. If you have already installed, you can skip this step.
Visual Studio Home Page Installer
Run the installer and select the following workloads:To run this installation package, select the following work item:
ASP. NET and Web development (Under Web Cloud)
An environment that needs to be checked
.
"
Because the model type is Dynamic, we only need to use @ model DateTime to define the mode.
Add the Partical view to the view of the Index as follows:
After running:
The following describes how to use the Child Cache attribute to check whether two outputs have the same time:
Running result:
4. The ViewBag
This is already described in the previous article.
5. New Action Results
There is a new Action Result in
Learning ASP. net mvc (7) -- my first ASP. net mvc query page, asp. netmvc
In this article, I will add a new query page (SearchIndex) that can be queried Based on the type or name of the book. The URL of this new page is http: // localhost: 36878/Book/SearchIndex. This page
ASP. NET Routing. NET Framework 4Updated: November 2007ASP. NET routing allows you to use URLs that do not have to be mapped to specific files in your Web site. Because URLs do not have to be mapped to files, URLs can be used in WEB applications that are descriptive user actions and therefore easier for users to unders
information is available in html nodes.
7. Custom Client Validation
The client verification method provided by the ASP. net mvc team is also highly scalable.
Example:
8. remote validation:
I will not explain the remote validation part. The article is long enough .....
Everybody can look at http://www.cnblogs.com/serafin/archive/2011/01/25/1944848.html.
I personally think the principle of remote valida
will appear. Macro ide looks like another Visual Studio 2008 instance. However, it is a development environment with more limited functions designed specifically for macro development.
You can create a bunch of macros by writing the VB. NET code module. Every public sub-user defined in the moduleProgram(Public subroutine) is exposed as a separate macro. For example, the super simple macro code in code listing 1 only displays a "Hello world !" The d
the. NET program.
C # complies with the operating rules of the public language in. net clr. CLS: common language specification. Of course, all. NET languages comply with this specification, such as VB. NET, XAML, and C ++/CLI.
C # must comply with. net cls because.
separately and registered in web. config.
The new version of ASP. NET 5 abandoned the heavyweight System. Web. dll and introducedMiddlewareConcept,MiddlewareThe official definition is as follows:
Pass through components that form a pipeline between a server and application to inspect, route, or modify request and response messages for a specific purpose.The Pipeline between the server and the application i
this. Indeed, variables are automatically declared before use. The advantage of PHP variables is that variables can be set to references of other variables. In VBScript, variables can only be defined by values.
'Vbscript Example
Option Explicit
MyVar = 1
Mythervar = myVar
MyVar = 2
'Myresult will be 3
MyResult = myVar + mythervar
%>
// PHP Example
$ MyVar = 1;
'Use the ampersand to make a reference
$ Mythervar = $ myVar;
$ MyVar = 2;
// $ MyResult will be 4
$ MyResult = $ myVar + $ mytherv
only over https, it is less likely to be intercepted and having the slidingexpiration setting to true will cause the timeout to be refreshed after each request which gives a better user experience.
PagesenableviewstatemacshouldbetrueVerifies that the viewstate Mac is enabled.
PagesenableeventvalidationmustbetrueVerifies that event validation is enabled.
HttpruntimeenableheadercheckingshouldbetrueVerifies that the system. web. httpruntime enableheaderchecking attribute is set to true. the settin
. The code separation page contains the code generated by the user and the designer.
ASP. NET 2.0 enhances the code separation mode by using local classes. The partial keyword can be used to separate the code of a single class into two independent files. It allows a class to span multiple files. In the new code separation mode, the content page is inherited from the compiled class. It consists of the corres
1. First, modify the folder attributes:
Resource Manager-> Tools-> Folder Options-> View-> remove the option for sharing simple files (the default is checked) 2. Choose folder> right-click and choose security> Add the read and write permissions of the Everyone user. ++ ++ Other methods: Install vs2003 in Windows 2003 and run the Web ApplicationProgramThe following error occurs: access to the path "D: \ windows \ Microsoft. NET \ framework \ v1.1.4322
Vs2003 is installed in Windows 2003. When running a web application, the following error occurs: "D:/Windows/Microsoft. net/framework/v1.1.4322/Temporary ASP. the access to net files/test/db58b339/50f84c0 is denied.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack tr
methods to determine whether this is a problem with the local network or whether your website goes down for everyone. I use a website called Host-Tracker.com to check the extent to which a website is down.
This is the result of Host-Tracker when the "Superexpert.com" website can be pinged from all over the world:
Note: Host-Tracker can ping the "Superexpert.com" website from 68 locations (including Roubaix, France, Scranton, and PA.
Debugging
The "D
it is within the cache validity period, the content is still read from the server cache.
Hazards
The strange behavior of ASP. NET cache makes you waste bandwidth resources without knowing it.
Feelings
After years of development with ASP. NET, The outputcache bug from 1.0 to 4.0 of
I am currently involved in a multilingual, multi-culture web-based project.To meet the needs of English, German, French, and other different languages and cultures.The database must meet both Oracle and MSSQL requirements.Although we use ASP. NET, I don't think it is an authentic ASP. NETWe only use several feature items, many of which can be said to be
install ASP. NET on a server running Windows Server 2003
1) From the Start menu, click Manage Your server, and in the Manage Your Server window, click Add or Remove Roles.
2) In the Configure Your Server Wizard, click Next, and in the Server Roles dialog box, select Application Server (IIS, ASP. NET), and then click
the password again, click OK again.
5. Create a Web site
(1) Right-click the "website" and choose "New-Website". The welcome page is displayed. Click "Next" to continue.
(2) site description: hebcai.com. Click "Next" to continue.
(3) The website IP address is "192.168. 5.254", the TCP port is 80, the host header is "www.hebcai.com", and click "Next" to continue.
(4) Select "D: \ Web \ hebcai.com" as the main directory path, and click "Next" to continue.
(5) For Website access permissions,
personally think that written more thorough ASP. NET MVC article, so reproduced over, the original link in the last:ASP. NET vs MVC vs WebFormsMany of the ASP. NET developers are beginning to touch MVC and think that MVC has nothing to do with
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.