Cesar de la Torre
Principal Program Manager at the Azure team.
Latest posts
Modernize, lift and shift, existing .NET apps with Windows Containers and Azure
************************** NOTE ************************ This blog post is a replica of the same blog post I just published at the official Microsoft .NET Blog, here: https://blogs.msdn.microsoft.com/dotnet/2017/11/01/modernize-existing-net-apps-with-windows-containers-and-azure/ ******************************************************** As part of the series of posts announced at this initial blog post (.NET Application Architecture Guidance) that explores each of the architecture areas currently covered by our team, this current blog post focuses on introducing the new "Modernize existing .NET applications w...
Best-in-class Microservices and Domain-Driven Design conference and workshops in the U.S.!! Explore DDD 2017 (Denver, September 19-22, 2017)
Explore DDD 2017 is a brand-new Domain-Driven Design (DDD)-centric conference, September 19-22 2017 at the Grand Hyatt hotel, in downtown Denver, Colorado, USA. I'm not directly related to this conference, but I wanted to provide some support/awareness because this type of quality events is fundamental for the development and software architecture community. They will have keynotes from Eric Evans, Ward Cunningham, and Rebecca Wirfs-Brock, plus an awesome speaker lineup for talks and hands-on sessions. Also, the following five amazing 2-day pre-conference workshops: Other great speakers and practitioners...
Free eBook/Guide on ‘.NET Microservices – Architecture for Containerized .NET Applications’
The microservices architecture is emerging as an important approach for distributed mission-critical applications. In a microservice-based architecture, the application is built on a collection of services that can be developed, tested, deployed, and versioned independently. In addition, enterprises are increasingly realizing cost savings, solving deployment problems, and improving DevOps and production operations by using containers. Microsoft has been releasing container innovations for Windows and Linux by creating products like Azure Container Service and Azure Service Fabric, and by partnering with industry ...
Using Resilient Entity Framework Core Sql Connections and Transactions: Retries with Exponential Backoff
There are many possible approaches to implement retries logic with exponential backoff also depending on the context/protocol, etc. (Database connections, HTTP requests, etc.) Retries with exponential backoff is a technique that assumes failure by nature and attempts to retry the operation, with an exponentially increasing wait time, until a maximum retry count has been reached. This technique embraces the fact that intermittently, cloud resources may be unavailable more than a few seconds, for any reason out of your control. An important case is about SQL Azure Databases that may be moved to another se...
Using Domain Events within a .NET Core Microservice
This blog post is related to the previous blog post named “Domain Events vs. Integration Events in Domain-Driven Design and microservices architectures” : https://devblogs.microsoft.com/cesardelatorre/domain-events-vs-integration-events-in-domain-driven-design-and-microservices-architectures/ Since I’m writing content related to “Microservices architecture, Docker containers and .NET Core” (draft available here, at GitHub), I thought it would be good to publish blog posts with partial content so I get feedback to take into account for the final Guide/eBook version. The code snippets shown below are also ava...
Domain Events vs. Integration Events in Domain-Driven Design and microservices architectures
This blog post is about comparing several approaches of Domain Events vs. Integration Events patterns already published by the community. I might evolve this post depending on feedback and some implementations we’ll be doing in the short/medium term. So, feel free to discuss about it with comments at the end of this post. I’m open to variations. :) When discussing about “Domain Events” there’s certain lack of clarity because sometimes you can be talking about Domain Events that happened but within the same transaction scope of the operation that is still in memory objects (so I fact, it still didn’t happen fro...
Comparing ASP.NET Core IoC container service lifetimes with Autofac IoC container instance scopes
In ASP.NET Core you can use the simple built-in IoC container or you can also plug any other more advanced IoC container like Autofac. When plugin an external container like Autofac, you can still use ASP.NET Core methods like services.AddTransient<> or services.AddSingleton<> or you can also use the more granular methods in Autofac based on its instance scopes, which offer a larger set of possibilities. Anyways, because I’m working “from both sides”, I wanted to have clear a comparison of each type and how are they exactly called from each API.. So here it is a convenient table that I just created: ...
Booting Windows 10 natively from a .VHDX drive file
This post is an update (using Windows 10 and a newer version of Convert-WindowsImage.ps1) of a similar post I had in my blog about booting natively from a .VHDX file: https://devblogs.microsoft.com/cesardelatorre/booting-windows-8-1-update-natively-from-a-vhdx-image/ I’m also publishing this for my own records and folks asking me about it, as it is not a super straight forward procedure.. This procedure is very useful when you need to boot Windows natively, but you need to have multiple different environments like when using BETA/RC versions of Visual Studio, dev tools or simply dual/multiple boots with differ...
Generating Swagger description metadata from your ASP.NET Core Web APIs with Swashbuckle
What is Swagger Swagger is a very much used open source framework backed by a large ecosystem of tools that helps you design, build, document, and consume your RESTful APIs. It is probably becoming as the main standard for this domain (APIs description metadata). The heart of Swagger is the Swagger Specification (API description metadata which is a JSON or YAML file). The specification creates the RESTful contract for your API, detailing all of its resources and operations in a human and machine readable format for easy development, discovery, and integration. The specification is the basis of the OpenAPI Spec...