Publishing to an Event Grid topic from .Net
Here’s a quick helper class to make publishing to a custom topic in an Event Grid instance a one-line operation.
Here’s a quick helper class to make publishing to a custom topic in an Event Grid instance a one-line operation.
Event Grid subscriptions point to an https endpoint. When using Azure Functions as the subscriber, how can you locally debug your events?
While it would be high near impossible to DDoS a solution running on a serverless platform (scaling would just continue to handle all the requests it needed to), somebody still has to pay for the execution. Most (good) serverless implementations use what is often called “micro-billing” whereby you are billed only for each *actual execution* of your code. But, if we think of this nefariously and I send a few thousand requests/second to your endpoints guess what happens. Yup, one hefty bill. This has become known as a Denial of Wallet attack.
Recently while working on a project I found myself writing a ton of boilerplate code throughout that looked something like this: private readonly Lazy<JSchema> _newItemSchema = new Lazy<JSchema>(() => Helpers.GetSchema(@"POST-request.json")); [HttpPost] public async Task<IActionResult> AddNewItem() { var requestJson = Request.ParseBodyToObject(_newItemSchema.Value); if (!requestJson.Success) { #if DEBUG return BadRequest(requestJson.Object); #else return BadRequest(); #endif } var newItem =… Read More »
Serverless approaches are great for quick, simple jobs that need to run periodically – let’s explore using Azure Functions for just one such application; to poll the Nuget feed for updates to a package we’re interested in.
Since using the new Azure “V2” VMs I had a complaint: I can’t (easily) set up a schedule for my VMs like I was able to with Classic VMs and the Classic Management dashboard. I recently set up a Minecraft server for my sons and was turning it on when they got home from school… Read More »
On August 29th, the Windows Dev Center got a massive feature set upgrade. Included among these new features was the announcement of the Microsoft Store Services Engagement Framework. Like the name implies, this is a new framework put out by the Store team enabling developers to better engage with their users – and new store… Read More »
As promised, my slides from my Continuous Deployment in Mobile Applications talk at Twin Cities Code Camp 20 can be found below! If you have questions, please post them in the Disqus thread so we may all benefit from the conversation. A few attendees also expressed interest in my session from TCCC17 so I\’ve also… Read More »