There are many people who have learned ASP and used ASP for websites. NET environment, it is found that the change is too big, in fact, Asp. net cannot only be regarded as the next version of Active Server Page (ASP), but also an excellent general
ASP:
Disk = request. querystring ("disk ")User = request. querystring ("user ")If disk = "" or user = "" thenResponse. Write "no disk or user (disk, user) specified )"Else
Set coldiskquotas = Createobject ("Microsoft. diskquota.1 ")Coldiskquotas.
In Asp.net, the ASP. NET Status Service was used to save the session. It was no problem. Later I changed to a server, but I found that the applicationProgramWhen the pool is recycled, the session will be lost.
This is the case.
1. Enable the Asp.
1. Multiple datasets are returned.
Check your database access code to check whether there are multiple requests to be returned. Each round-trip reduces the number of times your application can respond to requests per second. By returning multiple
Currently, Ria technology is popular on the Internet. Adobe has flex and Microsoft has silver. Now it can be said that there is a benefit, but as the most popular flash on the internet, I think its support rate is obvious to all. Although yinguang
In the original project, most of the WebServices were used to obtain data through static connections. However, the disadvantage was that the WebService can be updated by the Department, which always had to be regenerated, if a project is deployed
Recently I have a simple project on hand, which is much simpler than what I usually write, but it is not smooth. There are many strange problems, such as a strange problem today, here I will talk about the whole process of solution.The customer
1. Create an Excel Object in Js.Because of the security considerations, the client browser is almost impossible to directly execute by default. You have to make multiple settings. can you allow each user to set Internet Options according to your
MVC is an excellent design mode. In MVC design mode, m represents model, c Represents controller, V represents viewer, and is also a model layer, control layer, and view layer.Model is the place where business logic is implemented. controller
Methods for impersonating users:Note: ASP is used. net often does not have the permission to do something because of security issues, but sometimes we really need to use these permissions, we should grant these users some permissions, next we will
Continue with the previous summary
Starting with Web Service Basics
Let's take a look.
Web service concept
WebServer is an application that provides an API that can be called through the Web. Access web applications through programming
Web
In ASP. NET, in addition to the communication methods described in the previous blogs, you can also use the service method for communication, as shown below.
Employee class
Using system; using system. data; using system. configuration; using system.
Document directory
Page Lifecycle
Simple page example
Public appearance example
By default,Page ControllerThe concepts described in the schema are implemented in ASP. NET. ASP. the net page framework implements these concepts by automatically
Success!
In fact, I am only interested in winform technology, but now I have discovered that ASP. NET C # Web technology is becoming increasingly important!
As a result, I started to get started with what I know, especially some of the simplest
Do not define too much or define only one CSS file. According to the suggestions provided by my colleagues in the Web standard, the CSS of the Web application can be planned into four files:(1) base.css(2) from.css(3) frame.css(4) list.cssI don't
Sometimes we need to print some specific parts of the Asp.net webpage. Many people use CSS styles or specific printing controls to customize the printing function of the webpage. The javascript style replacement method is used for printing, so that
The form is mainly responsible for data collection in the webpage, and the data is transmitted as a whole, which greatly improves the efficiency of data submission to the server.
Form three basic components:
Form Tag: contains the URL of the CGI
Q1: How does the foreground class access members of the background class?
A1: . You can add to the foreground class. xxx indicates a member of the background class. Of course, the foreground class is not accessible to all background class members,
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.