<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Takneekigyanguru</title>
    <description>The latest articles on DEV Community by Takneekigyanguru (@takneekigyanguru_5385d2bf).</description>
    <link>https://dev.to/takneekigyanguru_5385d2bf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3603328%2Fac8f2610-2703-4def-9288-749327969226.png</url>
      <title>DEV Community: Takneekigyanguru</title>
      <link>https://dev.to/takneekigyanguru_5385d2bf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/takneekigyanguru_5385d2bf"/>
    <language>en</language>
    <item>
      <title>Step-by-Step Guide: Scanning Your .NET Project with SonarQube</title>
      <dc:creator>Takneekigyanguru</dc:creator>
      <pubDate>Sun, 09 Nov 2025 16:18:40 +0000</pubDate>
      <link>https://dev.to/takneekigyanguru_5385d2bf/step-by-step-guide-scanning-your-net-project-with-sonarqube-421l</link>
      <guid>https://dev.to/takneekigyanguru_5385d2bf/step-by-step-guide-scanning-your-net-project-with-sonarqube-421l</guid>
      <description>&lt;p&gt;🧩 Step-by-Step Guide: Scanning Your .NET Project with SonarQube&lt;/p&gt;

&lt;p&gt;Want to ensure your .NET codebase is clean, secure, and high quality?&lt;br&gt;
Let’s explore how to scan your .NET project using SonarQube — a powerful platform for detecting bugs, code smells, vulnerabilities, and enforcing best practices across your applications.&lt;/p&gt;

&lt;p&gt;🎥 Full Video Tutorial:&lt;br&gt;
👉 &lt;a href="https://youtu.be/I7ZYXJcpR8g" rel="noopener noreferrer"&gt;Step-by-Step Guide: Scanning Your .NET Project with SonarQube&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🧠 What You’ll Learn&lt;/p&gt;

&lt;p&gt;In this tutorial, you’ll learn how to:&lt;/p&gt;

&lt;p&gt;Set up SonarQube locally or on a server&lt;/p&gt;

&lt;p&gt;Integrate SonarScanner for .NET&lt;/p&gt;

&lt;p&gt;Analyze code quality and security metrics&lt;/p&gt;

&lt;p&gt;Identify code smells, bugs, and vulnerabilities&lt;/p&gt;

&lt;p&gt;Generate a comprehensive dashboard report for your project&lt;/p&gt;

&lt;p&gt;By the end, you’ll know how to keep your .NET projects clean, consistent, and maintainable — whether you’re a solo developer or part of a CI/CD pipeline.&lt;/p&gt;

&lt;p&gt;⚙️ Prerequisites&lt;/p&gt;

&lt;p&gt;Before you start, make sure you have:&lt;/p&gt;

&lt;p&gt;.NET SDK installed (6.0 or later)&lt;/p&gt;

&lt;p&gt;SonarQube (Developer or Community Edition)&lt;/p&gt;

&lt;p&gt;PostgreSQL or any supported database&lt;/p&gt;

&lt;p&gt;Basic understanding of build pipelines&lt;/p&gt;

&lt;p&gt;🔧 Step 1: Install and Configure SonarQube&lt;/p&gt;

&lt;p&gt;You can install SonarQube locally with PostgreSQL on Windows.&lt;br&gt;
Follow this guide:&lt;br&gt;
🎬 Installing SonarQube with PostgreSQL on Windows: Step-by-Step Guide&lt;/p&gt;

&lt;p&gt;Once installed:&lt;/p&gt;

&lt;p&gt;Start the SonarQube server (StartSonar.bat).&lt;/p&gt;

&lt;p&gt;Log in at &lt;a href="http://localhost:9000" rel="noopener noreferrer"&gt;http://localhost:9000&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Create a new project and generate a token.&lt;/p&gt;

&lt;p&gt;🔍 Step 2: Configure SonarScanner for .NET&lt;/p&gt;

