ASP. NET architecture (HTTP request processing process)-part.1 Introduction
I have read a lot of ASP. net books and found that most authors have explained ASP. NET at a relatively high level. They patiently and meticulously tell you how to drag and
1. Date formatting method when data control is bound:
2. When using databinder. eval for Data Binding:Databinder. eval (container. dataitem, "addtime", "{0: yyyy-mm-dd }")
3. Use the tostring method to convert the date display format:Datetime.
Asp.net cannot create a website
Today, this disgusting thing happened. After searching for a long time, I began to think that it was a directory permission problem. Later, I gave the website directory users such as ASPnet and vsdeveloper
I have
Set the full address of the current page to: http://www.jb51.net/aaa/bbb.aspx? Id = 5 & name = kelli"Http: //" is the protocol name."Http://www.jb51.net/" is a domain name"AAA" is the site name"BBB. aspx" is the page name (file name)"Id = 5 & name =
Embedded JS files in ASP. NET custom Web controls
I always wanted to do some custom controls and perform some UI verification. So I needed to use the embedded JS file. I found some materials and some examples. I found that I could not.
Next, we will introduce how to use custom controls in the webpart control series.
1. First, we add a "Google. ascx" Control for the project, and add the famous Google logo image under the images directory.
Next, add a 2*2 row table to the form,
Yesterday I wrote a URL rewrite, because there is a small bug in the rewritten URL, that is, the address in the original URL will be changed to get in the post data.
For example, the original URL is http: // localhost/test/default. aspx.URL
ArticleDirectory
(3) * put. CSS into the theme directory for Reference
Notes
Theme
Page without theme
The structure is complex and the format is messy, so it is not easy to modify and read.
Page using theme
The
In Asp.net, the B page is displayed from page A. After selecting data on page B, close and update the data to page A, which is a common method. I am not familiar with JavaScript, so after a busy afternoon, I finally got a little achievement:The test
When working on BS architecture projects, we often encounter the need to use js to call the Asp.net server-side control value.
The value of most controls can be obtained by calling its value attribute in JS, but there are exceptions.
Label
ASP. in net mvc3, we can go to "_ viewstart. in cshtml, specify layout as the "_ layout. cshtml "Page, of course, we can also go to" _ viewstart. in cshtml, different la s are loaded as needed. _ Viewstart. cshtml I have defined a public view,
After using MVC for team development, I realized the convenience of object-oriented software development. When using MVC, the low coupling between layers makes the relationship between them very much, which reduces the degree of dependency between
Protecting the security of Web applications seems time-consuming. This must-do task cannot bring too much fun, but in order to avoid embarrassing security vulnerabilities, program security is usually not required.
1. ASP. NET Web Forms developers
(1)
From today on, I will write a series like this. Of course, I will introduce it from the simplest aspect!
Web applications and websites
(1) What is the difference between WebApplication and WebSite? WebSite exists to be compatible with the habits
ASP. net mvc + EF framework + EasyUI permission management series
(Opening)(1): Framework Construction(2): database access layer design Demo(3): interface-Oriented Programming(4): encapsulation of the business logic layer
(5): Jquery easyUI
This blog briefly introduces the concept of WebForm and the member information of the Page class. Therefore, this blog is just a simple description of the application before we get started, the following blog will start with the asp.net Server
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