Category: Uncategorized

  • Create advanced policies

    This unit provides a reference for the following API Management policies:

    • Control flow – Conditionally applies policy statements based on the results of the evaluation of Boolean expressions.
    • Forward request – Forwards the request to the backend service.
    • Limit concurrency – Prevents enclosed policies from executing by more than the specified number of requests at a time.
    • Log to Event Hubs – Sends messages in the specified format to an event hub defined by a Logger entity.
    • Mock response – Aborts pipeline execution and returns a mocked response directly to the caller.
    • Retry – Retries execution of the enclosed policy statements, if and until the condition is met. Execution repeats at the specified time intervals and up to the specified retry count.

    Control flow

    The choose policy applies enclosed policy statements based on the outcome of evaluation of boolean expressions, similar to an if-then-else or a switch construct in a programming language.

    XMLCopy

    <choose>
        <when condition="Boolean expression | Boolean constant">
            <!— one or more policy statements to be applied if the above condition is true  -->
        </when>
        <when condition="Boolean expression | Boolean constant">
            <!— one or more policy statements to be applied if the above condition is true  -->
        </when>
        <otherwise>
            <!— one or more policy statements to be applied if none of the above conditions are true  -->
    </otherwise>
    </choose>
    

    The control flow policy must contain at least one <when/> element. The <otherwise/> element is optional. Conditions in <when/> elements are evaluated in order of their appearance within the policy. Policy statements enclosed within the first <when/> element are applied when the condition attribute is true. Policies enclosed within the <otherwise/> element, if present, are applied if all of the <when/> element condition attributes are false.

  • Discover the API Management service

    API Management provides the core functionality to ensure a successful API program through developer engagement, business insights, analytics, security, and protection. Each API consists of one or more operations, and each API can be added to one or more products. To use an API, developers subscribe to a product that contains that API, and then they can call the API’s operation, subject to any usage policies.

  • Complete the challenge to convert Fahrenheit to Celsius

    In this challenge, you’ll write code that will use a formula to convert a temperature from degrees Fahrenheit to Celsius. You’ll print the result in a formatted message to the user.

    Challenge: Calculate Celsius given the current temperature in Fahrenheit

    1. Select all of the code in the .NET Editor, and press Delete or Backspace to delete it.
    2. Enter the following code in the .NET Editor:C#Copyint fahrenheit = 94;
    3. To convert temperatures in degrees Fahrenheit to Celsius, first subtract 32, then multiply by five ninths (5 / 9).
    4. Display the result of the temperature conversion in a formatted messageCombine the variables with literal strings passed into a series of Console.WriteLine() commands to form the complete message.
    5. When you’re finished, the message should resemble the following output:OutputCopyThe temperature is 34.444444444444444444444444447 Celsius.
  • Integrate Dataflows Gen2 and Pipelines in Microsoft Fabric

    Dataflows Gen2 provide an excellent option for data transformations in Microsoft Fabric. The combination of dataflows and pipelines is useful when you need to perform additional operations on the transformed data.

    Data pipelines are a common concept in data engineering and offer a wide variety of activities to orchestrate. Some common activities include:

    • Copy data
    • Incorporate Dataflow
    • Add Notebook
    • Get metadata
    • Execute a script or stored procedure

    Pipelines provide a visual way to complete activities in a specific order. You can use a dataflow for data ingestion, transformation, and landing into a Fabric data store. Then incorporate the dataflow into a pipeline to orchestrate extra activities, like execute scripts or stored procedures after the dataflow has completed.

  • GitHub Copilot on GitHub.com

    GitHub Copilot extends beyond your local development environment to provide AI assistance directly on GitHub.com. When working with repositories, issues, pull requests, and discussions on the GitHub web interface, you can leverage Copilot’s capabilities to streamline your workflow and enhance collaboration.

    In this unit, we’ll cover:

    • How to access GitHub Copilot on GitHub.com
    • GitHub Copilot agent tasks on GitHub.com
    • Repository exploration and documentation
    • Pull request assistance
    • Issue management
    • Code review and collaboration
    • GitHub Copilot error explanation in GitHub Actions

    Accessing Copilot on GitHub.com

    Copilot is integrated throughout the GitHub web interface, appearing as a chat button or inline suggestions in various contexts. You can access Copilot features in several areas:

    • Repository pages – Get explanations of code, documentation, and project structure
    • Issues and pull requests – Generate summaries, suggest solutions, and draft responses
    • Discussions – Help formulate responses and provide technical insights
    • Code review – Analyze changes and suggest improvements

    GitHub Copilot agent tasks on GitHub.com

    When using Copilot on GitHub.com, you can perform various agent-driven tasks:

    Screenshot showing various GitHub Copilot agent tasks available on GitHub.com including repository exploration, pull request assistance, and issue management.

    These tasks can run in the background for you while you focus on other work.

    Repository exploration and documentation

    • Code explanation: Ask Copilot to explain complex code sections, functions, or entire files
    • Project overview: Get AI-generated summaries of repository purpose, architecture, and key components
    • Documentation generation: Create or improve README files, API documentation, and code comments

    Example: “Explain the main functionality of this repository and its key components”

    Screenshot of GitHub Copilot providing code explanation and repository overview on a GitHub repository page.

    Pull request assistance

    GitHub Copilot on GitHub.com significantly accelerates your pull request workflow by automating many time-consuming review and documentation tasks:

    • PR summaries: Generate comprehensive summaries of changes made in a pull request, helping reviewers quickly understand the scope and impact of modifications
    • Review suggestions: Get recommendations for code improvements and potential issues before formal review, reducing review cycles
    • Merge conflict resolution: Receive guidance on resolving conflicts between branches, streamlining the merge process
    • Documentation updates: Automatically suggest updates to README files, changelogs, and other documentation based on code changes
  • GitHub Copilot Chat

    GitHub Copilot Chat is an advanced feature of the GitHub Copilot ecosystem, designed to provide developers with an interactive, conversational AI assistant directly within their development environment. It allows developers to have natural language conversations about their code, ask questions, and receive intelligent responses and suggestions in real-time. In this unit, we cover:

    • How to generate code using GitHub Copilot Chat.
    • Debugging using GitHub Copilot Chat.
    • How to get code explanations using GitHub Copilot Chat.
    • Using slash commands to perform actions with GitHub Copilot.
    • Using custom GitHub Copilot agents to improve prompts.

    To access Copilot in your Integrated Development Environment(IDE), click the chat icon on the left navbar.

    Screenshot of Chat.

    GitHub Copilot Chat is beneficial in certain scenarios:

    • Complex code generation When you need to implement complex algorithms, data structures, or generate boilerplate code for specific design patterns, Copilot Chat can help streamline the process. It can help create intricate regular expressions, construct detailed SQL queries, or develop advanced data structures like a Bubble sort in Python.
  • Introduction

    GitHub Copilot is an advanced AI-powered coding assistant that can dramatically enhance developer efficiency across every stage of your development workflow. GitHub Copilot saves time for developers, enabling them to concentrate on higher-level problem-solving and innovation by automating routine tasks, providing relevant code completion, and generating entire blocks of code that accelerate development cycles from initial coding to pull request completion.

    GitHub Copilot offers flexible interaction options tailored to your workflow, meeting you wherever you work in your development environment. Whether through code completion in your IDE, conversational chat for complex problem-solving, collaborative features on GitHub.com, or command-line assistance, Copilot seamlessly integrates across environments to enhance your development experience and productivity. Understanding these interaction modes is key to unlocking the full potential of GitHub Copilot and optimizing your coding workflow to rapidly deliver quality code changes.

    This module covers the different methods for interacting with GitHub Copilot, guiding you on when, where, and how to use these methods to effectively communicate your goals to Copilot and provide it with the necessary information to complete your tasks.

    In this module you’ll learn about:

    • How to utilize GitHub Copilot’s auto-suggestions, multiple suggestions pane, and its ability to adapt to different coding styles to accelerate development workflows.
    • How to provide context to GitHub Copilot through inline comments, block comments, docstrings, and other types of comments to enhance code generation accuracy and speed.
    • Interacting with GitHub Copilot through natural language conversations to generate complex code, debug issues, obtain code explanations, and streamline development tasks in real-time.
    • How to improve the relevance of GitHub Copilot Chat’s suggestions by using scope referencing, slash commands, and agents to quickly complete routine tasks.
    • Leveraging GitHub Copilot on GitHub.com for repository exploration, pull request assistance, agent tasks and collaborative code review workflows.
    • How to interact with GitHub Copilot in CLI to get command explanations, suggestions, and execute commands to automate terminal workflows.
    • How to set up GitHub Copilot CLI configurations, aliases, and m
  • Code completion with GitHub Copilot

    GitHub Copilot code completion features live directly within your IDE, where you write and review your code. GitHub Copilot integrates seamlessly with editors like Visual Studio Code or JetBrains, offering features such as autosuggestions, a multiple suggestions pane, and support for various coding styles. You primarily interact with GitHub Copilot through these IDE tools, and understanding how and where to use them helps you optimize its powerful code generation abilities.

    In this unit, we cover:

    • GitHub Copilot supported languages
    • Auto suggestions
    • Multiple suggestions pane
    • Support for different coding styles in suggestions
    • How GitHub Copilot incorporates coding comments for suggestions

    GitHub Copilot supported languages

    GitHub Copilot provides robust support for a wide range of programming languages and frameworks, with strong capabilities in:

    • Python
    • JavaScript
    • Java
    • TypeScript
    • Ruby
    • Go
    • C#
    • C++

    While these languages receive exceptional support, GitHub Copilot can assist with many other languages and frameworks as well.

    vmware-vsphere-certification-training-courses-malaysia

  • Describe the capabilities of Copilot in the Dynamics 365 customer engagement apps

    Artificial intelligence (AI) is changing how companies do business. Not only can it provide organizations with important insights, but it also helps streamline how individuals do their work. Microsoft’s Copilot uses AI to allow individuals to communicate their needs using natural language and provides them with relevant assistance based on the details they provide.

    Copilot can be used throughout Dynamics 365 customer engagement applications. Copilot can help users easily retrieve information about their customers and streamline things such as data entry and task completion.

    Microsoft 365 Copilot for Sales

    Copilot for Sales is an AI assistant designed for sellers to maximize productivity and close more deals. It brings next-generation AI and sales insights from their CRM platform into the Microsoft 365 productivity tools that they use daily like Microsoft Outlook, Microsoft Teams, and Microsoft Word.

    Sellers can work more efficiently and improve customer experiences with email assistance, personalized sales content creation, AI-generated insights, and recommendations for next steps. Sales managers can empower their teams with AI-powered manager insights and collaboration tools. Copilot for Sales can also be customized according to your business needs. Copilot for Sales integrates seamlessly with Microsoft Dynamics 365 Sales and Salesforce Sales Cloud and can be configured to connect to other sales solutions.

    Copilot in Dynamics 365 Sales

    Copilot is an AI assistant in Dynamics 365 Sales that helps sales teams be more productive and efficient in their daily work. It has a chat interface that helps sellers quickly summarize their opportunity and lead records, stay updated on recent changes, prepare for meetings, and read the latest news about their accounts. Sellers can chat with Copilot in natural language or use predefined prompts to get the information they need.

    web development

  • Pillars of a great architecture

    The cloud has changed how business applications for organizations are designed and implemented. As a result, solution architectures can now be pulled together from one or more SaaS services that are working together to form a complete solution. In solving customer’s business problems, solution architects should be comfortable using the following services to build their overall solution:

    • Dynamics 365
    • Microsoft 365
    • AppSource
    • Extending with Microsoft Power Platform
    • Microsoft Azure (used to fill in the remaining gaps)
    • Microsoft Copilot

    Design a great business application solution

    While one single blueprint doesn’t exist for illustrating what a great business application solution architecture looks like, certain concepts apply, regardless of the unique customer challenges that you’re solving. While the following sections don’t provide a complete list, focusing on these concepts helps you build better overall solutions.

    Security

    Data is one of the most valuable assets of an organization, and ensuring proper use and access to this data is essential. In the security pillar, you’re focused on securing access to your architecture through authentication and protecting your application and data from network vulnerabilities. This process includes ensuring that you’re working with the appropriate teams to enable features like Azure Conditional Access and Data Loss Prevention policies. Additionally, you confirm appropriate use of your solution of secrets, certificates, and other techniques to ensure that access to data and services don’t fall into the wrong hands.

    You must think about security throughout the entire life cycle of your application, from design and implementation to deployment and operations.

    Customers entrust their data to your organization; you must ensure that only the right users have access. Beyond perimeter control through authentication, you must implement a security model that enforces access to the data that users are allowed to use. You must ensure that the security constructs that are established don’t place undue burden on your architects and prevent staff from doing their job, thus making the system unmaintainable.

    testing