Visual Studio 2019
4 TopicsVisual Studio 2019 extension for building REST APIs exposing IoT Hub features
Hi all, If you need to write REST APIs (.Net Core) to expose or complete IoT Hub APIs or create a facade, this https://marketplace.visualstudio.com/items?itemName=JonMikelInza.IoTHubDotNetCoreRESTAPITemplate will help you to save a few minutes. It creates a ready to use solution in a few seconds and allows you to focus on important code (business logic, etc). The created API includes other features like: - API versioning - Automatic OpenAPI generation (versioned according to API versions) - separated layers - minimalistic solution with required dependencies only The only thing you need to do is to set the IoT Hub connection in the configuration file (appsettings.json). More details https://marketplace.visualstudio.com/items?itemName=JonMikelInza.IoTHubDotNetCoreRESTAPITemplate.2KViews1like3CommentsInsufficient Resources Error - Visual Studio Community 2019
Hello! I've written out a program that will obtain data from a txt file, manipulate it, and output it in an Output.dat file. However, when I try to run the program, I get the following error: "Insufficient resources exist to complete the requested service." I am able to run other programs with no problems, but Visual Studio won't cooperate with this specific program. My teacher has also tried to run this program on his computer, and it works fine. I'm not sure what the problem is since it works on his computer, and both the .txt and .dat files are in the same folder as the .cpp and .sln files. Some of the things I have tried: repair install, sfc scan, cleaning and rebuilding the solution, uninstalling and reinstalling Visual Studio Community 2019, creating a new program with the same code, creating a new folder with all the necessary files (the folder with my teacher's program that works on his computer), and some more that I cannot remember. Thank you!1.2KViews0likes0CommentsProblem: Azure DevOps Agent CI Build of BizTalk Flat File Schema Results in Bad Schema in Assembly
We are running a self-hosted Azure DevOps Agent to execute source compilation for BizTalk 2020. The source code from BizTalk 2013 R2 has been upgraded to Visual Studio 2019 with BizTalk 2020 Development Tools and SDK and the BizTalk Server Extension. When several positional Flat File schemas are compiled in a remote desktop session on our build servers, the assembly produced contains a correct XSD of the schema as viewed through the BizTalk Administration console. However, when the agent builds the assembly, the resulting embedded XSD has a consistent error. The annotations of every field elements is missing its sequence_number attribute in the <fieldinfo /> element. This occurs for every field element in the flat file XSD in the resulting assembly, and leads to errors in pipeline processing in BizTalk Server 2020. See attachment for side by side comparison of missing attribute. The screen shots come from the Schemas dialog in the BizTalk admin console. Has anyone seen such behavior before when building with TFS or Azure DevOps agents? Is this specific to BizTalk flat files? In an attempt to fix we logged onto a remote desktop session to the build servers with the service account under which the agents run. We opened VS2019 and built the solution. This resulted in good schemas in the assembly. That proves there is nothing wrong with our server configuration for compiling BizTalk solutions and project. We then restarted the agent services and then started a new instance of our CI/CD pipeline. The compile produced the same bad XSD in the assembly. Thanks in advance for any help you can offer.Solved1.7KViews0likes2CommentsDebug remote IoT Edge C# Module (Linux) with Visual Studio 2019 (16.3)
There is no doubt now IoT Edge has proven its place and its importance in the IoT ecosystem. Do you want to know how to create your own C# IoT Edge Module for Linux and debug it remotely with Visual Studio 2019? Renlong Tu gives you the steps to follow in his https://devblogs.microsoft.com/iotdev/debug-azure-iot-edge-c-remote-linux-module-container-with-visual-studio-2019-version-16-3/.838Views0likes0Comments