Snippset

Snippset Feed

...see more

GitHub Copilot has evolved from an AI code completion tool into a powerful development assistant. With the introduction of AI development agents, Copilot can now help automate entire development workflows rather than simply suggesting individual lines of code.

Instead of acting as an autocomplete tool, AI agents understand high-level objectives, plan the required steps, modify multiple files, execute tests, review results, and assist with completing development tasks. Developers remain in control, reviewing and approving changes while Copilot handles much of the repetitive implementation work.

What GitHub Copilot Can Do

Modern GitHub Copilot agents can assist with tasks such as:

  • Implementing new features
  • Fixing bugs and refactoring code
  • Writing and improving tests
  • Generating or updating documentation
  • Reviewing code and suggesting improvements
  • Creating commits and pull requests
  • Building application prototypes from natural language

Depending on the workflow, these tasks can be performed directly inside the IDE or autonomously in GitHub repositories.

Better Results Through Context

GitHub Copilot becomes significantly more effective when it understands your project. By using repository context, documentation, coding standards, issues, pull requests, and external tools, it can generate more accurate and relevant solutions that fit your existing codebase.

Best Practices

To get the best results, provide clear objectives, supply sufficient context, and always review generated changes before accepting them. Think of GitHub Copilot as a collaborative teammate that accelerates development while leaving architecture, security, and business decisions to the developer.

AI development agents represent the next step in GitHub Copilot's evolution, enabling developers to spend less time on repetitive coding and more time designing, solving problems, and delivering high-quality software.

AI by Josh
...see more

Open-source frameworks give developers the freedom to build AI agents without being tied to a commercial platform. They provide reusable components for common AI patterns such as agent orchestration, memory, tool calling, and workflow management, while still allowing full control over the implementation.

These frameworks evolve quickly and are often among the first to support new AI capabilities. They are a popular choice for development teams that want maximum flexibility and are comfortable managing their own infrastructure and deployments.

Popular frameworks

  • LangGraph
  • LangChain
  • AutoGen
  • CrewAI
  • Semantic Kernel
  • LlamaIndex

Key advantages

  • Highly customizable
  • No vendor lock-in
  • Large developer communities
  • Supports advanced agent architectures
  • Easy to combine with custom code

Things to consider

  • Requires software development expertise
  • Community support instead of guaranteed enterprise support
  • Frequent updates may introduce breaking changes
  • Security and maintenance remain your responsibility

Ideal use cases

  • Multi-agent systems
  • Research and experimentation
  • Custom AI applications
  • Enterprise solutions requiring maximum flexibility
  • Teams building reusable AI platforms

Summary

Open-source frameworks provide an excellent balance between flexibility and productivity. They accelerate AI development while allowing developers to keep full control over architecture and implementation.

AI by Josh
...see more

Cloud providers offer complete ecosystems for building, deploying, and managing AI agents. Instead of assembling individual components yourself, these platforms combine AI models with infrastructure, security, storage, monitoring, and development tools. This allows development teams to focus on building intelligent solutions rather than managing servers and infrastructure.

Cloud platforms are particularly attractive for organizations that already run their applications in the cloud, as they integrate naturally with existing services and can scale from small prototypes to enterprise-wide deployments.

Leading cloud platforms

  • Microsoft Azure OpenAI, Azure AI Foundry, Azure AI Search, Azure Functions, Azure Logic Apps
  • AWS Bedrock, Amazon SageMaker
  • Google Vertex AI, Google AI Studio

Key advantages

  • Enterprise-grade security
  • Automatic scalability
  • Managed AI services
  • Built-in monitoring and reliability
  • Easy integration with cloud resources

Things to consider

  • Ongoing cloud costs
  • Learning platform-specific services
  • Possible dependency on a single cloud provider

Ideal use cases

  • Enterprise AI applications
  • Customer-facing AI services
  • Large-scale automation
  • AI solutions that require high availability
  • Organizations already using cloud infrastructure

Summary

Cloud platforms provide a powerful foundation for AI agents by combining managed AI services with secure and scalable infrastructure. They reduce operational effort while making it easier to build production-ready AI solutions.

AI by Josh
...see more

Not every AI solution requires a team of developers. Low-code and no-code platforms allow users to build AI-powered workflows through visual interfaces instead of writing large amounts of code. By connecting triggers, actions, and AI models, organizations can automate everyday tasks in a fraction of the time needed for traditional development.

These platforms are especially useful for creating internal automations, prototypes, or business processes that integrate multiple applications. While they may not offer the same flexibility as custom development, they provide an excellent balance between speed and functionality.

