Azure Devops CICD


When a pull request complete how to execute the build pipeline automatically

Step1


Step2





How to execute the release pipeline






How to clear nuget cache in pipeline

- script: | dotnet nuget locals all --clear displayName: 'Clear NuGet Cache'


Successful Build Pipeline


trigger:
none

pool:
  name'Default'

variables:
  buildPlatform'Any CPU'
  buildConfiguration'Release'
  solution'**/ApxSystems.TaPlus'
  project:  '**/ApxSystems.TaPlus.Blazor.csproj'

steps:
taskUseDotNet@2
  inputs:
   packageType'sdk'
   version'7.0.202'


taskNuGetToolInstaller@1
  name'NuGetToolInstaller'
  displayName'NuGet tool installer'


taskDotNetCoreCLI@2
  name'Blazor'
  displayName'Blazer'
  inputs:
    command'build'
    projects'$(project)'
    arguments'--configuration $(BuildConfiguration)'

taskDotNetCoreCLI@2
  name'Publish'
  displayName'Publish'
  inputs:
    command'publish'
    publishWebProjectsfalse
    projects'$(project)'
    arguments'--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
    zipAfterPublishfalse

taskPublishBuildArtifacts@1
  name'PublishBuildArtifacts'
  displayName'Publish build artifacts'
  inputs:
    PathtoPublish'$(Build.ArtifactStagingDirectory)'
    ArtifactName'ApxSystems.TaPlus.Blazor'
    TargetPath'\\my\share\$(Build.DefinitionName)\$(Build.BuildNumber)'



If you have multiple projects in solution and you want build and publish perticular project use this tag false

 publishWebProjectsfalse


Mention here branch when commit happen pipeline automatically start

trigger:
none





CDN-


Global delivery and acceleration of any content to any device
Ensuring a consistent user experience is important. If your websites or mobile apps involve streaming media, gaming software, firmware updates (Smart TVs, consumer electronic appliances) or IoT endpoints (cars, sensors), then Azure Content Delivery Network helps you reduce load times, save bandwidth, and increase responsiveness.

APIs for building global applications fast
APIs and developer tools give you the performance, reliability, and security you need to build global applications. Programmatic access gives customers flexibility to optimize features to provide the highest levels of availability and performance.

Multiple providers for your content delivery needs
Content Delivery Network gives you choices from Akamai and Verizon. Customers can select the right content delivery network based on their needs, regions in which they operate, as well as load balance across content delivery networks

Accelerated content and apps performance
Speed matters. Content Delivery Network sends audio, video, applications, images, and other files faster and more reliably to customers by moving content closer to your users, which gives your users an improved experience.

Robust security
Content Delivery Network helps you stay up and running by identifying, absorbing, and blocking security threats to absorb distributed denial-of-service (DDoS) attacks. Content Delivery Network also includes the highest certification by the FedRAMP Joint Authorization Board (JAB).

Backed by massive storage and compute capacity
Thanks to its distributed global scale, Content Delivery Network handles sudden traffic spikes and heavy loads, like the start of a major product launch or global sporting event, without new infrastructure costs or capacity concerns.

Control as simple or complex as you need
A rule-based content delivery engine offers granular control on how and when your content is served. Easily create rules to improve content security, reduce load on your origin servers, or provide responses for mobile devices with differing capabilities.

Advanced real-time analytics
Dive deeper into how your users engage with your content. Get insight into how your assets are being cached and delivered and monitor your traffic in real-time with granular analytics.

Application Insights



Application performance management
Get rich performance monitoring, powerful alerting, and easy-to-consume dashboards to help ensure your applications are available and performing as you expect. Quickly see if you have a problem, how many customers are affected, and perform a root cause analysis to find and fix the issue.

Interactive data analytics
Get answers to your tough questions, and take your applications to the next level. Detect trends in application performance and behavior, identify usage patterns, and get fast answers to probing questions about your website performance. Interactive queries and full-text search make finding the information you need quick and easy

Machine learning

Get the most out of your application performance management solution using the power of machine learning to continually analyze application telemetry. Detect anomalies, failure counts, performance changes, and Azure Cloud Services behaviors. Get notifications and alerts with rich diagnostic information so you can respond to issues at the speed your customers demand

Azure Diagnostics
Proactively detect and diagnose role lifecycle issues—recycle, hung, not started—that might affect your applications or cloud services. Efficiently track virtual machine performance alongside application performance data in the same view.

DevOps integration
Diagnose problems from within your development environment, and incorporate monitoring in your DevOps processes. Search events from within the Visual Studio IDE, uncover production problems, set alerts, and go directly to the offending line of code. View annotations to see if a deployment or infrastructure change correlates with issues. Integrate detected bugs and work items with Visual Studio Team Services or GitHub. Increase your visibility over applications with the Application Insights Connector for Log Analytics, and bring your operation and application data together in one place.

Get started quickly
Azure Application Insights is included with Visual Studio. You get automatic instrumentation for ASP.NET developers and application telemetry data right out of the box—including usage, exceptions, requests, performance, and logs.
Monitor web apps—whether written in Java, Ruby, Python, PHP, Node.js, Microsoft .NET, or other languages—using open source SDKs. Install the Application Insights Status Monitor on your existing Azure App Services and virtual machines through the Azure portal to get performance monitoring without updating and redeploying your application



Traffic Manager

Reduce application downtime
Traffic Manager can improve the availability of important applications by monitoring your Azure services, or external websites and services, and it automatically directs your customers to a new location when there’s a failure.

Improve app performance and content delivery

Traffic Manager makes your applications more responsive and improves content delivery times by directing your customers to Azure or an external location with the lowest network latency.
Distribute user traffic over multiple locations
Traffic Manager can direct your customer traffic to distribute it across multiple locations, such as multiple cloud services or multiple Azure web apps. Traffic Manager can use equal or weighted load distribution.

Use with your on-premises datacenter
Traffic Manager is a popular option for on-premises scenarios including burst-to-cloud, migrate-to-cloud, and failover-to-cloud. Use it to upgrade or perform maintenance on your on-site datacenter without inconveniencing your customers.



HockeyApp


Nobody wants their app to crash, but when it happens, you want detailed crash reports and information quickly. HockeyApp creates debug symbols and groups similar crashes to help you understand their frequency and prioritize your backlog. Integrate your crash reports with your application lifecycle management (ALM) tooling to manage all of your work items in one place

Track customer metrics
Understand customer behavior to improve your app. Track usage through daily and monthly active customers. Monitor crash-affected customers and measure engagement through session count.

Distribute your apps
Think of HockeyApp as your in-house app store for testing. Offer all of your apps in one place for beta testers and customers to install, and require customers to update to a specific version if needed. Integrate HockeyApp into your continuous build process to make uploads and distribution automatic, while ensuring your latest version is available immediately.

Full beta test coverage
Make sure your apps are being tested on the platforms you care about and get insights on your beta test coverage—what devices were used, what languages were tested, and how long the testers used the app. Create a dedicated page to recruit new customers if you need to increase your test coverage

API Management

Use Azure API Management as a turnkey solution for publishing APIs to external and internal customers. Quickly create consistent and modern API gateways for existing back-end services hosted anywhere, secure and protect them from abuse and overuse, and get insights into usage and health. Plus, automate and scale developer onboarding to help get your API program up and running

Work with any host, API, and scale
Use an API management platform that works the way you do. Securely connect to back-end services built and running on any technology stack—it doesn’t matter if you select Azure or another service to host your APIs. API Management is available worldwide and ready to scale up and down on demand, without service interruption, and handle any traffic growth or spike.

Attract more developers
Use a self-service developer portal that gives you access to an auto-generated API catalog, documentation, and code samples. Developers can sign in using existing customer or work identities, manage access keys, see their API usage reports, and make API calls without writing a line of code via an interactive console.

Secure and optimize your APIs
Secure your APIs using a key, token, and IP filtering. Enforce flexible and fine-grained quotas and rate limits, modify the shape and behavior of your APIs using policies, and improve latency and scale your APIs with response caching

Gain insights into your APIs
Get a better understanding of how your APIs are being used and performing. Get near real-time analytics reports and identify trends that might affect your business. Plus, log request and response data for more online and offline analysis.


Notification Hubs

Fast broadcast to millions of devices
Azure Notification Hubs is a massively scalable mobile push notification engine for quickly sending millions of notifications to iOS, Android, Windows, or Kindle devices, working with APNs (Apple Push Notification service), GCM (Google Cloud Messaging), WNS (Windows Push Notification Service), MPNS (Microsoft Push Notification Service), and more. Tailor your notifications to specific customers—or entire audiences—with just a few lines of code, and do it across any platform.

Works with any back end
Notification Hubs is flexible enough to plug into any back end—Microsoft .NET, PHP, Java, Node.js—whether it’s located on-premises or in the cloud. This makes it easier to instantly update your mobile apps and engage your customers

Target any audience with dynamic tags
Broadcast push notifications to everyone at once or target specific customer devices using the Notification Hubs tagging feature. Tags let you segment customers based on activity, interest, location, or preference, so you deliver the right content to the right person at the right time.

Make localization easier with templates
If your app covers multiple markets, the templates feature of Notification Hubs gives you a handy way to send localized push notifications, so you’re speaking to customers in their languages. Templates also eliminate the hassle of storing the localization settings for each customer or creating hundreds of tags

Designed for massive scale
Quickly scale to millions of mobile devices and billions of notifications without re-architecting or sharding. Notification Hubs automatically handles the infrastructure necessary to scale your message to every active device with low latency

Data Lake Store

Unlock maximum value from all of your unstructured, semi-structured, and structured data using the first cloud data lake built for enterprises with no limits on the size of data. Azure Data Lake Store is secured, massively scalable, and built to the open HDFS standard, allowing you to run massively-parallel analytics.

Petabyte-size files and trillions of objects
With Azure Data Lake Store, analyze all of your data in one place with no artificial constraints. Data Lake Store can store trillions of files. A single file can be larger than one petabyte in size—200 times larger than other cloud store options. This makes Data Lake Store ideal for storing any type of data including massive datasets like high-resolution video, genomic and seismic datasets, medical data, and data from a wide variety of industries.

Scalable throughput for massively-parallel analytics
Without you redesigning your application or repartitioning your data at higher scale, Data Lake Store scales throughput to support any size of analytic workload. You get massive throughput to run analytic jobs with thousands of concurrent executors that efficiently read and write hundreds of terabytes of data

Always encrypted, role-based security and auditing
Data Lake Store protects your data assets and extends your on-premises security and governance controls to the cloud. Your data is always encrypted, while in motion using SSL, and at rest using service or user-managed HSM-backed keys in Azure Key Vault. Single sign-on (SSO), multi-factor authentication, and seamless management of millions of identities is built-in through Azure Active Directory. Authorize users and groups with fine-grained POSIX-based ACLs for all data in your store and enable role-based access controls. Meet security and regulatory compliance needs by auditing every access or configuration change to the system.

HDFS for the cloud
Microsoft Azure Data Lake Store supports any application that uses the open Apache Hadoop Distributed File System (HDFS) standard. By supporting HDFS, you can easily migrate your existing Hadoop and Spark data to the cloud without recreating your HDFS directory structure.

Event Hubs

Stream millions of events per second
Azure Event Hubs is a hyper-scale telemetry ingestion service that collects, transforms, and stores millions of events. As a distributed streaming platform, it gives you low latency and configurable time retention, which enables you to ingress massive amounts of telemetry into the cloud and read the data from multiple applications using publish-subscribe semantics

Process real-time and batch on the same stream
Use the Event Hubs Capture feature, which allows a single stream to support real-time and batch based pipelines, and reduces the complexity of your solution. Build for today’s batch processing on a platform that supports tomorrow’s real-time analytics and processing. Event Hubs Capture is the easiest way to load data into Azure

Take advantage of a fully-managed platform as a service
Event Hubs is a fully-managed service—there are no servers to maintain and no software licenses to get. Pricing is simple and easy. Event Hubs lets you focus on getting value from your telemetry rather than on gathering the data.

Handle volume, variety, and velocity
Big data originates from many sources with variable load profiles, such as thermostats that produce telemetry data every few minutes, application performance counters that generate events every second, and mobile apps that capture telemetry for every customer’s action. Event Hubs is a fully-managed service that ingests events with elastic scale to accommodate variable load profiles and the spikes.

Develop across platforms with support for many languages
Event Hubs uses Advanced Message Queuing Protocol (AMQP) to enable interoperability and binary compatibility across platforms, while also supporting HTTPS for data ingress. With native clients in Java and .NET, it's easy to get started with Event Hubs. You can also integrate with Azure Services including Stream Analytics and Virtual Machines, while building rich serverless workflows.There is also a strong Event Hubs open source community that’s continually creating new adapters and connectors for popular platforms such as Apache NiFi and Elastic Stack








No comments:

Post a Comment