Fix Bug in .NET Core Web API Endpoint

Posted 4 weeks ago

Worldwide

Summary

I have a small ASP.NET Core Web API (.NET 8) project with a bug in one of the existing endpoints. The endpoint is supposed to return a filtered list of records from a SQL Server database using Entity Framework Core, but it's currently throwing a NullReferenceException under certain conditions. I need someone to identify the root cause, fix it, and add basic null-handling so it doesn't happen again. Scope of Work: Review the provided controller and service class (~150 lines of code) Identify and fix the null reference bug Add appropriate null checks / guard clauses Write 1–2 simple unit tests (xUnit) confirming the fix Briefly document the root cause and fix in a short comment or README note Requirements: Solid experience with C# and ASP.NET Core (6/7/8) Familiarity with Entity Framework Core Basic understanding of xUnit or similar testing framework Ability to turn this around within 24–48 hours Deliverables: Updated code (via Git patch, zip, or pull request) Passing unit tests Short explanation of the bug and fix Additional Notes: Source code and a sample dataset will be provided upon acceptance Open to a quick call if clarification is needed This is a trial task — future work available for the right candidate

  • $25.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • One-time project
    Project Type

Contract-to-hire opportunity

This lets talent know that this job could become full time.
Learn more
Skills and Expertise
Mandatory skills
API
C#
.NET Framework
ASP.NET
Activity on this job
  • Proposals:5 to 10
  • Last viewed by client:4 weeks ago
  • Interviewing:
    0
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Jul 14, 2026
  • United States
    3:30 AM

Explore similar jobs on Upwork

Internet Radio Metadata Expert NeededFixed-price‐ Posted 1 month ago
PHP
REST API
API Integration
SHOUTcast
Node.js

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo