AJAX Control Tookit Sep Release Anti XSS - asp.net

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx
As per the above link, there's supposedly 3 DLLs that come with the download that need to be referenced.
The AntiXSS Sanitizer Provider is included in the SanitizerProviders folder with the CodePlex release of the Ajax Control Toolkit. You need to add a reference to all three assemblies contained in the folder: SanitizerProviders.dll, AntiXSSLibrary.dll, and HtmlSanitizationLibrary.dll.
However, after downloading the library from http://ajaxcontroltoolkit.codeplex.com/, I only see 2 DLLs in the SanitizerProviders folder:
HtmlAgilityPack.dll
SanitizerProviders.dll
Where is that AntiXSS DLL located?

The AntiXSS is a stand alone library that you can download from MS Site
http://www.microsoft.com/en-us/download/details.aspx?id=28589
Relative: How to Include Anti-XSS in ASP.Net 2.0 Without Visual Studio

Related

How to make Roslyn the default Compiler for ASP.NET and put it in GAC?

We are using ASP.NET 4.6 with website/web application projects.
We added the Roslyn Complier via Nuget Package to our website project and VS.NET updated the web.config plus added a Roslyn folder under "bin".
Inside this folder there are a number of dlls and exe files.
The documentation specifies to gain the best ASP.NET Startup time, it is best to Ngen and GAC the Roslyn assemblies.
I am not sure how I can use Ngen.exe or other tools to move it correct to GAC.
here is the source:
http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx
See this section: Announcing the first preview of new CodeDOM Providers for .NET Compiler Platform (“Roslyn”)

How can I find out the version number of Silverlight XAP from ASP.NET application

I have an ASP.NET application that includes a number of plugins written in Silverlight. How can I find out the .NET assembly versions of the Silverlight applications from within the web application (not the Silverlight plugin), so that I can list the installed plugins in, for example, a Help | About box?
A XAP file is a ZIP-formatted file. You can open it with Winzip, extract the assemblies, and look at their version numbers. This should all be possible using .NET zip library and Reflection within ASP.NET.

Can't find equivalent RadControl *.dll files in latest RadControl release

I'm upgrading a very old version of RadControl *.dll files--not sure what version these *.dll files are from. Were all of these *.dll files (listed below) combined into a single *.dll file in the latest Telerik RadControl version? Perhaps in one of these files? Also, what is the XML file used for. Should it be placed in the same folder as the *.dll file with the same name?
C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2011\Bin35\Telerik.Web.Design.dll
C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2011\Bin35\Telerik.Web.UI.dll
C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2011\Bin35\Telerik.Web.UI.Skins.dll
C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2011\Bin35\Telerik.Web.UI.XML
Old Telerik RadControl files:
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadAjax.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadCalendar.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadComboBox.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadEditor.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadGrid.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadInput.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadMenu.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadSpell.NET2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadSplitter.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadTabStrip.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadToolbar.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadTreeView.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadUpload.Net2.dll
C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadWindow.Net2.dll
The Telerik.Web.UI.dll now contains all of Telerik's controls in a single DLL. The old files you mention (that end in '.Net2.dll') are actually for an old edition of the controls called the RadControls for ASP.NET - which included each control in it's own DLL. Now, it's RadControls for ASP.NET AJAX and everything is in the one DLL.
The XML files are optional and provide extra information to things like IntelliSense in Visual Studio. Instead of just getting basic IntelliSense, the XML file allows you to have comments from Telerik shown. You'll want to place the XML files in the same folder as the DLL. See here for more information: http://www.telerik.com/help/aspnet-ajax/introduction-intellisense-vs2010.html

Ajax Control Toolkit in .NET

I need some help on ajax control toolkit in asp.net Visual Studio 2010 .net frame work
version 4.
We have hosted on interland server and it does not support ajax control toolkit .DLL as it is a third party dll.
Could anybody give us an workaround on this, can we download the source code for this toolkit which is in javascript and can we include this .js files in our aspx pages so we can have ajax control toolkit for our website.
Any examples would be helpful if we can try this workaround working.
thanks
Just copy the DLL to your Bin folder.
If you're deploying an ASP.net app, and your project has a reference to the relevant assembly, the dll should be copied to your .\bin folder as part of the publish process, just like the compiled assemblies that comprise your app.

Including links to external resources in Visual Studio 2010 Web project

I have a ASP.NET project which relies upon the FreeImage .NET wrapper. This is loaded using a reference to a external directory. The wrapper relies upon the FreeImage.dll being present to work (clearly).
How do I get Visual Studio to include a reference to the FreeImage dll. It's not a .NET assembly, i think it was built in something else (so I can't add it as a reference).
I don't really want to have a copy for this project as these files reside in a different SVN repository
Add a pre-build macro/script to copy the file across each time you build. There's no way to add a symbolic link into a visstudio afaik.
I am assuming the .dll was built using a .NET supported language like C#.
You can just right click over the site and select 'Add Reference'.
Browse to the .dll you are looking for and then click 'Ok' to add it.
It should add a .refresh file to your site and the dll. The .refresh file is what is checked into your source control letting the site know the relative location of the .dll to the site.

Resources