&lt;p&gt;Install the SonarScanner for .NET tool:&lt;/p&gt;

&lt;p&gt;dotnet tool install --global dotnet-sonarscanner&lt;/p&gt;

&lt;p&gt;Initialize the scanner in your project:&lt;/p&gt;

&lt;p&gt;dotnet sonarscanner begin /k:"ProjectKey" /d:sonar.host.url="&lt;a href="http://localhost:9000" rel="noopener noreferrer"&gt;http://localhost:9000&lt;/a&gt;" /d:sonar.login="your_token"&lt;br&gt;
dotnet build&lt;br&gt;
dotnet sonarscanner end /d:sonar.login="your_token"&lt;/p&gt;

&lt;p&gt;🧪 Step 3: Run the Scan and Analyze Results&lt;/p&gt;

&lt;p&gt;Once the scan completes, open your SonarQube dashboard.&lt;/p&gt;

&lt;p&gt;Navigate to Issues → Security Hotspots → Code Smells.&lt;/p&gt;

&lt;p&gt;Review and fix the highlighted issues directly in your code editor.&lt;/p&gt;

&lt;p&gt;📊 Step 4: Continuous Integration (Optional)&lt;/p&gt;

&lt;p&gt;You can integrate SonarQube analysis into your CI/CD pipelines:&lt;/p&gt;

&lt;p&gt;Jenkins: Add SonarQube plugin and call the same scanner steps.&lt;/p&gt;

&lt;p&gt;Azure DevOps: Use the “Prepare Analysis on SonarQube” task.&lt;/p&gt;

&lt;p&gt;GitHub Actions: Use SonarSource/sonarcloud-github-action.&lt;/p&gt;

&lt;p&gt;This ensures that every code commit is automatically scanned for quality and compliance.&lt;/p&gt;

&lt;p&gt;💡 Why Use SonarQube?&lt;/p&gt;

&lt;p&gt;✅ Detect vulnerabilities early&lt;br&gt;
✅ Improve team-wide code consistency&lt;br&gt;
✅ Enforce quality gates before merging&lt;br&gt;
✅ Build confidence in every release&lt;/p&gt;

&lt;p&gt;🧱 Ideal For&lt;/p&gt;

&lt;p&gt;.NET Developers aiming to improve code health&lt;/p&gt;

&lt;p&gt;DevOps Engineers integrating static code analysis&lt;/p&gt;

&lt;p&gt;Teams adopting DevSecOps practices&lt;/p&gt;

&lt;p&gt;🧾 Tags&lt;/p&gt;

&lt;h1&gt;
  
  
  DotNet #SonarQube #CodeQuality #DevOps #CICD #Security #TakneekiGyanGuru #Tutorial #DevSecOps
&lt;/h1&gt;

&lt;p&gt;✨ Author&lt;/p&gt;

&lt;p&gt;Takneeki Gyan Guru — guiding developers through real-world tutorials on AI, ML, Cloud, DevOps, and Application Development.&lt;br&gt;
Follow for more hands-on videos and step-by-step DevOps learning content.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>security</category>
      <category>tutorial</category>
      <category>dotnet</category>
    </item>
    <item>
      <title>Automating .NET Core Deployment to IIS with Jenkins | CI/CD Pipeline Setup</title>
      <dc:creator>Takneekigyanguru</dc:creator>
      <pubDate>Sun, 09 Nov 2025 16:13:44 +0000</pubDate>
      <link>https://dev.to/takneekigyanguru_5385d2bf/automating-net-core-deployment-to-iis-with-jenkins-cicd-pipeline-setup-kmd</link>
      <guid>https://dev.to/takneekigyanguru_5385d2bf/automating-net-core-deployment-to-iis-with-jenkins-cicd-pipeline-setup-kmd</guid>
      <description>&lt;p&gt;⚙️ Automating .NET Core Deployment to IIS with Jenkins | CI/CD Pipeline Setup&lt;/p&gt;

&lt;p&gt;Tired of deploying your .NET Core applications manually to IIS?&lt;br&gt;
Let’s fix that! 🚀&lt;/p&gt;

&lt;p&gt;In this step-by-step tutorial, you'll learn how to automate .NET Core application deployment to IIS using Jenkins CI/CD pipelines — saving time, improving consistency, and reducing human error.&lt;/p&gt;

&lt;p&gt;🎥 Full Video Tutorial:&lt;br&gt;
👉 &lt;a href="https://youtu.be/OCbqNxTxEsc" rel="noopener noreferrer"&gt;Automating .NET Core Deployment to IIS with Jenkins | CI/CD Pipeline Setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🧩 What You’ll Learn&lt;/p&gt;

&lt;p&gt;This tutorial covers everything you need to create a complete CI/CD pipeline for .NET Core applications:&lt;/p&gt;

&lt;p&gt;Jenkins Pipeline Setup — building a continuous integration workflow for .NET Core&lt;/p&gt;

&lt;p&gt;IIS Configuration Automation — automate website setup and deployment&lt;/p&gt;

&lt;p&gt;Ansible / Chef / Puppet Integration — manage infrastructure and application provisioning efficiently&lt;/p&gt;

&lt;p&gt;Seamless Deployment — push new versions of your app automatically after each successful build&lt;/p&gt;

&lt;p&gt;🔧 Prerequisites&lt;/p&gt;

&lt;p&gt;Before starting, make sure you have:&lt;/p&gt;

&lt;p&gt;Jenkins installed and configured&lt;/p&gt;

&lt;p&gt;IIS running on your target Windows Server&lt;/p&gt;

&lt;p&gt;.NET Core SDK installed on both Jenkins and deployment machine&lt;/p&gt;

&lt;p&gt;Basic familiarity with PowerShell, Ansible, or Chef/Puppet&lt;/p&gt;

&lt;p&gt;🏗️ Step-by-Step Outline&lt;br&gt;
1️⃣ Create a Jenkins Pipeline&lt;/p&gt;

&lt;p&gt;Define your pipeline stages:&lt;/p&gt;

&lt;p&gt;Build the .NET Core project&lt;/p&gt;

&lt;p&gt;Test with NUnit or xUnit&lt;/p&gt;

&lt;p&gt;Package the application into an artifact&lt;/p&gt;

&lt;p&gt;Deploy automatically to IIS&lt;/p&gt;

&lt;p&gt;Example snippet:&lt;/p&gt;

