Solved

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

Posted on 2015-01-14
2
175 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now