<?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: Anointed Agunloye</title>
    <description>The latest articles on DEV Community by Anointed Agunloye (@anointedthedeveloper).</description>
    <link>https://dev.to/anointedthedeveloper</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3803891%2Fd23ccb9c-510a-456c-b65c-395df1c65dae.png</url>
      <title>DEV Community: Anointed Agunloye</title>
      <link>https://dev.to/anointedthedeveloper</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anointedthedeveloper"/>
    <language>en</language>
    <item>
      <title>How I Built Live Exam Monitoring That Works With Zero Internet (SignalR + ASP.NET Core)</title>
      <dc:creator>Anointed Agunloye</dc:creator>
      <pubDate>Fri, 27 Nov 2026 08:21:02 +0000</pubDate>
      <link>https://dev.to/anointedthedeveloper/how-i-built-live-exam-monitoring-that-works-with-zero-internet-signalr-aspnet-core-1587</link>
      <guid>https://dev.to/anointedthedeveloper/how-i-built-live-exam-monitoring-that-works-with-zero-internet-signalr-aspnet-core-1587</guid>
      <description>&lt;p&gt;Most schools I work with in Nigeria can't count on the internet during exams. Power flickers, data runs out, the network drops. But they still want computer-based tests, and they want the exam officer to &lt;strong&gt;see every student live&lt;/strong&gt;: who has joined, what question they're on, whether they've switched tabs, and whether their laptop is about to die.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Exam Box&lt;/strong&gt;, an offline computer-based testing (CBT) platform that schools now use for their real exams. This post is about the part I'm proudest of: the live monitor that runs with no internet at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup: one PC is the server
&lt;/h2&gt;

&lt;p&gt;There's no cloud. The exam officer installs a Windows desktop app (.NET 8 WPF), and that app &lt;strong&gt;hosts its own web server&lt;/strong&gt; inside it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+----------------------------------+
|        Admin PC (WPF app)        |
|                                  |
|  Admin UI  &amp;lt;--&amp;gt;  ASP.NET Core    |
|                  (Kestrel :5000) |
|                                  |
|  REST API  |  SignalR  |  SQLite |
+----------------------------------+
                  |
          school LAN / Wi-Fi
                  |
     +------------+------------+
     |            |            |
 [Browser]    [Browser]    [Browser]
 Student 1    Student 2    Student N
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The admin clicks &lt;strong&gt;Start Server&lt;/strong&gt;, then &lt;strong&gt;Start Session&lt;/strong&gt;, and gets a session code and a join URL like &lt;code&gt;http://192.168.1.100:5000?code=A1B2C3&lt;/code&gt;. Students open that URL in any browser on the same network. Nothing to install on their machines.&lt;/p&gt;

&lt;p&gt;Everything (exams, answers, results) lives in a local &lt;strong&gt;SQLite&lt;/strong&gt; database through EF Core.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-time with SignalR groups
&lt;/h2&gt;

&lt;p&gt;The live part is a single SignalR hub. The trick that made it clean was &lt;strong&gt;groups&lt;/strong&gt;: each session gets an admin group and a student group, so one exam room never sees another room's traffic.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;&lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ExamHub&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Hub&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="nc"&gt;Task&lt;/span&gt; &lt;span class="nc"&gt;JoinAdminGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;sessionCode&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
        &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;Groups&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AddToGroupAsync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Context&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ConnectionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; $&lt;span class="s2"&gt;"admin_{sessionCode}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="nc"&gt;Task&lt;/span&gt; &lt;span class="nc"&gt;JoinStudentGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;sessionCode&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
        &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;Groups&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AddToGroupAsync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Context&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ConnectionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; $&lt;span class="s2"&gt;"students_{sessionCode}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;// Student did something -&amp;gt; only that session's admins hear about it&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="nc"&gt;Task&lt;/span&gt; &lt;span class="nc"&gt;NotifyStudentUpdate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;IHubContext&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ExamHub&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;hub&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;sessionCode&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;object&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
        &lt;span class="n"&gt;hub&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Clients&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Group&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;$&lt;span class="s2"&gt;"admin_{sessionCode}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SendAsync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"StudentUpdated"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;// Admin hits "End All" -&amp;gt; every student in the session auto-submits&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="nc"&gt;Task&lt;/span&gt; &lt;span class="nc"&gt;NotifyForceSubmit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;IHubContext&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ExamHub&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;hub&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;sessionCode&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
        &lt;span class="n"&gt;hub&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Clients&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Group&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;$&lt;span class="s2"&gt;"students_{sessionCode}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;SendAsync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"ForceSubmit"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Messages flow both ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Student → admin:&lt;/strong&gt; answering a question, switching tabs, connection and battery updates. The API saves it, then pushes &lt;code&gt;StudentUpdated&lt;/code&gt; to the admin group.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin → students:&lt;/strong&gt; exam started, session ended, force submit, or kicking one student back to login.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For that last one, every student also joins a private group just for them. To join it, the browser has to send its exam token, which the server validates first, so a student can't pretend to be someone else:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;&lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="nc"&gt;Task&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;JoinStudentSelf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;token&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;StudentTokens&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Validate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;token&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="k"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;              &lt;span class="c1"&gt;// forged or expired token joins nothing&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nc"&gt;Groups&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AddToGroupAsync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Context&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ConnectionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;SelfGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Value&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the exam officer actually sees
