14 major technical summaries of large portal websites

I. Full-text searchLecene framework Ii. CacheImplement page-level URL caching 3. generate static filesBytes4. static files are stored on independent servers.CSS, JS, images, files, etc. Use an Apache server to process requestsV. distributed

The next account in asp.net does not allow multiple users to log on online at the same time.

Method 1: Copy codeThe Code is as follows:String sKey = username. Text. ToString (). Trim (); // obtain the value of the given Key in the Cache.String sUser = Convert. ToString (Cache [sKey]); // check for existenceIf (sUser = null | sUser = String.

Implementation Code for asp.net to intercept Http requests

1. PrefaceThis article is short mainly because of a piece of code that I want to generate. The function of this code can be called simple Http server or Http Request Interception. The function is to intercept Http requests and process them by

Asp.net page encoding FAQs

If you want to set page encoding for the entire project, you can add a Globalization attribute to the Web. config file and set its fileEncoding, requestEncoding, and responseEncoding features:FileEncoding = "UTF-8"RequestEncoding =

Asp. Net Website optimization series database optimization measures use master/Slave databases (full)

After the website scale reaches a certain level, the score is also divided, and the optimization is also optimized, but it still cannot meet the performance requirements of the business. At this time, we can consider using the Master/Slave database.

Asp.net combined with Ajax to verify whether the user name exists

1. Use the JavaScript js file to verify whether the user name exists.Copy codeThe Code is as follows:Var ajax = function (option){Var request;Var createRequest = function (){// Var request;If (window. XMLHttpRequest){Request = new XMLHttpRequest ();}

Upload URL encoding and receiving decoding parameters to asp and Asp.net pages

For example, the URL transmitted by asp.net in Get mode is: "WebPage. asp? Str = "+ HttpUtility. UrlEncode (str)The decoding method is HttpUtility. UrlDecode (Request. QueryString ["str"]. ToString (). Trim ())The asp Get method is transmitted as

Advertisement effect code commonly used in ASP. NET Website development

Use this post to continuously record some collected advertising effects. We hope to provide some support to our friends who need it. I also hope that my friends will post the unrecorded advertisements together. Make this post more perfect and share

Solution: asp.net Sharepoint cannot connect to publish custom string handler, and cannot handle output Cache

Problem description:The custom string handler cannot be connected and output cache cannot be processed. The IIS instance ID is "1772638466 ",The URL is "http://xxxx.xxx.xxx/englishworld/default.aspx.pdf ".For more information, see Help and Support

Technical Analysis of asp.net JSON serialization

Starting from ASP. NET 3.5, the. NET platform supports two serialization methods:Copy codeThe Code is as follows:1. DataContractSerializer2. JavascriptSerializer The former is mainly serialized Based on the Data contract (DataContract), through the

Use the AspNetPager paging Control for Repeater in asp.net

I. AspNetPager Page ControlPaging is one of the most commonly used functions in Web applications. NET, although it comes with a paging DataGrid (asp.net 1.1) and GridView (asp.net 2.0) controls, its paging function is not satisfactory, for example,

Differences between Application and Cache in ASP. NET

Similarities:1. the effective scope of the variables stored by both are the entire application lifecycle.2. Both of them can store objects. Differences:1. The application is used in the asp stage. After being upgraded to. net, the cache is used,

Asp.net uses Response. Filter to Filter invalid words

Another solution is to filter out frequently used words during output. The advantage is that you only need to write them once and can filter out the illegal words on the entire site. The disadvantage is that the illegal words are still stored in the

The asp.net custom control allows you to upload images without refreshing images, display thumbnails immediately, and save image thumbnails.

: Click Browse and select an image. The image is displayed on the right. Step 1: Create CtFileUpLoad. ascxCopy codeThe Code is as follows:Inherits = "WebParts_CtFileUpLoad" %> "width =" 240px "height =" 22px "frameborder =" 0 "scrolling =" no ">

ASP. NET (AJAX + JSON) for object calling

Client:Copy codeThe Code is as follows: Username: Server: log on Server:Copy codeThe Code is as follows:Using System;Using System. Collections. Generic;Using System. Linq;Using System. Web;Using System. Web. UI;Using System. Web. UI.

ASP. NET frontend and backend call Method

1. Access C # functions using JavaScript2. JavaScript accesses the C # variable3. Access existing JavaScript variables in C #4. How to access JavaScript Functions in C #Access C # functions using JavaScriptMethod 1, 1. Create a button to write the

Use xml in asp.net as a navigation data source to achieve dynamic Permissions

Code in the cs FileCopy codeThe Code is as follows:Using System;Using System. Collections;Using System. Configuration;Using System. Data;Using System. Linq;Using System. Web;Using System. Web. Security;Using System. Web. UI;Using System. Web. UI.

How to Use asp.net Urlrewriter on a VM

First, HttpHandle cannot implement urlrewrite;The second Server. Transfer is a standard redirection, and it is not urlrewrite at all.In fact, you do not need to implement HttpHandle or HttpModule on your own to implement urlrewrite. You can easily

Asp.net (C #) parses Json class code

This article resolves the following data into data that can be used by. Net. The returned data except the header is variable, that is, the structure is not fixed. The generated able is selected by the user.The Json data format is as follows:Copy

Asp.net dynamic reference style sheet code

1. Add a CSS Style: style Style = new Style ();Style. ForeColor = System. Drawing. Color. Navy;Style. BackColor = System. Drawing. Color. LightGray;This. Header. StyleSheet. CreateStyleRule (style, null, "body ");2. link the external CSS style sheet:

Total Pages: 1075 1 .... 231 232 233 234 235 .... 1075 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.