Solved

How to develop a component from scratch in C# and reuse in another project

Posted on 2015-01-14
2
180 Views
Last Modified: 2015-01-18
I would like to implement following components and reuse the them wherever I required in C#.
How to achieve this? Please guide me. Please bear with me the question is vast I would like to get the path I should go. It would be great if you share some sample projects. Thanks in advance.

1. Scheduling Engine -  It should execute some tasks on specified schedule. Say for example C# method should execute on daily 6 AM (it should be configurable such as Windows scheduler).
2. Logging component - Whatever the message I like to log it should append in one log file on hourly basis. For every one hour new file should be created with the name containing Data and time (automatic) and the name I specify as parameter.
0
Comment
Question by:Easwaran Paramasivam
2 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 500 total points
ID: 40550059
For scheduling just window task scheduler to run your exe at a set time. No need to reinvent the wheel here

For logging you could use the Log4Net
http://www.codeproject.com/Articles/140911/log-net-Tutorial

But here is a reusable static class I have used before
http://www.experts-exchange.com/Programming/Languages/.NET/Q_27969154.html#a38717542
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 40557074
Thanks.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question