Recent Discussions
Windows Forms user control layout issues at runtime
I'm hoping the good folls of this community can help me figure out what's going on with a Windows Forms user control that I created and am trying to use. I created a user control that represents a single band of a parametric equalizer. In the designer, the control looks like this: When I debug the control in the Test Container, things look good: If we take a look at the actual PEQ application that will use the control, things still look OK in the designer: It's only when I fire up the application that things go... awry: What happened to all the TextBoxes? And the ComboBoxes? I''ve got a feeling that the fix for this is something really simple, and I'm going to feel like a complete idiot for not figuring out the obvious. Can anyone tell me what my dumb self did wrong?9Views0likes0CommentsIt appears and error that does not exist
I am using VS 2022 Community and when i develope asp.net apps it happens sometimes that it appears an error that does not exist adn only after many hours of searching for the error or rewriting the same code the app begins to run correctly. Somehitng simmilar happened to any of you ? how can i avoid these strange behaviour of the compiler ? Thank you in advance Luis Martin25Views0likes0CommentsConnect .Net (4.6.2) to Dataverse using the Dataverse plugin
Hi Microsoft Tech Community, We have a Dataverse environment in our tenant, and I have its URL. I'm building a .NET application and need to connect it to Dataverse for data access. From the Learn docs, ChatGPT, and Copilot, it seems I need to use an App ID (Client ID) and Client Secret in the connection string (e.g., via Microsoft.PowerPlatform.Dataverse.Client). However, the Dataverse environment itself doesn't expose any App ID or Client Secret—where would I even find those if they exist? Here's the code snippet we found online that's using OAuth with AppId and RedirectUri, but we're unsure about the app registration part: using Microsoft.Crm.Sdk.Messages; using Microsoft.PowerPlatform.Dataverse.Client; using Microsoft.Xrm.Sdk; class Program { // TODO Enter your Dataverse environment's URL and logon info. static string url = "https://yourorg.crm.dynamics.com"; static string userName = "email address removed for privacy reasons"; static string password = "yourPassword"; // This service connection string uses the info provided above. // The AppId and RedirectUri are provided for sample code testing. static string connectionString = $@" AuthType = OAuth; Url = {url}; UserName = {userName}; Password = {password}; AppId = 51f81489-12ee-4a9e-aaae-a2591f45987d; RedirectUri = app://58145B91-0C36-4500-8554-080854F2AC97; LoginPrompt=Auto; RequireNewInstance = True"; static void Main() { //ServiceClient implements IOrganizationService interface IOrganizationService service = new ServiceClient(connectionString); var response = (WhoAmIResponse)service.Execute(new WhoAmIRequest()); Console.WriteLine($"User ID is {response.UserId}."); // Pause the console so it does not close. Console.WriteLine("Press the <Enter> key to exit."); Console.ReadLine(); } } Do I need to create a separate app registration in Microsoft Entra ID (Azure AD), link it to the Dataverse environment (perhaps as an application user?), and then use that app's Client ID/Secret in my .NET code? If so, could someone outline the exact steps, including permissions and Power Platform admin center setup? Any guidance or links to official walkthroughs would be greatly appreciated—thanks!27Views0likes0CommentsThe Evolution of Conversational AI in Microsoft’s Ecosystem
Over the past two decades, conversational AI has shifted from a futuristic curiosity to a core part of how we interact with technology. And while many companies have shaped this field, one of the most influential players has consistently been Microsoft. From the early days of clippy (yes, that Clippy) to the cutting-edge Copilot ecosystem today, Microsoft’s journey mirrors the broader evolution of conversational AI itself. It’s a story of ambition, experimentation, setbacks, breakthroughs, and ultimately, transformation. In this blog, we’ll explore how conversational AI has developed within Microsoft’s ecosystem—how it started, the key milestones along the way, and where it’s all heading next. https://dellenny.com/the-evolution-of-conversational-ai-in-microsofts-ecosystem/56Views2likes0CommentsGitHub Copilot for Python: Real-World Coding Scenarios & Practical Examples
When GitHub Copilot first launched, many developers wondered whether an AI pair-programmer could truly make an impact on everyday coding tasks. Today, after widespread adoption, the verdict is clear: Copilot can significantly boost productivity, reduce repetitive work, and help developers focus on high-level thinking. This is especially true for Python developers, who frequently deal with tasks ranging from data processing to API integration, automation, and web development. In this blog, we’ll explore real-world Python scenarios where GitHub Copilot shines. Whether you’re a beginner experimenting with your first scripts or a seasoned engineer working on large systems, Copilot can help streamline your workflow in ways that feel surprisingly human. https://dellenny.com/github-copilot-for-python-real-world-coding-scenarios-practical-examples/75Views0likes0CommentsSecurity and Compliance Considerations When Using Copilot in Enterprise Environments
We see these new AI tools, like Copilot, helping us do work faster, write better emails, and summarize long documents. It’s like having a super-smart assistant right next to you. But for people who look after company rules, like the security and compliance teams, a new tool also means new questions. We need to be sure that while Copilot helps us be fast, it does not accidentally share our company’s secrets or break any important laws about data. This is what we call security and compliance—it’s about keeping our digital house safe and following the rules. In this blog, I want to talk about the important things we must think about when we bring a powerful tool like Copilot into our enterprise environment. It’s not just about turning it on; it’s about making sure we set it up in a smart and safe way. https://dellenny.com/security-and-compliance-considerations-when-using-copilot-in-enterprise-environments/49Views0likes0CommentsTurbocharge Your Coding Top GitHub Copilot Shortcuts and Productivity Tips for VS Code
GitHub Copilot isn’t just a fancy autocomplete; it’s a true AI pair programmer that can fundamentally change how you write code. But like any powerful tool, mastering it requires knowing the hidden tricks and, most importantly, the keyboard shortcuts that keep your hands on the keys and your focus in the flow. If you’re using VS Code, you’ve got the ideal setup. Let’s dive deep into the must-know shortcuts and best practices to transform you from a Copilot novice into a speedy! https://dellenny.com/turbocharge-your-coding-top-github-copilot-shortcuts-and-productivity-tips-for-vs-code/72Views0likes0CommentsYour Guide to Debugging and Reviewing Copilot-Generated Code
The rise of AI coding assistants like GitHub Copilot has been a game-changer. It’s like having a hyper-efficient, incredibly well-read junior developer peering over your shoulder, offering code snippets and completing functions almost as fast as you can think. This boost in productivity is phenomenal—until a tricky bug crawls into a piece of AI-generated code, or a security vulnerability lurks undetected. The truth is, while Copilot is an amazing accelerator, it is not a replacement for a developer’s critical thinking and review process. AI-generated code, for all its brilliance, is still code written by an engine trained on massive datasets, including the good, the bad, and the slightly outdated. You, the human developer, are the crucial “Human-in-the-Loop”—the final guardian of code quality, security, and logic. This blog post is your essential guide to navigating this new landscape. We’ll lay out the best practices for debugging and reviewing code generated by your AI partner, ensuring you leverage its speed without compromising on quality or security. https://dellenny.com/your-guide-to-debugging-and-reviewing-copilot-generated-code/72Views0likes0CommentsThe .NET News daily newsletter for C# developers
Hi everyone! I'd like to invite you to my C# and Azure newsletter that I launched a little over a year ago: https://dotnetnews.co/ Its a labor of love project I use to help my fellow C# devs keep up on all the latest developer articles. We finally hit over 2,000 subscribers! Most importantly, If anyone has any ideas on how to make it better, I'd love to hear from you.59Views0likes0CommentsPrompt Engineering for Developers Getting the Best Out of Copilot
Artificial intelligence has revolutionized the way we code. GitHub Copilot, powered by OpenAI’s models, has become a game-changer for developers, offering real-time code suggestions, generating boilerplate code, and even helping solve complex problems. But like any tool, its effectiveness depends on how you use it. Enter prompt engineering—the art of crafting instructions that get the most accurate and useful results from AI. In this blog, we’ll explore how developers can master prompt engineering to get the best out of Copilot, maximize productivity, and improve code quality. https://dellenny.com/prompt-engineering-for-developers-getting-the-best-out-of-copilot/97Views0likes0CommentsPractical Use Cases Writing, Refactoring, and Testing Code with GitHub Copilot
In today’s fast-paced software development environment, efficiency and code quality are paramount. Developers are constantly seeking tools that can accelerate coding tasks without compromising quality. One tool that has rapidly gained popularity among programmers is GitHub Copilot. Powered by AI, Copilot can assist in writing code, refactoring existing code, and testing, making it an invaluable addition to any developer’s toolkit. In this blog, we’ll explore practical use cases for leveraging GitHub Copilot to streamline your coding workflow. https://dellenny.com/practical-use-cases-writing-refactoring-and-testing-code-with-github-copilot/61Views0likes0CommentsUnderstanding the GitHub Copilot Exam Blueprint Skills Measured & Topics Covered
The world of software development is rapidly evolving, especially with the rise of AI-assisted coding tools. One key certification that’s gained attention is the one for GitHub Copilot, the AI-pair programmer developed by GitHub (in conjunction with Microsoft). This blog dives deep into the exam blueprint — what domains it covers, what skills are measured, and how you can prepare effectively. https://dellenny.com/understanding-the-github-copilot-exam-blueprint-skills-measured-topics-covered/73Views0likes0CommentsFree & Official Learning Resources for the GitHub Copilot Certification Exam
The GitHub Copilot Certification Exam is an exciting new way to prove your skills in using one of the most innovative AI tools for software development. Designed for developers, DevOps engineers, administrators, and technical leaders, this certification tests your ability to use GitHub Copilot effectively and responsibly in real-world scenarios. The best part? You don’t have to pay for premium courses or third-party study materials. GitHub and Microsoft provide free, official learning resources that cover everything you need to know. This guide breaks down those resources, how to use them, and how to structure your preparation to maximize your success. https://dellenny.com/free-official-learning-resources-for-the-github-copilot-certification-exam/105Views0likes0CommentsDebugging and Testing Your Copilot Studio Bots Efficiently
When you build conversational agents using Copilot Studio, deploying them is only half the job. To deliver reliable and useful bots, you must invest time in testing and debugging—and do so efficiently. This guide walks you through structured strategies for testing and debugging Copilot Studio bots, highlights built-in tools and practices, and offers expert tips to help you identify and resolve issues quickly. https://dellenny.com/debugging-and-testing-your-copilot-studio-bots-efficiently/65Views0likes0Comments.NET runtime issues - application not starting up
Hello, We have a .NET based application built using the .NET framework 8.0. The application runtimeconfig.json file shows this: MyApp.runtimeconfig.json "tfm": "net8.0", "frameworks": [ { "name": "Microsoft.NETCore.App", "version": "8.0.0" }, { "name": "Microsoft.WindowsDesktop.App", "version": "8.0.0" } ], Please note that we have Published the application and verified that only .NET version 8.0.16 components, DLLs etc are required. Anything higher than this does not show up. From the cmd prompt, the following runtimes are shown to be installed on the system: >dotnet --list-runtimes Microsoft.AspNetCore.App 8.0.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] However, when we try to start a Windows service which is installed as part of the application, it does not start up, and the Windows Event Viewer shows the following error: "Description: A .NET application failed. Application: MyAppControllerService.exe Path: C:\MyApp\MyAppControllerService.exe Message: You must install or update .NET to run this application. App: C:\MyApp\MyAppControllerService.exe Architecture: x64 Framework: 'Microsoft.NETCore.App', version '8.0.21' (x64) .NET location: C:\Program Files\dotnet\ The following frameworks were found: 8.0.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Learn more: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.21&arch=x64&rid=win-x64&os=win10" So, the issue is, even with Microsoft.WindowsDesktop.App 8.0.20 being installed on the system, it still asks for the .NET 8.0 Runtime (v8.0.21) to be installed. Please let me know why this is so? Since, as per this: https://learn.microsoft.com/en-us/dotnet/core/install/windows .NET Desktop Runtime includes the .NET runtime as well, and Microsoft.WindowsDesktop.App 8.0.20 is installed. Thanks in advance, JY284Views0likes1CommentHow to respond to upgrade-assistant cli prompts?
Bear with me please, I have not touched this stuff in a few years. Trying to upgrade Xamarin project to .Net Maui using CLI (latest version of VS 2022 cannot find the Upgrade assistant extension). I have downloaded the upgrade-assistant, but am not familiar with how to reply\how to make a selection of what is displayed after I enter "upgrade-assistant upgrade project-name" (it does not execute and instead displays information...see attached image). Is what is being display telling me that I need to ctrl-c out of this and re-enter the command using what they are showing? Please give me an example of using the Side-by-side upgrade. Is is also telling me that I need to do something with NuGet also on the command line? Thanks.157Views0likes1CommentHow to Register and Prepare for the GitHub Copilot Exam Step-by-Step Guide
If you’re planning to validate your AI-assisted coding skills, the GitHub Copilot Certification Exam is a great way to prove your expertise. This guide walks you through everything — from registration to preparation — so you can approach exam day with confidence. https://dellenny.com/how-to-register-and-prepare-for-the-github-copilot-exam-step-by-step-guide/92Views0likes0CommentsWriting Cleaner Code with GitHub Copilot Suggestions
In today’s fast-moving software development world, maintaining readable, maintainable, and reliable code is more crucial than ever. Tools like GitHub Copilot offer developers a new way to assist in that journey—by suggesting code, refactorings, tests, and improvements in real time. In this blog, we’ll explore how to use Copilot (and its suggestions) not just for speed—but for cleaner code. https://dellenny.com/writing-cleaner-code-with-github-copilot-suggestions/49Views0likes0CommentsWhat Is the GitHub Copilot Certification and Why It Matters for Developers
In the ever-evolving world of software development, AI-powered tools are taking centre stage. Among them, GitHub Copilot has become a significant player. But what exactly is the GitHub Copilot Certification, and why should developers care? Let’s dive in. https://dellenny.com/what-is-the-github-copilot-certification-and-why-it-matters-for-developers/101Views0likes0CommentsOrchard Harvest Community Conference
Hello everyone! I would like to invite you to our Orchard Harvest Conference, which is the annual gathering of the Orchard Core community. For those who may be new to Orchard Core, Microsoft Orchard is an open-source content management system (CMS) and web application framework that allows developers to build websites, blogs, and web applications. It provides a modular and extensible architecture that allows developers to create custom features, themes, and modules to suit their specific needs. The Orchard Harvest conference will be in https://www.hotelbotanique.com/meetings/magnolia/ in Prague on the 11th and 12th of November. It's going to be a great opportunity to share knowledge, talk about development plans and ideas, and foremost, meet the rest of the worldwide community. In addition to the presentations and networking opportunities, Orchard Harvest provides a unique platform for developers, designers, and users to connect, learn, and contribute to the ongoing development of Orchard Core. You can get your ticket and find more details here: https://orchardcore.net/harvest We can't wait to see you at Orchard Harvest!55Views0likes0Comments