In Progress

Require a C# Windows Service using Entity Framework in Unit of Work pattern

Intro

We have an event planner application that has many events that appear throughout the year. Our editors create these events, but some events appear every year on going – example: holidays. This service will help by recreating events that are marked as annual in the planner.

Requirements

- Runs on a timer and processes events once per day

- Checks for annual events that need to be created

- Future events are not processed

- Past dates are processed

- Once the event has been processed it is marked as processed so as not to be picked up again

- The newly created event should not be live

- The event planner application uses Entity Framework in a unit of work pattern so this application should do the same so that is can interface into current libraries.

Cases

Case 1: same day events

An event on 05/02/2018 (first Monday of the month)

The service will create a new event on 04/02/2019 (first Monday) and mark the event as processed

Case 2: same date events

Holidays etc. Valentines day falls on 14/02/2018 so when this event is processed the new event will be created on 14/02/2019

Case 3: working day events

This works the same as case 1 but if the day happens to be a public holiday or weekend then it should fall back to a previous working day (ie Monday to Friday only)

Tests

There should be unit tests written for all public methods

Models

Event (simplified)

- Id (Key)

- Description (string)

- Date (datetime)

- IsLive (bool)

- IsAnnual (bool)

- AnnualTypeId (Foreign Key)

- IsProcessed (bool)

AnnualType

- Id (key)

- Value (string)

Content

AnnualTypes

1. Day (Same day events – case 1)

2. Date (Same date events – case 2)

3. Working Day (Same as day but reverts to working day – case 3)

Skills: .NET, C# Programming, Software Architecture, Software Testing

See more: c# windows service, login page mvc using entity framework, windows service using ews, generic unit of work pattern c#, unit of work and repository pattern with unity dependency injection, repository pattern and unit of work with entity framework in asp.net mvc, unit of work c# rollback, unit of work multiple contexts, unit of work pattern c# entity framework, entity framework database first unit of work, unit of work pattern c# example, create windows service using nsis, windows service using exchange, install windows service using nsis script, install windows service using nsis, windows service using quartz, windows service entity framework, send sms using windows service, using windows service screen capture, windows service using aspnet scheduling reports

About the Employer:
( 2 reviews ) Poole, United Kingdom

Project ID: #16365672

4 freelancers are bidding on average £167 for this job

sanjaybhansali

Hello sir, we have 8year experience in asp.net c# and also experience in window [login to view URL] me know if my profile suitable for your project

£277 GBP in 2 days
(4 Reviews)
4.0
Guru2705

Hello dear, I hope this proposal find you well, I saw your job posting online, I would like to request you please have a look into my previous works. I am a full-time freelancer with over 5 years of vast experience i More

£20 GBP in 2 days
(1 Review)
2.7
punal631

A proposal has not yet been provided

£222 GBP in 10 days
(0 Reviews)
0.0
shakeeliqbal

I have good experience of developing Windows Service in C#. I have prior experience of developing service for recurring tasks for one of my client. I would be a good choice of this project.

£150 GBP in 5 days
(0 Reviews)
0.0