Popular platforms

  • Zapier Agents
  • n8n
  • Microsoft Power Automate
  • Microsoft Power Platform
  • Make (formerly Integromat)

Key advantages

  • Little or no programming required
  • Fast development and deployment
  • Hundreds of built-in integrations
  • Easy workflow automation
  • Suitable for rapid prototyping

Things to consider

  • Limited customization for complex scenarios
  • Advanced workflows can become difficult to maintain
  • Platform capabilities differ

Ideal use cases

  • Business process automation
  • Connecting multiple applications
  • AI assistants for internal teams
  • Personal productivity workflows
  • Proof-of-concept projects

Summary

Low-code platforms make AI accessible to a much wider audience. They are an excellent choice when speed, simplicity, and integration are more important than complete technical control.

AI by Josh
...see more

Many organizations already use business platforms that now include built-in AI capabilities. Rather than creating an AI agent from scratch, these platforms allow you to build intelligent assistants directly within existing business applications. This significantly reduces development effort because the agent can immediately access business data, workflows, permissions, and automation features that already exist.

For companies that are heavily invested in a specific business ecosystem, this is often the fastest path to delivering useful AI solutions.

Leading enterprise platforms

  • Salesforce Agentforce
  • ServiceNow AI Agent
  • SAP Joule Agents
  • Microsoft Dynamics 365 Copilot
  • Oracle AI

Key advantages

  • Native integration with business applications
  • Enterprise-grade security and governance
  • Built-in workflows and automation
  • Faster implementation
  • Vendor support and maintenance

Things to consider

  • Higher licensing costs
  • Less architectural flexibility
  • Potential vendor lock-in
  • Features depend on the platform

Ideal use cases

  • Customer service
  • IT service management
  • HR automation
  • Finance operations
  • Enterprise workflow automation

Summary

Enterprise AI platforms focus on speed, reliability, and business integration. They are an excellent choice when AI should enhance existing enterprise applications rather than replace them.

AI by Josh
...see more

Building an AI agent from scratch gives you complete control over how it works. Instead of relying on predefined workflows or platform limitations, you decide how the agent reasons, stores information, communicates with other systems, and interacts with users. Although this approach requires more development effort, it provides the flexibility needed for highly specialized solutions.

For organizations with experienced development teams, custom development is often the preferred choice when existing platforms cannot satisfy business or technical requirements.

Popular technologies

  • Python
  • C# / .NET
  • Java
  • JavaScript / TypeScript
  • OpenAI SDK
  • Anthropic SDK
  • Google Gen AI SDK
  • Model Context Protocol (MCP)

Why choose custom development?

  • Complete architectural freedom
  • Unlimited customization
  • No vendor lock-in
  • Freedom to select models and libraries
  • Easy integration with existing systems

Things to consider

  • Longer development time
  • Requires AI and software engineering expertise
  • You are responsible for security, scaling, monitoring, and maintenance

Ideal use cases

  • Custom business workflows
  • Complex enterprise applications
  • Specialized integrations
  • Products that require unique AI capabilities

Summary

Custom development delivers the greatest flexibility and control, making it ideal for organizations that have the technical expertise to build and maintain their own AI solutions.

Azure by Doug
...see more

A good logging configuration helps you troubleshoot problems quickly while avoiding unnecessary telemetry and storage costs. In ASP.NET Core, Application Insights is configured in two parts: one for connecting to Azure and another for controlling which log messages are collected.

Configure the Application Insights Connection

The ApplicationInsights section contains the connection to your Azure Application Insights resource.

{
  "ApplicationInsights": {
    "ConnectionString": "InstrumentationKey=...;IngestionEndpoint=..."
  }
}

Using a Connection String is the recommended approach and replaces the older Instrumentation Key.

Configure Logging

The Logging section determines which messages are written by your application. In most cases, the global LogLevel settings are sufficient. If needed, you can also define provider-specific settings for Application Insights.

{
  "ApplicationInsights": {
    "ConnectionString": "InstrumentationKey=...;IngestionEndpoint=..."
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "YourCompany.YourApplication": "Information",
      "Microsoft": "Warning",
      "System": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    },
    "ApplicationInsights": {
      "LogLevel": {
        "Default": "Information",
        "YourCompany.YourApplication": "Information",
        "Microsoft": "Warning",
        "System": "Warning"
      }
    }
  }
}

What Each Setting Does

Setting Purpose
ApplicationInsights:ConnectionString Connects the application to your Azure Application Insights resource.
Logging:LogLevel Defines the default log levels used throughout the application.
Logging:ApplicationInsights:LogLevel Optionally overrides the log levels used only by the Application Insights logging provider.

