[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register 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
?
186 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

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

650 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