[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2015-01-14
2
Medium Priority
?
187 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:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 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