Skip to content

Mowghli/Temperature-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature-Converter

A website made using ASP.NET and C#, that can convert the given Celcius value to Fahrenheit, and vice versa. The project solution consists of two parts:

  • TempCovService
  • TemCovServiceForm

TempCovService

A WCF service that performs the conversion between Celcius and Fahrenheit temperatures. Check the code at "Temperature-Converter/TempCovService/Service1.svc.cs" for the logic. The function "C2f" is used to convert the given temperature in Celcius to Fahrenheit. The function "F2c" is used to convert the given temperature in Fahrenheit to Celcius.

TemCovServiceForm

A Windows Forms Application to use the TempCovService service. Check the code at "Temperature-Converter/TempConvServiceForm/Form1.cs" for the logic.

Steps to run the project

  1. Download the project, or clone it by copying the URL.
  2. Open Visual Studio 2019. If you downloaded the project file, unzip it, then open the solution file using Visual Studio. Or you can clone through "Open from Source Control".
  3. After you open the project solution, open the solution explorer. Right-click on "Service1.svc" in the TempCovService project, and select "Open in Browser".
  4. Click on the "TempConvServiceForm", and run it. A window will open.
  5. To convert a Celcius value to Fahrenheit, enter the number in the corresponding textbox, and click on the "C2FBtn" button.
  6. To convert a Fahrenheit value to Celcius, enter the number in the corresponding textbox, and click on the "F2CBtn" button.

About

A website made using ASP.NET and C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages