![Takneeki Gyan Guru](/img/default-banner.jpg)
- 104
- 31 375
Takneeki Gyan Guru
India
เข้าร่วมเมื่อ 17 ธ.ค. 2023
Deploy .NET Core Web App to IIS on Azure VM using Jenkins, Azure CLI, and GitHub
In this tutorial, you'll learn how to deploy a .NET Core web application to IIS on an Azure Virtual Machine using Jenkins, Azure CLI, and GitHub. We will walk you through the complete Jenkins pipeline stages, including pull, restore, build, test, upload, and deploy. Additionally, you'll learn how to create an Azure Windows VM, set up an Azure storage account, and create an Azure service principal.
Topics Covered:
Setting up Jenkins pipeline for .NET Core applications
Creating an Azure Windows Virtual Machine
Configuring Azure Storage Account
Setting up Azure Service Principal
Deploying applications to IIS on Azure VM
GitHub Repository:
🔗 GitHub Link : github.com/takneekigyanguru/dotnetcore-sms.git
Branch Name: Azurevm
Setup WinRM Command:
powershell
Copy code
# Enable WinRM
Enable-PSRemoting -Force
# Configure WinRM to allow basic authentication and set the firewall rule
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
New-NetFirewallRule -Name "WinRM" -DisplayName "WinRM" -Enabled True -Profile Any -Action Allow -Direction Inbound -Protocol TCP -LocalPort 5985
# Set the TrustedHosts list
Set-Item -Path WSMan:\localhost\Client\TrustedHosts -Value '*'
Get Secret Key and Access Key Command:
az ad sp create-for-rbac --name "spdotnetapp" --role contributor --scopes /subscriptions/subscriptionid
Follow me for more tutorials on DevOps, Cloud Computing, and Software Development! Don't forget to like, share, and subscribe!
Topics Covered:
Setting up Jenkins pipeline for .NET Core applications
Creating an Azure Windows Virtual Machine
Configuring Azure Storage Account
Setting up Azure Service Principal
Deploying applications to IIS on Azure VM
GitHub Repository:
🔗 GitHub Link : github.com/takneekigyanguru/dotnetcore-sms.git
Branch Name: Azurevm
Setup WinRM Command:
powershell
Copy code
# Enable WinRM
Enable-PSRemoting -Force
# Configure WinRM to allow basic authentication and set the firewall rule
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
New-NetFirewallRule -Name "WinRM" -DisplayName "WinRM" -Enabled True -Profile Any -Action Allow -Direction Inbound -Protocol TCP -LocalPort 5985
# Set the TrustedHosts list
Set-Item -Path WSMan:\localhost\Client\TrustedHosts -Value '*'
Get Secret Key and Access Key Command:
az ad sp create-for-rbac --name "spdotnetapp" --role contributor --scopes /subscriptions/subscriptionid
Follow me for more tutorials on DevOps, Cloud Computing, and Software Development! Don't forget to like, share, and subscribe!
มุมมอง: 166
วีดีโอ
Traffic Light Classification with Node.js, React.js, TensorFlow, and COCO-SSD | AI ML Tutorial
มุมมอง 573 หลายเดือนก่อน
In this tutorial, we'll walk you through creating a traffic light classification app using Node.js and React.js, powered by TensorFlow and the COCO-SSD model. We'll cover everything from setting up the development environment to building both the backend and frontend, and finally connecting them together. You'll learn how to: Set up a Node.js server to handle image processing and predictions Us...
Complete Monitoring Setup on AWS EC2 Ubuntu: Node Exporter, Prometheus & Grafana |Jenkins Automation
มุมมอง 2263 หลายเดือนก่อน
In this tutorial, we'll walk you through the complete setup of monitoring tools on AWS EC2 Ubuntu instances. We'll install Node Exporter, Prometheus, and Grafana on separate servers, enabling comprehensive monitoring of your infrastructure. One server will host the Tomcat application and Node Exporter, while another server will handle Prometheus and Grafana. Node Exporter will gather data from ...
Building an AI-Powered Flower Recognition App with ML.NET and React | AI/ML Tutorial
มุมมอง 513 หลายเดือนก่อน
In this comprehensive AI/ML tutorial, we'll guide you through the process of building a sophisticated flower recognition application using ML.NET as the backend API and React as the frontend framework. Discover the ins and outs of image classification as we explore the significance of flower recognition, the importance of automation, and the implementation process with a live demonstration. Lea...
Automated Deployment of Java Web Projects to Tomcat Server via Jenkins on Windows [Step-by-Step]
มุมมอง 14K3 หลายเดือนก่อน
In this tutorial, we'll explore deploying a Java web application, constructed with Maven, onto a Windows-based Tomcat server using Jenkins. We'll cover setting up the project in Eclipse, committing it to GitHub, configuring a Jenkins pipeline, and automating the deployment process. Follow along step by step to streamline your development workflow! Before diving into the tutorial on deploying a ...
Convert Java Web Project to Maven & Deploy to Tomcat on Windows [Step-by-Step]
มุมมอง 593 หลายเดือนก่อน
Learn how to convert your Java web dynamic project to Maven and deploy it to a Tomcat server manually on a Windows machine. This comprehensive tutorial guides you through the entire process, from setting up Maven to configuring Tomcat and deploying your application. Whether you're new to Maven or an experienced developer, this video will help you streamline your development workflow and deploy ...
How to Install Tomcat Server on Windows and Deploy WAR Files Easily
มุมมอง 954 หลายเดือนก่อน
In this tutorial, we'll show you how to install the Apache Tomcat server on a Windows machine and deploy WAR files effortlessly. Whether you're a beginner or an experienced developer, this step-by-step guide will walk you through the entire process. Learn how to set up Tomcat, configure it for your environment, and deploy your applications with ease. Watch now and get started with Tomcat!
GitHub and Eclipse Integration Tutorial: Push Code from Eclipse to GitHub
มุมมอง 484 หลายเดือนก่อน
In this tutorial, learn how to seamlessly integrate GitHub with Eclipse for efficient version control management. I'll walk you through the step-by-step process of setting up Git within Eclipse, linking your Eclipse projects to GitHub repositories, and pushing your code changes directly from Eclipse to GitHub. Whether you're a beginner or an experienced developer, this comprehensive guide will ...
Java Web Application Tutorial: Building a Payroll System with Eclipse, Tomcat, and JSP
มุมมอง 424 หลายเดือนก่อน
In this comprehensive tutorial, you'll learn how to create a dynamic web application in Java using Eclipse IDE, Apache Tomcat server, and JavaServer Pages (JSP). Follow along step-by-step as we build a sample Payroll System, covering essential concepts such as servlets, JSP, session management, and more. Whether you're a beginner or an experienced developer, this tutorial will guide you through...
Integrating SonarQube with Jenkins Pipeline for .NET Core Projects: DevSecOps Step-by-Step Guide
มุมมอง 5254 หลายเดือนก่อน
Unlock the power of continuous code quality improvement with our step-by-step guide to integrating SonarQube with Jenkins Pipeline. Join us as we walk through the process of setting up SonarQube in your Jenkins pipeline and performing code scans on .NET Core projects. Learn how to ensure code quality and security are top priorities in your development workflow. GitHub URL github.com/takneekigya...
Step-by-Step Guide: Scanning Your .NET Project with SonarQube
มุมมอง 4264 หลายเดือนก่อน
Unlock the secrets of code scanning with SonarQube! Join us as we delve into the world of code security, code smell detection, vulnerability assessment, and overall code quality evaluation for .NET projects. Follow along step-by-step as we demonstrate how to use SonarQube to ensure your codebase meets the highest standards of excellence and reliability. Installing SonarQube with PostgreSQL on W...
Sentiment Analysis with ML.NET: Predicting Positive vs. Negative Sentiment in Text
มุมมอง 484 หลายเดือนก่อน
Learn how to perform sentiment analysis using ML.NET! In this video, we'll walk through the process of building and testing a sentiment analysis model with ML.NET. Discover how to predict whether text data conveys positive or negative sentiment using machine learning techniques. Watch now to dive into the world of sentiment analysis and unlock valuable insights from your text data! Diving Deep ...
Diving Deep into ML.NET: Your Ultimate Guide to Understanding Machine Learning in .NET
มุมมอง 354 หลายเดือนก่อน
Welcome to our channe Takneeki GyanGurul! In today's video, we'll delve into the world of ML.NET, Microsoft's machine learning framework for .NET developers. Whether you're new to machine learning or eager to enhance your skills, this video is for you. Join us as we demystify ML.NET, covering key concepts, practical examples, and real-world applications. By the end, you'll have a solid understa...
Installing SonarQube with PostgreSQL on Windows : Step-by-Step Guide
มุมมอง 5884 หลายเดือนก่อน
Welcome to our channel! In this video, we'll walk you through the step-by-step process of installing SonarQube with PostgreSQL on Windows. SonarQube is a powerful open-source platform designed for continuous code quality inspection. By integrating SonarQube with PostgreSQL, you can leverage its advanced features to automatically review your code for bugs, code smells, and security vulnerabiliti...
Step-by-Step Guide: Installing and Configuring OpenJDK on Windows
มุมมอง 204 หลายเดือนก่อน
Learn how to install and configure OpenJDK on your Windows machine with this easy-to-follow tutorial. OpenJDK is a free and open-source implementation of the Java Platform, and installing it on Windows can be a valuable skill for developers and Java enthusiasts. In this video, we'll walk you through each step of the installation process, from downloading the OpenJDK package to configuring envir...
PostgreSQL Installation and Database Management on Windows | Step-by-Step Tutorial
มุมมอง 754 หลายเดือนก่อน
PostgreSQL Installation and Database Management on Windows | Step-by-Step Tutorial
Creating a Video Player with React + NodeJS + S3 | Build a YouTube - Like Streaming Service
มุมมอง 1414 หลายเดือนก่อน
Creating a Video Player with React NodeJS S3 | Build a TH-cam - Like Streaming Service
Mastering Jenkins Multibranch Pipeline: Complete Guide and Setup Tutorial
มุมมอง 5414 หลายเดือนก่อน
Mastering Jenkins Multibranch Pipeline: Complete Guide and Setup Tutorial
Automate & deploy .NET Core web app with NUnit tests using Jenkins & GitHub integration.
มุมมอง 3904 หลายเดือนก่อน
Automate & deploy .NET Core web app with NUnit tests using Jenkins & GitHub integration.
GitHub Authentication Methods: Setup and Push Code With Prompting
มุมมอง 304 หลายเดือนก่อน
GitHub Authentication Methods: Setup and Push Code With Prompting
Getting Started with Minikube(Small version of Kubernetes): Setup and Deployment Tutorial
มุมมอง 284 หลายเดือนก่อน
Getting Started with Minikube(Small version of Kubernetes): Setup and Deployment Tutorial
Demystifying Kubernetes: Types, History, Features, Architecture, and Limitations
มุมมอง 315 หลายเดือนก่อน
Demystifying Kubernetes: Types, History, Features, Architecture, and Limitations
Deploy .NET Core App to IIS | Automating Windows EC2 Deployment on AWS with Terraform & Ansible
มุมมอง 3.8K5 หลายเดือนก่อน
Deploy .NET Core App to IIS | Automating Windows EC2 Deployment on AWS with Terraform & Ansible
Building a Custom QnA Chatbot with .NET, ReactJS, Python, and OpenAI ChatGPT
มุมมอง 585 หลายเดือนก่อน
Building a Custom QnA Chatbot with .NET, ReactJS, Python, and OpenAI ChatGPT
Understanding AWS Virtual Private Cloud (VPC) | Complete Guide
มุมมอง 205 หลายเดือนก่อน
Understanding AWS Virtual Private Cloud (VPC) | Complete Guide
Mastering AWS Identity and Access Management (IAM) | Complete Guide
มุมมอง 475 หลายเดือนก่อน
Mastering AWS Identity and Access Management (IAM) | Complete Guide
Mastering the Singleton Pattern in C# | Design Patterns Explained
มุมมอง 155 หลายเดือนก่อน
Mastering the Singleton Pattern in C# | Design Patterns Explained
Mastering Design Patterns in C# | Comprehensive Guide for Software Developers
มุมมอง 125 หลายเดือนก่อน
Mastering Design Patterns in C# | Comprehensive Guide for Software Developers
Effortless PowerPoint Creation with AI | Generate Stunning Slides with ChatGPT
มุมมอง 365 หลายเดือนก่อน
Effortless PowerPoint Creation with AI | Generate Stunning Slides with ChatGPT
Automate Ubuntu & Tomcat Deployment on AWS | Terraform & Ansible Tutorial
มุมมอง 545 หลายเดือนก่อน
Automate Ubuntu & Tomcat Deployment on AWS | Terraform & Ansible Tutorial
Could you please provide any architecture diagram and reference document jenkins pipeline for dotnet project.
Thanks for share!! .. i dont see the links of github code
Thanks you so much it's really helpful for me
is it work with camera feed as well? like live camera?
Thank you so much..
How to deploy dotnet project into remote windows azure vm using azure cli in jenkins pipeline
Please reply
Hi Dileep, Sorry for the delayed response. It seems like this is a common problem, so I've decided to create a detailed video on this topic to help you and others who might have similar queries. I'll be publishing a comprehensive video soon that will walk you through the entire process of deploying a project from Jenkins to an Azure VM using Azure CLI
@@TakneekiGyanGuru-zd9sl Could you please provide the solution.
Hi Dileep, I apologize for the delay in responding. I've been away from TH-cam for a while, which caused the delay in getting back to you and creating the video on time. However, I'm back now and actively working on your request. Rest assured, I will be publishing a video very soon based on your request. Thank you for your patience!
Hi Dileep, I've uploaded the video on deploying a .NET Core web app to Azure VM using Jenkins and Azure CLI. Check it out here: th-cam.com/video/gWjG_LKf3sk/w-d-xo.html
Hi Bro sorry to comment below a non related video. Can you please make a video explaining the structure/syntax of Ansible & Terraform step by step in layman terms how to write a playbook for Ansible & how to write main.tf for Terraform I am new to both & don't have experience in coding or programming its confusing how the indentation are applied like Spacings, Hyphens, Commas, Curly brackets, Variables, loops etc. are used. Please its a request if possible
Hi Anand, Thank you so much for your comment! I appreciate your suggestion to create videos on Terraform and Ansible basics. I will definitely work on these videos, but it might take a bit of time to produce them. Thank you for your patience and cooperation. Happy learning!
@@TakneekiGyanGuru-zd9sl Thanks bro will wait
Thank you for sharing, can you make one using Node Express as well?
Absolutely! Working on it and will publish a video on AIML image classification using Node Express soon. Stay tuned!
Hi, I wanted to let you know that I've just published a new video based on your request for a tutorial using Node Express. You can watch it here: th-cam.com/video/AFPCqYjTieg/w-d-xo.html In this video, I demonstrate how to set up and build a traffic light classification app using Node.js with Express. I cover everything from setting up the backend server to integrating it with the frontend for a seamless experience. Thank you for your suggestion, and I hope you find the video helpful. Please let me know if you have any further questions or suggestions for future tutorials.
Can you pls share script github path , its not clearly visible
Yes, you can find the GitHub repository at this link: github.com/takneekigyanguru/dotnetcore-sms.git
Please help me with a link java for download
I assume you're interested in the Java project I deployed in the tutorial, so here's the GitHub link : github.com/takneekigyanguru/payrollsystem.git
a'satian kutee aur Sher ke beech ladai hai
it really helps a lot. we only have few use case on windows so but take a lot of time to find these kind of resource!
Hi there!! We are happy to know that the resources were helpful for your Windows use cases! If you ever need more assistance or have any other questions, feel free to let us know.
can you share the github repo
Hi there! Of course! You can find the GitHub repository for this project at github.com/takneekigyanguru/dotnetcore-sms.git. Feel free to explore the code and let me know if you have any questions or need further assistance.
hi! nice lecture.. sir, i have a project. i try to run that from last week. still i faces some issue can you please help me out in this.
Hi Naresh! Don't worry, we're here to help. Please share as many details as possible about the issues you're facing with your project. Screenshots, logs, or any other relevant information would be greatly appreciated. You can send them to my email(takneekigyanguru@gmail.com), and I'll get back to you as soon as possible with assistance. Looking forward to resolving your concerns!
Hi @nareshubunto , I haven't received any details about the issue in my inbox. Could you please share the details via email? If you prefer not to share via email, you can provide the information here as well. Please don't hesitate to reach out.
Thank you so much sir, was really looking for some video with Jenkins and IIS . Found an amazing channel❤
Hi Sanjay, You're very welcome! I'm glad I could assist you. If you have any further questions or need more guidance, feel free to reach out. Also, I'm thrilled to hear that you found an excellent channel for Jenkins and IIS content. Happy learning! Best regards, Takneeki Gyanguru Team
@@TakneekiGyanGuru-zd9sl sir if it is possible for you can you pls arrange the videos related to Jenkins in a playlist. would be really grateful!
Hi Sanjay, Thank you for the suggestion! I appreciate your input. I'll definitely work on putting together a playlist dedicated to Jenkins tutorials. Stay tuned for updates, and I hope you find the playlist helpful once it's ready!
@@TakneekiGyanGuru-zd9sl thank you so much for the kind effort
Hi Sanjay, I'm excited to announce that I've just published a new playlist focused on Jenkins tutorials! 🚀 Explore topics such as CI/CD pipelines, deployment strategies, and automation with Jenkins. Dive into the playlist here: Jenkins Tutorial Playlist(th-cam.com/play/PL4DfdO0SRIa9Eta0W-GgZVj-aVOtZZ520.html) and level up your DevOps skills! Don't forget to like, comment, and subscribe for more updates!
Hello, how can i contact you to ask some questions?
Hi Marian, Thank you for reaching out with your question! You can contact me in a few different ways: 1. You can ask your question directly in the comment box below any of my videos. I regularly check and respond to comments, so feel free to leave your question there. 2. If you prefer to communicate via email, you can send me an email at takneekigyanguru@gmail.com. I'll do my best to respond to your inquiry as soon as possible. Your question is important to us, and I want to help you find the answer you're looking for. If your question is something that others might find helpful as well, I'll consider creating a new video addressing it to benefit our community. Looking forward to hearing from you! Best regards, Takneeki GyanGuru Team
sir i need help on my project about jenkins and c#. how to contact you sir
Hey Nandini, Thank you for reaching out with your project inquiry! While I'm unable to engage in calls, I'm more than happy to assist you via email. Please feel free to send me detailed queries or problems you're facing in your project, and I'll do my best to provide assistance. Alternatively, if your query is common or broad enough, I might create a new video addressing the issue and providing a solution for you and others facing similar challenges. You can email me at takneekigyanguru@gmail.com. Looking forward to hearing from you and helping you with your Jenkins and C# project! Best regards, Takniiki Gyanguru Team
@@TakneekiGyanGuru-zd9sl thank you so much sir.
Hi @nandinimoonka2144 ! I noticed that I haven't received any details about your project yet. Could you please share the specifics with me so that I can assist you further? Feel free to send the details to my email address, and I'll do my best to help resolve your problem. Looking forward to hearing from you soon!
@@TakneekiGyanGuru-zd9sl yes sir. i’ll post it to you.
Thanks bro for making this video
You're welcome! I'm glad you found the video helpful. If you have any more questions or need further assistance, feel free to reach out.
culd u please tell me y u gave the password for which purpose
Hi Nikita, Thank you for bringing up this issue. I appreciate your attention to detail. I trust you're referring to the code snippet below, where you seem to have some uncertainty about why this credential is employed in this context: stage('Deploy') { steps { script { withCredentials([usernamePassword(credentialsId: 'coreuser', passwordVariable: 'CREDENTIAL_PASSWORD', usernameVariable: 'CREDENTIAL_USERNAME')]) { powershell ''' $credentials = New-Object System.Management.Automation.PSCredential($env:CREDENTIAL_USERNAME, (ConvertTo-SecureString $env:CREDENTIAL_PASSWORD -AsPlainText -Force)) New-PSDrive -Name X -PSProvider FileSystem -Root "\\\\LAPTOP-DFRQ3ILG\\coreapp" -Persist -Credential $credentials Copy-Item -Path '.\\publish\\*' -Destination 'X:\' -Force Remove-PSDrive -Name X ''' } } } Let me clarify the process: We are operating with two machines here - one for Jenkins and another for deploying the website where IIS is configured. In the second machine (LAPTOP-DFRQ3ILG), we've set up IIS and created a website named "coreapp," along with a virtual directory also named "coreapp." We're deploying the website from Jenkins to this virtual directory within the LAPTOP-DFRQ3ILG machine. Since the Jenkins machine doesn't directly access the coreapp folder (as it's on a different machine), we've established user credentials named "takneekigyanguru" that have the necessary access permissions on the LAPTOP-DFRQ3ILG machine. These credentials are integrated with Jenkins so that it can deploy the files to the coreapp folder. This credential section can be bypassed if: 1. Jenkins and the IIS webserver are on the same machine, or 2. You utilize a Jenkins node/slave on the second server where IIS is configured. I've recently published another video demonstrating the process of creating a Windows EC2 instance using Terraform, configuring IIS, creating an app pool and website using Ansible, and then deploying a .NET Core app using Ansible. Feel free to check it out if it's helpful: th-cam.com/video/mN2_oYTDXc4/w-d-xo.html Additionally, I'm currently working on another video where the deployment section will be automated through Ansible. Stay tuned for updates! Please let me know if this clarifies your doubts. If you need further explanation, I'm happy to provide more details.
Well done Taneeki, always doing a Good Tutorials
Thank you so much for your kind words! I really appreciate your feedback and I'm glad you find the tutorials helpful. If you have any suggestions for topics you'd like to see covered in future tutorials, feel free to let me know!
bro how can u set credentials in this ? please clarify this
Hi Bloodstream, Thank you for bringing this up! It seems like I overlooked the explanation on setting credentials. If you're experiencing difficulties pushing code to GitHub due to credential issues, don't worry. I'm currently working on addressing this and will release a new video soon with detailed instructions on setting up credentials. Stay tuned for the update!
Thank you for letting me know! I've just released a new video that addresses your concern about setting up credentials for pushing code to GitHub. You can watch it using the following link: th-cam.com/video/XiNYgkV3JXs/w-d-xo.html . I hope you find it helpful, and please feel free to reach out if you have any further questions!
@@TakneekiGyanGuru-zd9sl thanks
@@TakneekiGyanGuru-zd9sl one more thing in this video at 1:18 u said that u will add test cases later so did u done that. if so, can u please paste the link of that video where we build and run test cases using jenkins pipeline
Hi @bloodstream, thank you for bringing this up. Currently, I haven't uploaded any video demonstrating unit testing configured within a Jenkins pipeline. I'll keep you informed once I've completed such a video. Appreciate your patience!
Thank you for initiating these programs to help professionals to add on their skills as per industry standard . God Bless !
Thank you so much for your positive comment! Your kind words are truly appreciated.
You are best Takneeki Gyan
Thank you so much. I am glad you found the tutorial helpful!!!!
Indeed, you are doing a very good tutorial,
Is it possible to share the link to this project
Of course! I've uploaded the code to GitHub, but it seems it was missed earlier. I've now pushed it to GitHub, so please feel free to download it from here : github.com/takneekigyanguru/PythonDotnetQnAChatBot.git
Hi Takneeki Gyan, is it possible to create another CUSTOM AI Chatbot that chat with your Dummy Json data, using C#.NET, ReactJs, OpenAI(ChatGpt 3.5)?
Your tutorials lessons are always awesome
Thank you so much for your positive comment
Hi Godfrey! I have just released a new video, as per your request, focusing on creating a custom chatbot using dummy JSON data. Dive in to explore how you can build your very own chatbot tailored to your needs!
Good tutorial, if it would be possible to create another Project where someone can chat with My Json data or files.
Great bro 👍
Thank you so much 😀
NIce video, keep going
Thank you for your comment, will do