To Jost .NWDP Site
.NET Web Developer Program
CurrencyConverter Project
Project 1
Due: May 4, 2017.
Goal:
Design and write an ASP.Net application to be viewed in a browser at localhost
that converts among selected currencies.
Relevant Examples:
Event.Quiz1 Event.Quiz2 Event.Beverage
Event.ChineseZodiac Event.ShowPoem Event.Greeter3
Misc.CurrRateFromWeb
Required Items:
- An .aspx web page.
- Radio buttons or dropdown list for
entering the source currency
- Radio buttons or dropdown list for
entering the target currency
- Allow a choice of at least five currencies.
- Textbox for entering the source amount
- Textbox for entering the name or ID of the customer
that is purchasing currency.
- Textbox for displaying the computed target amount.
- Submit button
- Link to a page displaying the the log file (Item 15). You can use an
ordinary HTML hyperlink or you can use a LinkButton control.
- Labels or other text for making the user
interface clear to the user
- Two Image controls that display the flags of the country
that uses the source and target currencies. Change the
flag when the corresponding radio or dropdown list is changed.
- A CSS stylesheet that sets the styles for the page.
- Read the current exchange rates from a web service
or other web source. For example, you can use the Misc.CurrRateFromWeb
Example to show you how to obtain the currency rate from a web page
formatted as a CSV file.
- Each time that the submit button is clicked, write the transaction
to a log, which is a text file on the server. Include the date of the
transaction, customer name or ID, source amount, source currency,
and target currency, and current amount. Round off the floating point
values as appropriate. Use the decimal type for monitary values if you
wish.
Put the logfile in the folder C:/LogFile so that I can easily find it.
- A second .aspx page that displays the log file in 13
in the ShowPoem Example.
Conversion Formula:
targetAmount = sourceAmount * conversionRate
conversionRate is obtained from the internet CSV file
(or from any other internet source that you wish to use).
Grading criteria:
Functionality--50%
Stylesheet and form layout--15%
Well Written--5%
Comments including header with name, project name and
submission date on all source code--10%
Indentation in .aspx and code behind pages--10%
Saved, zipped and submitted correctly--10%