Soon, I'm facing a new project where the need for up-to-date currency exchanges is crucial.
This is not the first time I've done this, but I wanted to make a reusable, self-maintainable class so I don't have to do it again.
The European Central Bank (ECB) provides the Implementation
Download the Currency.cs below and add it to the App_Code folder of your website. Then add the following to the section of the web.config.
<add key="Currency.Filename" value="~/currency.xml"/>
The filename value can either be a relative or absolute file path.
Download
Comments
Tag:
Reddit | Furl
Bookmark Murdok:
Mads Kristensen currently works as a Senior Developer at Traceworks located
in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in
2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and
web services in his daily work as well. A true .NET developer with great passion for the simple solution.
http://www.madskristensen.dk/
C#: Realtime Currency Exchange Class
0 views
Comments (0)
Please sign in to leave a comment.





No comments yet. Be the first to comment!