&lt;p&gt;pipeline {&lt;br&gt;
    agent any&lt;br&gt;
    stages {&lt;br&gt;
        stage('Build') {&lt;br&gt;
            steps {&lt;br&gt;
                bat 'dotnet build MyWebApp.sln'&lt;br&gt;
            }&lt;br&gt;
        }&lt;br&gt;
        stage('Publish') {&lt;br&gt;
            steps {&lt;br&gt;
                bat 'dotnet publish -c Release -o publish'&lt;br&gt;
            }&lt;br&gt;
        }&lt;br&gt;
        stage('Deploy to IIS') {&lt;br&gt;
            steps {&lt;br&gt;
                bat 'powershell.exe -ExecutionPolicy Bypass -File deploy.ps1'&lt;br&gt;
            }&lt;br&gt;
        }&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;2️⃣ Automate IIS Configuration&lt;/p&gt;

&lt;p&gt;Use PowerShell or a configuration management tool (like Ansible/Chef/Puppet) to:&lt;/p&gt;

&lt;p&gt;Create the IIS website&lt;/p&gt;

&lt;p&gt;Set the physical path&lt;/p&gt;

&lt;p&gt;Bind the correct port&lt;/p&gt;

&lt;p&gt;Deploy the latest build&lt;/p&gt;

&lt;p&gt;3️⃣ Integrate Infrastructure as Code&lt;/p&gt;

&lt;p&gt;If you want full automation:&lt;/p&gt;

&lt;p&gt;Ansible: Use win_iis_website and win_copy modules&lt;/p&gt;

&lt;p&gt;Chef/Puppet: Define IIS site as a resource&lt;/p&gt;

&lt;p&gt;Trigger these tasks from Jenkins pipeline&lt;/p&gt;

&lt;p&gt;🧰 Related Videos&lt;/p&gt;

&lt;p&gt;🎬 Create .NET Core Web App | Automate .NET Core Web App Deployment with Jenkins Pipeline&lt;/p&gt;

&lt;p&gt;💡 Why Automate?&lt;/p&gt;

&lt;p&gt;Manual deployments lead to:&lt;br&gt;
❌ Inconsistent environments&lt;br&gt;
❌ Missed steps under pressure&lt;br&gt;
❌ Difficult rollback&lt;/p&gt;

&lt;p&gt;Automating CI/CD ensures:&lt;br&gt;
✅ Consistency&lt;br&gt;
✅ Faster releases&lt;br&gt;
✅ Reliability and visibility&lt;/p&gt;

&lt;p&gt;🧠 Ideal For&lt;/p&gt;

&lt;p&gt;DevOps engineers automating .NET pipelines&lt;/p&gt;

&lt;p&gt;Developers learning CI/CD for Microsoft stack&lt;/p&gt;

&lt;p&gt;Anyone setting up hybrid infrastructure deployments&lt;/p&gt;

&lt;p&gt;🧾 Tags&lt;/p&gt;

&lt;h1&gt;
  
  
  DotNet #Jenkins #CICD #DevOps #IIS #Automation #Ansible #Chef #Puppet #TakneekiGyanGuru
&lt;/h1&gt;

&lt;p&gt;✨ Author&lt;/p&gt;

&lt;p&gt;Takneeki Gyan Guru — simplifying AI, ML, Cloud, DevOps, and Software Engineering with practical tutorials.&lt;br&gt;
Follow for more step-by-step guides on CI/CD, Automation, and Cloud-native development.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🧠 Build a Document Search with RAG | Hugging Face Transformers + Flan-T5 + NLP Tutorial</title>
      <dc:creator>Takneekigyanguru</dc:creator>
      <pubDate>Sun, 09 Nov 2025 16:01:44 +0000</pubDate>
      <link>https://dev.to/takneekigyanguru_5385d2bf/build-a-document-search-with-rag-hugging-face-transformers-flan-t5-nlp-tutorial-gh</link>
      <guid>https://dev.to/takneekigyanguru_5385d2bf/build-a-document-search-with-rag-hugging-face-transformers-flan-t5-nlp-tutorial-gh</guid>
      <description>&lt;p&gt;🧠 Build a Document Search with RAG | Hugging Face Transformers + Flan-T5 + NLP Tutorial&lt;/p&gt;

&lt;p&gt;Ever wondered how to make your own AI-powered document search system?&lt;br&gt;
In this tutorial, we’ll build one step by step using Retrieval-Augmented Generation (RAG) — the same principle behind modern GenAI systems.&lt;/p&gt;

&lt;p&gt;🎥 Watch the full video here:&lt;br&gt;
👉 YouTube: &lt;a href="https://youtu.be/KeVYEKnIkBM" rel="noopener noreferrer"&gt;Build a Document Search with RAG | Hugging Face Transformers + Flan-T5 + NLP Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🚀 What You’ll Learn&lt;/p&gt;

&lt;p&gt;This hands-on tutorial shows you how to build an intelligent document search engine using Python, Hugging Face Transformers, Sentence Transformers, and Flan-T5.&lt;/p&gt;

&lt;p&gt;We’ll cover:&lt;/p&gt;

&lt;p&gt;Chunking documents — split large text files into smaller chunks for efficient processing&lt;/p&gt;

&lt;p&gt;Text embeddings — convert chunks into semantic vector representations using Sentence Transformers&lt;/p&gt;

&lt;p&gt;Semantic search — use cosine similarity to find the most relevant chunks for a user query&lt;/p&gt;

&lt;p&gt;RAG pipeline — combine retrieved text with a language model (Flan-T5) for contextual, natural-language answers&lt;/p&gt;

&lt;p&gt;End-to-end architecture — see how chunking, embedding, retrieval, and generation connect into a working RAG system&lt;/p&gt;

&lt;p&gt;🧩 Code Overview&lt;/p&gt;

&lt;p&gt;You’ll build 4 key components:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Chunker&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Splits large text documents into smaller, overlapping segments for better recall.&lt;/p&gt;

&lt;p&gt;def chunk_text(text, chunk_size=500, overlap=50):&lt;br&gt;
    chunks = []&lt;br&gt;
    for i in range(0, len(text), chunk_size - overlap):&lt;br&gt;
        chunks.append(text[i:i + chunk_size])&lt;br&gt;
    return chunks&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Embedder&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Encodes chunks into embeddings using Sentence Transformers.&lt;/p&gt;

&lt;p&gt;from sentence_transformers import SentenceTransformer&lt;br&gt;
model = SentenceTransformer('all-MiniLM-L6-v2')&lt;br&gt;
embeddings = model.encode(chunks)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Query Engine&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Uses cosine similarity to retrieve the most relevant chunks.&lt;/p&gt;

&lt;p&gt;from sklearn.metrics.pairwise import cosine_similarity&lt;br&gt;
scores = cosine_similarity(query_embedding, embeddings)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;RAG Pipeline&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Passes retrieved context to Flan-T5 to generate detailed, context-aware answers.&lt;/p&gt;

&lt;p&gt;from transformers import pipeline&lt;br&gt;
rag_pipeline = pipeline("text2text-generation", model="google/flan-t5-base")&lt;br&gt;
result = rag_pipeline(f"Answer based on: {context}\nQuestion: {query}")&lt;/p&gt;

&lt;p&gt;🧱 Architecture Overview&lt;/p&gt;

&lt;p&gt;Retrieval-Augmented Generation (RAG) combines:&lt;/p&gt;

&lt;p&gt;Retriever → finds relevant text chunks&lt;/p&gt;

&lt;p&gt;Generator → formulates a human-like answer&lt;/p&gt;

&lt;p&gt;It allows LLMs to use external knowledge sources without retraining — perfect for dynamic knowledge bases and document search.&lt;/p&gt;

&lt;p&gt;💻 Full Source Code&lt;/p&gt;

&lt;p&gt;🔗 GitHub Repository: takneekigyanguru/document-search-rag&lt;/p&gt;

&lt;p&gt;🧩 Ideal For&lt;/p&gt;

&lt;p&gt;Building knowledge base Q&amp;amp;A systems&lt;/p&gt;

&lt;p&gt;Searching large technical or business documents&lt;/p&gt;

&lt;p&gt;Understanding GenAI + RAG pipelines end-to-end&lt;/p&gt;

&lt;p&gt;Preparing for AI/ML or NLP interviews&lt;/p&gt;

&lt;p&gt;🔖 Tags&lt;/p&gt;

&lt;h1&gt;
  
  
  RAG #HuggingFace #FlanT5 #DocumentSearch #Python #MachineLearning #NLP #AI #SemanticSearch #PythonTutorial
&lt;/h1&gt;

&lt;p&gt;✨ Author&lt;/p&gt;

&lt;p&gt;Takneeki Gyan Guru — simplifying AI, ML, Cloud, and DevOps concepts through practical tutorials and real-world demos.&lt;br&gt;
Follow me for more guides on AI + Cloud integration and GenAI architecture.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>ai</category>
      <category>rag</category>
      <category>python</category>
    </item>
  </channel>
</rss>
