?
Solved

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

Posted on 2015-01-14
2
Medium Priority
?
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Michael Fowler earned 1500 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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 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