aspnet / WebHooks

[Archived] Libraries to create and consume web hooks on ASP.NET Core. Project moved to https://github.com/aspnet/AspLabs
Apache License 2.0
627 stars 439 forks source link

Example in VB.net #119

Closed shahzadgodil closed 6 years ago

shahzadgodil commented 7 years ago

Hello,

I am looking this example in VB.net https://blogs.msdn.microsoft.com/webdev/2015/09/15/sending-webhooks-with-asp-net-webhooks-preview/

I want to get vb.net conversion of this code

[Authorize]
public class NotifyController : Controller
{
    [HttpPost]
    public async Task<ActionResult> Submit()
    {
        // Create an event with action 'event1' and additional data
        await this.NotifyAsync("event1", new { P1 = "p1" });

        return new EmptyResult();
    }
}

Thanks Shahzad Godil

dougbu commented 6 years ago

Thank-you for this enhancement suggestion. At this time, we have no plans to implement this request. We maintain only C# code in this repo and the related documentation.