&lt;/h2&gt;

&lt;p&gt;The Monitor tab updates live for each student:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;questions answered and current question&lt;/li&gt;
&lt;li&gt;time left&lt;/li&gt;
&lt;li&gt;connection status and battery level&lt;/li&gt;
&lt;li&gt;tab switches and other violations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the exam ends, results are ready immediately. No collating scripts, no manual marking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons from running it in real schools
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Always have a fallback for the realtime channel.&lt;/strong&gt;&lt;br&gt;
School Wi-Fi is messy, and WebSocket connections drop. On the student side I reconnect automatically and re-join the private group, and if SignalR can't connect at all, a regular heartbeat request keeps the admin's view up to date:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="n"&gt;examHub&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;onreconnected&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;joinSelf&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;examHub&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;start&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;joinSelf&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="cm"&gt;/* offline — heartbeat poll is the fallback */&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Save progress on every answer.&lt;/strong&gt;&lt;br&gt;
Every answer is saved to the server as the student goes. If a laptop dies mid-exam, the student logs back in and continues from the same question, with the same answers and the same timer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Never send the answer to the browser.&lt;/strong&gt;&lt;br&gt;
Questions and options are shuffled per student (Fisher-Yates). The server tracks the correct answer by value, not by position, and the student's page never receives it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Firewalls will get you.&lt;/strong&gt;&lt;br&gt;
The most common support issue wasn't code at all: Windows Firewall blocking port 5000. Now that's the first thing in the troubleshooting guide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;You don't always need the cloud to build something real-time. A desktop app hosting ASP.NET Core and SignalR on the local network turned out to be the right tool for schools that can't count on the internet, and it now runs live exams in real schools.&lt;/p&gt;

&lt;p&gt;If you've built something real-time for unreliable networks, I'd love to hear how you handled reconnects. Drop it in the comments.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>csharp</category>
      <category>webdev</category>
      <category>dotnet</category>
    </item>
    <item>
      <title>Building a Smart README Generator with GitHub Intelligence + AI</title>
      <dc:creator>Anointed Agunloye</dc:creator>
      <pubDate>Tue, 12 May 2026 20:44:29 +0000</pubDate>
      <link>https://dev.to/anointedthedeveloper/building-a-smart-readme-generator-with-github-intelligence-ai-56l6</link>
      <guid>https://dev.to/anointedthedeveloper/building-a-smart-readme-generator-with-github-intelligence-ai-56l6</guid>
      <description>&lt;p&gt;*&lt;em&gt;Smart README Generator – Auto-Generate Developer READMEs from GitHub&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Writing READMEs is repetitive, manual, and often outdated. Developers either copy templates or spend too much time formatting instead of building.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built a Smart README Generator that automates the entire process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Auto-fetches GitHub profile data (repos, bio, stats, etc.)&lt;br&gt;
Generates structured README content instantly&lt;br&gt;
Is designed for developers who want fast and clean project documentation&lt;br&gt;
Core Features&lt;br&gt;
GitHub username lookup&lt;br&gt;
Auto extraction of:&lt;br&gt;
bio&lt;br&gt;
repositories&lt;br&gt;
activity stats&lt;br&gt;
profile metadata&lt;br&gt;
AI-assisted README structuring&lt;br&gt;
Clean UI built with React&lt;br&gt;
Shareable output for easy use in projects&lt;br&gt;
Tech Stack&lt;br&gt;
React (frontend)&lt;br&gt;
GitHub API (data extraction)&lt;br&gt;
Node.js (backend services)&lt;br&gt;
Vercel (deployment)&lt;br&gt;
Live Demo&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Smart README Generator Live Demo&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://smart-readme-generator.vercel.app/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;smart-readme-generator.vercel.app&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
This project is still evolving and open to improvements.

&lt;p&gt;Collaboration is welcome, especially in:&lt;/p&gt;

&lt;p&gt;UI/UX improvements&lt;br&gt;
GitHub API optimization&lt;br&gt;
README layout enhancements&lt;br&gt;
New feature ideas&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
