- Developer = Achraf HAKIM
- Total Hours = 11 hours
- Monday, July 20th 2020 → 17h-19h
- Tuesday, July 21st 2020 → 17h-23h
- Wednesday, July 22nd 2020 → 17h-18h
- Thursday, July 23rd 2020 → 08h-10h
Type | ASP.NET Web Service |
---|---|
Environment | .NET Framework 4.7.2 |
Utility | Create SOAP services (.asmx services) |
Details | Contains : 2 services for Fibonacci and XmlToJson & Controllers with the used algorithms & Logs using log4net library |
Used libraries | log4net for Logging Exceptions and traces + Newtonsoft.Json for Json manipulations + System.Numerics to use BigInteger type |
Type | MS Test (for unit testing) |
---|---|
Environment | .NET Core 2.1 |
Utility | Create Unit tests that communicate with WebServices (Project) controllers |
Details | Contains 2 unit tests for Fibonacci and XmlToJson with the different test cases |
Type | Console App |
---|---|
Environment | .NET Framework 4.7.2 |
Utility | Create console client to test the different web services generated by WebServices (Project) |
Details | Contains a console program displaying the different test cases applied on the web services |
Type | Windows Form App |
---|---|
Environment | .NET Framework 4.7.2 |
Utility | Create WinForm client to test the different web services generated by WebServices (Project) using an interface |
Details | A timeout of 2 seconds is added while calling web services to display the loading correctly (can be removed in the LemonWayClient.cs) |
The objective is to calculate Fibonacci sequence for the nth element → F(n)
F(n)= F(n-1) + F(n-2) when n > 2 , F(1) = 1 and F(2) = 1
Based on that definition we can proove the doubling method to get the used formula in the web service :
Please clone the project :
git clone https://github.com/AchrafHAK/LemonWay.git
Then open the LemonWay.sln solution
To test the solution, please make sure to run the WebServices project before running the console or the WinForm clients.