Script Home
  • Actual combat records of HTTP to HTTPS (IIS 7.5)

    +Read more
    Author:zyq / Release:2018-1-16 / category:ASP, ASP.NET, Windows / crowd0 views time+ / sofa /
    " download decompression end we see the following 4 files 3, Win+r input MMC into the console root node < / P> at the above steps, we have to import the certificate into success, then the IIS domain name and certificate of "text-align: center style= " so we want to access through ...
  • .NET connection database and basic additions and deletions

    +Read more
    Author:zyq / Release:2018-1-14 / category:ASP, ASP.NET, Windows / crowd0 views time+ / sofa /
    1, preface , because the.Net course selected for this semester is going to be on the machine exam, so we summarize the method of.Net data SqlServer operation. (because I am in the direction of Java, so I don't know much about.Net, but the following code is tested successfully). two ,.Net con...
  • JS index subscript Li set binding click event

    +Read more
    Author:zyq / Release:2018-1-14 / category:ASP, ASP.NET, JavaScript, Script / crowd0 views time+ / sofa /
    the following piece of code to introduce Li click event set binding, specific code as follows: //Method-1: var items = document.getElementsByTagName ('li') for (VaR; i=0; i< items.length; i++) {items[i].index = I; items[i] = function (.Onclick) {this.innerHTML = this.index; items = var //Me...
  • ASP.NET would like to use async/await

    +Read more
    Author:zyq / Release:2018-1-10 / category:ASP, ASP.NET / crowd0 views time+ / sofa /
    C# 5 introduces the async/await keyword to simplify the asynchronous programming model and toss the syntax sugar to the Task + state machine of the Net4.0. In fact, the use of Task is quite simple in dealing with asynchronous programming, but now that we have introduced the new syntax sugar, we w...
  • On ASP.NET MVC (CSRF) to prevent CSRF attack method

    +Read more
    Author:zyq / Release:2018-1-8 / category:ASP, ASP.NET / crowd0 views time+ / sofa /
    in the HTTP POST request, we have looked at the following code many times in View and Controller: Html.AntiForgeryToken () is called in 1.View. The method in 2.Controller adds the [ValidateAntiForgeryToken] annotation. looks like a pair of writing is to avoid the introduction of CSRF attack ...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security