Recommended Production Configuration

A balanced production configuration is usually:

  • Default: Information
  • Your application namespace: Information
  • Microsoft: Warning
  • System: Warning
  • Microsoft.Hosting.Lifetime: Information

For development, you can temporarily change your own application's namespace to Debug or Trace to collect more detailed diagnostic information without increasing the verbosity of framework logs.

This configuration provides useful application telemetry, keeps framework logging under control, and makes troubleshooting easier while avoiding unnecessary noise and storage costs.

...see more

Artificial Intelligence is no longer limited to data scientists. Modern cloud platforms provide ready-to-use AI services that allow developers to add intelligent capabilities to applications with minimal machine learning expertise.

Core AI Capabilities

Azure offers a broad portfolio of managed AI services for different use cases:

  • Generative AI – Create chatbots, assistants, and content generation solutions using large language models.
  • Document Intelligence – Extract structured information from invoices, receipts, forms, and other business documents.
  • AI Search – Build intelligent search experiences across structured and unstructured data using semantic and vector search.
  • Vision & Speech – Analyze images and videos, recognize text, convert speech to text, generate natural speech, and translate conversations.
  • Language AI – Detect sentiment, recognize entities, summarize text, translate languages, and power conversational applications.
  • Content Safety – Automatically detect harmful or inappropriate text and images before they reach users.

Building Smarter AI Applications

A common architecture combines AI Search with generative AI. Documents are indexed, relevant information is retrieved, and only the most useful content is supplied to the language model. This retrieval-based approach improves response accuracy while enabling AI applications to work with private organizational data without relying solely on the model's built-in knowledge.

Simplifying AI Development

Modern AI development platforms provide centralized workspaces for managing models, datasets, and shared resources. They also include tools for governance, collaboration, deployment, and monitoring. AI-powered assistants further improve productivity by helping developers generate scripts, troubleshoot cloud resources, analyze costs, and identify security or compliance issues, making it easier to design, deploy, and maintain intelligent applications at scale.

Windows by Burton
...see more

A surprisingly large C:\Windows\System32\Configuration folder can consume tens of gigabytes on a Windows Server. One common cause is the DSC (Desired State Configuration) status history stored in the ConfigurationStatus folder.

In this case, the folder contained more than 30,000 status files and consumed over 40 GB of disk space. Although the Local Configuration Manager (LCM) was configured to retain status information for only a limited number of days, old files were still present, indicating that the cleanup process was no longer working correctly.

A structured approach helps determine whether the problem is caused by excessive status files, corrupted DSC state information, or a failing configuration.

The process consists of three main steps:

  • Analyze the current DSC configuration and status history.
  • Clean up old status files that are no longer needed.
  • Repair DSC and identify any configuration resources that are failing.

Following these steps helps reclaim disk space, restore DSC functionality, and identify configuration issues that may prevent DSC from running successfully.

Windows by Burton
...see more

If cleanup does not resolve the issue, the next step is to investigate DSC itself.

First restart the relevant services:

Restart-Service WinRM -Force
Restart-Service WmiApSrv -Force -ErrorAction SilentlyContinue

Next, review the DSC operational log for detailed error messages:

Get-WinEvent -LogName "Microsoft-Windows-DSC/Operational" -MaxEvents 20 |
    Select-Object TimeCreated, Id, LevelDisplayName, Message |
    Format-List

The operational log often reveals the resource responsible for the failure.

To test the current DSC configuration, manually start a configuration run:

Start-DscConfiguration -UseExisting -Wait -Verbose

In this scenario, DSC reported a failure in the MSFT_AccountPolicy resource while attempting to update the Minimum_Password_Length setting.

This indicates that:

  • DSC is still able to load the current configuration.
  • The active configuration contains a failing resource.
  • The failure may be caused by a conflict with local or domain password policies.
  • Corrupted DSC status information may be generated when the configuration repeatedly fails.

At this stage, review the DSC configuration source and verify whether password policy settings should still be managed by DSC. Correcting or removing the failing configuration and then applying a new configuration is typically the final step in restoring a healthy DSC environment.

Add to Set
  • .NET
  • Agile
  • AI
  • ASP.NET Core
  • Azure
  • C#
  • Cloud Computing
  • CSS
  • EF Core
  • HTML
  • JavaScript
  • Microsoft Entra
  • PowerShell
  • Quotes
  • React
  • Security
  • Software Development
  • SQL
  • Technology
  • Testing
  • Visual Studio
  • Windows
Actions