Question

Can I include Microsoft's Anti-XSS library in my ASP.Net 2.0 application without Visual Studio? If so, how?

I've already downloaded and installed the library. From Microsoft's download page: "Reference the library in your application and use it." Researching this turns up instructions for doing so with Visual Studio, but not without.

This S.O. answer links to a few promising articles, but those also assume Visual Studio to start.

(As for why I can't use Visual Studio: my manager says "No.")

Was it helpful?

Solution

Its very simple, just copy the file \program Files\Microsoft Corporation\Anti-Cross Site Scripting Library V1.5\Library\Net 2.0\AntiXssLibrary.dll, into your /bin/ directory of your asp.net and you ready to use it by just include the reference of antixss in every code that you won to use it.

The library is this file: AntiXssLibrary.dll

If not found on the directory I write for, just search your disk, where you have install it.

Ver 4.2.1

For the version 4.2.1 that you have a link on it the files are on

c:\Program Files\Microsoft Information Security\AntiXSS Library v4.2\NET20\

and you copy both, AntiXssLibrary.dll and AntiXssLibrary.xml to your /Bin/ directory of your asp.net

Download

If you can not find the library installed on your computer from the visual studio or from the SDK, you can always download it from Microsoft. The latest version is here:

https://www.microsoft.com/en-us/download/details.aspx?id=43126

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top