# Sending Data From ASP.NET MVC (4.6.1) (VB.NET)

**URL:** <https://discuss.elastic.co/t/sending-data-from-asp-net-mvc-4-6-1-vb-net/224861>\
**Category:** Elasticsearch\
**Created:** [March 24, 2020, 2:30pm UTC](https://discuss.elastic.co/t/sending-data-from-asp-net-mvc-4-6-1-vb-net/224861 "2020-03-24T14:30:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![newwayweb](https://avatars.discourse-cdn.com/v4/letter/n/71c47a/32.png) [@newwayweb](https://discuss.elastic.co/u/newwayweb)\
**Post date:** [March 24, 2020, 2:30pm UTC](https://discuss.elastic.co/t/sending-data-from-asp-net-mvc-4-6-1-vb-net/224861/1 "2020-03-24T14:30:51Z")

</div>

Team,

So I have been trying to follow the steps to try to start sending data (logs, exceptions...) to Kibana. I have installed Nuget packages tried follow the code examples. But could not get it to do it. I saw the link below and wanted to see if there is an example of using the environmental variables.

> [@Is there a way to use APM in ASP.NET Framework 4.6.2](https://discuss.elastic.co/t/is-there-a-way-to-use-apm-in-asp-net-framework-4-6-2/195820):
>
> We have a lot of applications that run [ASP.NET](http://ASP.NET) Framework ("classic") 4.6.2 in PCF 2.5. Log capture works great, we just bind a syslog service, but I can't figure out how to add APM to my app written in .NET Classic. It works great for our [ASP.NET](http://ASP.NET) Core 2.2 apps. Is this unsupported, or is there guidance on how use APM for .NET Classic?

The application is a legacy one so to speak I doubt it will be rewritten in the next year a two - my goal is to see if I can have the app send data to elastic one way or another. My understanding is that though it is not a .NET Core app it is be possible - how is the question. Could you please point me to the right direction? Help me setup up some basic communication between the app and elastic?

Thanks

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [March 24, 2020, 10:34pm UTC](https://discuss.elastic.co/t/sending-data-from-asp-net-mvc-4-6-1-vb-net/224861/2 "2020-03-24T22:34:23Z")

</div>

Hi @newwayweb,

We have an IIS module which you can add to your 4.6.2 application. [Here](https://www.elastic.co/guide/en/apm/agent/dotnet/current/setup.html#setup-asp-net) is the documentation about it - have you seen that?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 21, 2020, 10:34pm UTC](https://discuss.elastic.co/t/sending-data-from-asp-net-mvc-4-6-1-vb-net/224861/3 "2020-04-21T22:34:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
