Debug today
Program "Unable to start debugging on the Web server. debugging failes because integrated Windows authentication is not enabled .".
Search by Baidu: Find this article
Article --
Debugging failed because integrated Windows
Method 1
If (! Ispostback){// Page titlePage. Title = "my website title"; // you must set the webpage head tag to the server control mode, that is, . Otherwise, the webpage is invalid.
// Description webpage descriptionHtmlmeta DESC = new
Where the size of the uploaded file is controlled in Web. config:
"9999"Maxrequestlength ="2097151"/>
Maxrequestlength is a parameter used to control the upload size.The maximum request size (in kilobytes ). The default size is 4096 KB (4 MB
ASP. net mvc Framework includes several action filters:
Outputcache-caches the output of controller actions within the specified time.
Handleerror-handling of controller action errors.
Authorize-Restrict access permissions through
Document directory
Introduction
Basic Reporting
Master/Detail
Custom Formatting
Editing, Inserting, and Deleting Data
Paging and Sorting
Custom Button Actions
Displaying Data with the DataList and Repeater
Filtering Scenarios with the
Recently, the leaders asked access to be a site. There was no problem during development, and finally there was a problem during iis deployment. The error message is that an updatable query must be used for the operation. Needless to say, it was a
I. Use QueryString
Using QueryString to pass values between pages is a very common method, which is often used in ASP.
(1) advantages and disadvantagesAdvantages:1. Easy to use. It is very effective for passing numbers or text values when security
In ASP. in net mvc, URL Routing is a good way to standardize URLs. however, sometimes you may need to format the specified string into a normal and secure URL. we all know that generally, domain name registration requires only numbers. the
ASP. NET Technical ArticlesHow to Share Session State Between Classic ASP and ASP. NET
Billy YuenMicrosoft Corporation
February 2003
Applies:Microsoft ASP. NET
Summary:Discusses how to share session state between classic ASP and Microsoft ASP.
One of the things that happens people have asked for over the years with ASP. NET is built-in support for developing web applications using a model-view-controller (MVC) based architecture.
Last weekend at the Alt. NET conference in Austin I gave
Respose. Write (""); (open a concise window ):Respose. write (" ");
1. Response. Redirect ("XXX. aspx", true) -- go directly to the new page and replace the original window;2. response. write (" ") -- the original window is retained, and a new page
After reading what dragonpig wrote, "teach you 30 seconds to create a strong type of ASP. NET data binding", it was so powerful that we could still bind data like this.
I immediately tested it and made some improvements. It has been applied to the
I 've taken a photo from someone else. I haven't tried it yet.
The following is a code snippet:
StringWriter textBuffer = new StringWriter ();
Match match = Regex. Match (HTMLStr, @ "\", RegexOptions. IgnoreCase | RegexOptions. Compiled );
If (match
Learn at: http://www.cnblogs.com/fish-li/archive/2011/09/05/2168073.html
ASP. the event processing in the NET pipeline adopts the observer mode. "The Observer mode defines a connection between objects so that when an object changes its state, all
The DNS method is simple and practical to obtain the IP address of a server, as follows:Using System. Net;
Private void ButtonIP_Click (object sender, System. EventArgs e){System. Net. IPAddress [] addressList = Dns. GetHostByName (Dns. GetHostName
Running environment:Windows Server 2003 + IIS 6.0
Steps:
1. Install Microsoft. net FrameWork 3.5 SP1
2. Install MVC 2.0 RC
3. Right-click the site> Properties> main directory> Configuration> ing
A) Click "add" to bring up the "Add/edit application
I used to think that the first time the asp.net program was running slowly was due to the need to compile the program during the first running. Although I had doubts at the time, I did not go into details.
Today, I checked Microsoft technical
ASP. NET provides a programming function for caching information in an ASP. NET application. This function is similar to the Application object, but it has the ability to dynamically maintain cache information during the lifecycle of ASP. NET
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