This page shows the source for this entry, with WebCore formatting language tags and attributes highlighted.
Delivering Quino: a roadmap for deployment
<n>Note: this article was originally published at <a href="https://encodo.com/latest/developer-blogs/delivering-quino-a-roadmap-for-deployment/">Encodo.com</a> in July, 2018.</n> <hr> In a recent article, we outlined <a href="https://dev.earthli.com/news/view_article.php?id=3671">a roadmap to .NET Standard and .NET Core</a>. We've made really good progress on that front: we have a branch of Quino-Standard that targets .NET Standard for class libraries and .NET Core for utilities and tests. So far, we've smoke-tested these packages with Quino-WebApi. Our next steps there are to convert Quino-WebApi to .NET Standard and .NET Core as well. We'll let you know when it's ready, but progress is steady and promising. With so much progress on several fronts, we want to address how we get Quino from our servers to our customers and users. <h>Getting Quino</h> Currently, we provide access to a private fileshare for customers. They download the NuGet packages for the release they want. They copy these to a local folder and bind it as a NuGet source for their installations. In order to make a build available to customers, we have to <i>publish</i> that build by deploying it and copying the files to our file share. This process has been streamlined considerably so that it really just involves telling our CI server (TeamCity) to deploy a new release (official or pre-). From there, we download the ZIP and copy it to the fileshare. Encodo developers don't have to use the fileshare because we can pull packages directly from TeamCity as soon as they're available. This is a much more comfortable experience and feels much more like working with nuget.org directly. <h>Debugging Quino</h> The debugging story with external code in .NET is much better than it used to be (spoiler: it was almost impossible, even with Microsoft sources), but it's not as smooth as it should be. This is mostly because NuGet started out as a packaging mechanism for <i>binary</i> dependencies published by vendors with proprietary/commerical products. It's only in recent year(s) that packages are predominantly open-source. In fact, debugging with third-party sources---even without NuGet involved---has never been easy with .NET/Visual Studio. Currently, all Quino developers must download the sources separately (also available from TeamCity or the file-share) in order to use source-level debugging. Binding these sources to the debugger is relatively straightforward but cumbersome. Binding these sources to ReSharper is even more cumbersome and somewhat unreliable, to boot. I've created the issue <a href="https://youtrack.jetbrains.com/issue/RSRP-470463">Add an option to let the user search for external sources explicitly (as with the VS debugger) when navigating</a> in the hopes that this will improve in a future version. JetBrains has already fixed one of my issues in this are (<a href="https://youtrack.jetbrains.com/issue/RSRP-459740">Navigate to interface/enum/non-method symbol in Nuget-package assembly does not use external sources</a>), so I'm hopeful that they'll appreciate this suggestion, as well. The use case I cited in the issue above is, Developers using NuGet packages that include sources or for which sources are available want to set breakpoints in third-party source code. Ideally, a developer would be able to use R# to navigate through these sources (e.g. via F12) to drill down into the code and set a breakpoint that will actually be triggered in the debugger. As it is, navigation in these sources is so spotty that you often end up in decompiled code and are forced to use the file-explorer in Windows to find the file and then drag/drop it to Visual Studio where you can set a breakpoint that will work. The gist of the solution I propose is to have R# <i>ask the user</i> where missing sources are <i>before decompiling</i> (as the Visual Studio debugger does). <h>Nuget Protocol v3 to the rescue?</h> There is hope on the horizon, though: Nuget is going to address the debugging/symbols/sources workflow in an upcoming release. The overview is at <a href="https://github.com/NuGet/Home/wiki/NuGet-Package-Debugging-&-Symbols-Improvements">NuGet Package Debugging & Symbols Improvements</a> and the issue is <a href="https://github.com/NuGet/Home/issues/6104">Improve NuGet package debugging and symbols experience</a>. Once this feature lands, Visual Studio will offer seamless support for debugging packages hosted on nuget.org. Since we're using TeamCity to host our packages, we need JetBrains to <a href="https://youtrack.jetbrains.com/issue/TW-47289">Add support for NuGet Server API v3</a><fn> in order to benefit from the improved experience. Currently, our customers are out of luck even if JetBrains releases simultaneously (because our TeamCity is not available publicly). <h>Quino goes public?</h> I've created an issue for Quino, <a href="https://secure.encodo.ch/jira/browse/QNO-5953">Make Quino Nuget packages available publicly</a> to track our progress in providing Quino packages to our customers in a more convenient way that also benefits from improvements to the debugging workflow with Nuget Packages. If we published Quino packages to NuGet (or MyGet, which allows private packages), then we would have the benefit of the latest Nuget protocol/improvements for both ourselves and our customers as soon as it's available. Alternatively, we could also proxy our TeamCity feed publicly. We're still considering our options there. As you can see, we're always thinking about the development experience for both our developers and our customers. We're fine-tuning on several fronts to make developing and debugging with Quino a seamless experience for all developers on all platforms. We'll keep you posted. <hr> <ft>This issue has been closed and released with R# in the latest versions.</ft>