awslabs / aws-embedded-metrics-dotnet

Amazon CloudWatch Embedded Metric Format Client Library
Apache License 2.0
22 stars 14 forks source link

The EMF Web Extension Methods Are Not in Nuget Package #19

Open hakenmt opened 3 years ago

hakenmt commented 3 years ago

The advertised extension methods in the EMF.Web namespace are not part of the Amazon.CloudWatch.EMF nuget package (since it's a different project and I don't see it published). This means the example with .UseEmfMiddleware(); and services.AddEmf(); don't work. It's simple enough to copy the code into your project, but wasn't expecting to need to do that (and didn't specify in the readme). In the example code, it all works because you're still in the EMF namespace, but consumers of the library can't access it.

harolddawson commented 2 years ago

I'm experiencing this same issue. I also verified there is not a separate nuget package for the EMF.Web namespace. If you make an updated nuget, please include this. Or at least update your Readme.