> For the complete documentation index, see [llms.txt](https://docs.cloudfilt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudfilt.com/integrations/asp.net.md).

# ASP.NET

## What in cloudFilt on ASP.NET ?

**ASP.NET** is a popular web application framework developed by **Microsoft**, used to build **dynamic websites, enterprise-grade applications, and APIs** with .NET languages. It is widely adopted for its **performance, scalability, and seamless integration** within the Microsoft ecosystem.

CloudFilt is fully compatible with **ASP.NET applications**, allowing you to seamlessly integrate **advanced bot protection and traffic filtering** directly into your projects.

## Why use cloudFilt on ASP.NET ?

CloudFilt on ASP.NET helps users :

* **Prevent and block** bad bot traffic, web scraping, Tor traffic, spam submissions, web fraud, business logic abuse, and denial-of-service (DDoS) attacks.
* **Inject JavaScript** into pages to track and detect potentially dangerous users.
* **Maintain reliable usage metrics and accurate monitoring** for improved performance and security visibility.

## How to activate cloudFilt on ASP.NET

1. Login to your **CloudFilt account**.
2. Go to **Websites / WebApps > My Websites**.
3. Click **Settings > Integration & Plugins**.
4. Insert the provided code **before the `<head>` tag** in your HTML code on each page of your website.
5. Add the provided code into the **Helpers > `cloudFiltHelper.cs`** file.
6. Invoke this helper class in every function of your **controller** to enable CloudFilt protection.

Once set up, CloudFilt will **filter malicious traffic in real-time** and protect your ASP.NET applications, ensuring a **secure and optimized user experience**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cloudfilt.com/integrations/asp.net.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
