{"id":37040877,"url":"https://github.com/transmitly/transmitly-microsoft-aspnetcore-mvc","last_synced_at":"2026-01-14T04:50:21.739Z","repository":{"id":305441378,"uuid":"778608314","full_name":"transmitly/transmitly-microsoft-aspnetcore-mvc","owner":"transmitly","description":"Simplifies the integration of Transmitly into ASP.NET Core MVC applications by providing utilities for handling delivery reports from various channel providers","archived":false,"fork":false,"pushed_at":"2025-12-22T00:36:11.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-23T09:53:10.107Z","etag":null,"topics":["aspnetcoremvc","delivery-report","model-binding","transmitly"],"latest_commit_sha":null,"homepage":"https://github.com/transmitly","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transmitly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-28T03:25:46.000Z","updated_at":"2025-12-22T00:36:14.000Z","dependencies_parsed_at":"2025-07-20T06:50:19.434Z","dependency_job_id":null,"html_url":"https://github.com/transmitly/transmitly-microsoft-aspnetcore-mvc","commit_stats":null,"previous_names":["transmitly/transmitly-microsoft-aspnetcore-mvc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/transmitly/transmitly-microsoft-aspnetcore-mvc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmitly%2Ftransmitly-microsoft-aspnetcore-mvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmitly%2Ftransmitly-microsoft-aspnetcore-mvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmitly%2Ftransmitly-microsoft-aspnetcore-mvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmitly%2Ftransmitly-microsoft-aspnetcore-mvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transmitly","download_url":"https://codeload.github.com/transmitly/transmitly-microsoft-aspnetcore-mvc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmitly%2Ftransmitly-microsoft-aspnetcore-mvc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28409867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcoremvc","delivery-report","model-binding","transmitly"],"created_at":"2026-01-14T04:50:21.224Z","updated_at":"2026-01-14T04:50:21.735Z","avatar_url":"https://github.com/transmitly.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transmitly.Microsoft.AspnetCore.Mvc\n\nA [Transmitly](https://github.com/transmitly/transmitly) utility package for handling registration and controllers for channel provider delivery reports.\n\n### Getting started\n\nTo use install the [NuGet package](https://github.com/transmitly/transmitly-microsoft-aspnetcore-mvc):\n\n```shell\ndotnet add package Transmitly.Microsoft.AspnetCore.Mvc\n```\n\nThen add the model binders using `AddChannelProviderDeliveryReportModelBinders()`:\n\n```csharp\nusing Transmitly;\n...\n public static void Main(string[] args)\n{\n\tvar builder = WebApplication.CreateBuilder(args);\n\tbuilder.Services\n\t.AddControllers(options =\u003e\n\t{\n\t\t//Adds the necessary model binders to handle channel provider specific webhooks (Twilio, Infobip, etc)\n\t\t//and convert them to delivery reports\n\t\toptions.AddTransmitlyDeliveryReportModelBinders();\n\t})\n\t.AddTransmitly(tly =\u003e {...});\n}\n```\n\n\n\n# Using Default Delivery Report Controller\nInheriting the ChannelProviderDeliveryReportController will setup an `POST` route named, `HandleDeliveryReport` (example: `https://yourapp.com/Communications/HandleDeliveryReport`) that will automatically trigger\nyour registered delivery report handlers for the provided ICommunicationsClient.\n\nThe `HandleDeliveryReport` method can be overridden. Allowing you to customize behaviors and set route specifics.\n\nMyDeliveryReportsController.cs\n```csharp \nusing System;\nusing System.Web.Mvc;\nusing Transmitly;\nusing Transmitly.Delivery;\n\nnamespace Transmitly.Aspnet.Mvc.Examples\n{\n\t[AllowAnonymous]\n\tpublic class CommunicationsController : ChannelProviderDeliveryReportController\n\t{\n\t\tpublic CommunicationsController(ICommunicationsClient communicationsClient) : base(communicationsClient)\n\t\t{\n\t\t}\n\t}\n}\n```\nOr if you prefer to implement it yourself\n```csharp\n[HttpPost(\"channel/provider/update\", Name = \"DeliveryReport\")]\npublic IActionResult ChannelProviderDeliveryReport(ChannelProviderDeliveryReportRequest providerReport)\n{\n\t_communicationsClient.DispatchAsync(providerReport.DeliveryReports);\n\treturn Ok();\n}\n```\n* See the [Transmitly](https://github.com/transmitly/transmitly) project for more details on how use and configure the library.\n\n---\n_Copyright © Code Impressions, LLC.  This open-source project is sponsored and maintained by Code Impressions\nand is licensed under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0.html)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmitly%2Ftransmitly-microsoft-aspnetcore-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransmitly%2Ftransmitly-microsoft-aspnetcore-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmitly%2Ftransmitly-microsoft-aspnetcore-mvc/lists"}