Skip to content

Document Processor Submission - Post completion#72

Open
JJHH17 wants to merge 42 commits intothe-csharp-academy:mainfrom
JJHH17:main
Open

Document Processor Submission - Post completion#72
JJHH17 wants to merge 42 commits intothe-csharp-academy:mainfrom
JJHH17:main

Conversation

@JJHH17
Copy link

@JJHH17 JJHH17 commented Oct 23, 2025

This project:

  • Expands on the existing "PhoneBook Tracker" application.
  • Allows the user to seed data, either via a CSV, XLS or XLSX file.
  • Allows the user to export data to a PDF or CSV file, as well as to an Azure Blob Storage instance.
  • The file export is automated to run daily at 9am UK time.

JJHH17 added 30 commits October 14, 2025 13:10
Copy link

@chrisjamiecarter chrisjamiecarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @JJHH17 👋,

Excellent work on your Document Processor project submission 🎉!

I have performed a peer review. Review/ignore any comments as you wish.


⭐ Fantastic project, great job. One thing to note is that in C# we follow Pascal Case conventions where acronyms are treated as words (e.g., XmlReader, HttpClient - not XMLReader, HTTPClient), making code more readable and consistent with the framework's style guidelines. You used CSV, PDF, XLSX, etc...


🟢 Requirements

⭐ You have fulfilled all of the project requirements!


I will go ahead and mark as approved, keep up the excellent work on the next projects! 😊

Best regards,
@chrisjamiecarter 👍

public string PhoneNumber { get; set; }
}

public class PhoneBookContext : DbContext

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Separate Class

💡 This is not a Model, it is a DbContext. Move it to a different location that makes sense logically.


namespace DocumentProcessor.JJHH17.ScheduledExport;

public class ScheduledExport

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Empty Class

❓ Why?

using var host = builder.Build();
var runHost = host.RunAsync();

var uiCts = new CancellationTokenSource();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Variable Naming

❓ What is this abomination of a variable name 😆

Suggested change
var uiCts = new CancellationTokenSource();
var cancellationSource = new CancellationTokenSource();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants