This repository showcases my practical understanding of .NET development concepts through hands-on implementation.
This repository contains solutions for the .NET Developer assignment provided by ADVANTO for the recruitment drive of Zest India IT Services.
- C#
- .NET 8
- ASP.NET Core Web API
- LINQ
- SQL Server
- Dependency Injection (DI)
Question1 - Palindrome Checker
Question2 - Largest Number in Array
Question3 - Employee Encapsulation
Question4 - LINQ Filtering
Question5 - Simple API
Question6 - SQL (Duplicate Records)
Question7 - Dependency Injection (SampleDI)
- Checks whether a given string is a palindrome
- Ignores spaces and case sensitivity
- Finds the largest number in an array
- Handles user input and validation
- Demonstrates encapsulation using private fields and public properties
- Includes validation logic
- Filters employees with salary greater than 50,000 using LINQ
- Uses
Where()clause
- ASP.NET Core Web API
Endpoints:
GET /api/employee→ Get all employeesPOST /api/employee→ Add employee
Includes validation for input data.
SELECT Name, Email, COUNT(*) AS DuplicateCount
FROM Employee
GROUP BY Name, Email
HAVING COUNT(*) > 1;- Implements Dependency Injection using:
- Controller
- Service Layer
- Interface
- Uses Scoped lifetime
- Follows clean architecture pattern
git clone https://github.com/debugwithsushant/SushantPawar_Assignment.gitdotnet runcd Question5/SimpleApi
dotnet runOR
cd Question7/SampleDI
dotnet run- Object-Oriented Programming (OOP)
- Encapsulation
- Exception Handling
- LINQ Queries
- ASP.NET Core Web API
- Dependency Injection (DI)
- SQL Aggregation & Grouping
Sushant Pawar
GitHub: https://github.com/debugwithsushant
This assignment demonstrates strong fundamentals in .NET development, including clean coding practices, proper architecture, and real-world concepts like Dependency Injection and API development.