Advice- Network Config Application

This is a discussion on Advice- Network Config Application within the C# Programming forums, part of the General Programming Boards category; Hi guys, I was just wondering if a could get some advice from you. I am about to undertake a ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    3

    Advice- Network Config Application

    Hi guys,
    I was just wondering if a could get some advice from you. I am about to undertake a project to write a network configuration tool. The network is a proprietary arrangement of embedded devices.

    I am an embedded software developer and have had experience mainly in embedded C, and thought I could use C# (and .NET) to fulfil my requirements.

    The application will need to
    - Send/receive data from a com port. (56k)
    - Display network traffic.
    - Store configuration data from each device on the network ( ~500bytes from each node)
    - Be able to display configuration data and manipulate it, with a simple GUI.

    Am I right to believe I should do this in C#?

    If I wanted to store a copy of the configuration data off site, how should I be opting to save the data. SQL?

    Any relevant advice, suggestions, etc. would be greatly appreciated.

  2. #2
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109
    Quote Originally Posted by xtal
    The application will need to
    - Send/receive data from a com port. (56k)
    Then look at the System.IO.Ports namespace ( class -> SerialPort )

    Quote Originally Posted by xtal
    - Store configuration data from each device on the network ( ~500bytes from each node)
    - Be able to display configuration data and manipulate it, with a simple GUI.

    Am I right to believe I should do this in C#?
    Well no one will tell you if you are right that you "should" do this in C#.
    Write it in whatever you feel comfortable and more important in a language that can fullfill your needs.

    Quote Originally Posted by xtal
    If I wanted to store a copy of the configuration data off site, how should I be opting to save the data. SQL?
    Using SQL for this seems like driving with a rocket proppelled car instead of a bicycle. Unless you will be monitoring a very very large network where lookup time for one record would take forever ....

    If it will be a somewhat small amount of devices you will be monitoring I'd just use the XmlSerializer class. On startup of the program load the data from the xml file, deserialize the data so you can use it troughout your program.

    Using SQL would probably mean less coding for you, since you'll just be sending queries etc... but then the machine where it is running should have acces to a sql server *duh*.

    Which I think is a heavy demand, especially if the SQL server is going to be local.
    But then again, since you are monitoring network traffic , I can imagine there will probably be some SQL server available in the network. And if the network is down, you cant connect to the SQL server probably and then again whats the use of monitoring a network when it is down ...

    These are just some things you should think about before jumping into the coding part of this project.

  3. #3
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,399
    Quote Originally Posted by GanglyLamb
    These are just some things you should think about before jumping into the coding part of this project.
    Think before coding? HERETIC!
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    3
    Thanks Gangly,

    I guess I would have been better asking 'Am I right to believe I could do this in C#?

    I was just wondering if I could achieve the tasks i had outlined. My hidden agenda was to get some direction as to which classes, namespaces, etc. would be worth looking at before I started, so thanks again Gangly.

    I also take on board what you say about SQL. I was thinking too that I would sidestep SQL and just store config data in XML's - except was a little nervous about getting flamed for being completely novice.

    Anyways, thanks for the advice. Any further suggestions will be greatly received.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Application Data folder on Windows
    By idelovski in forum Tech Board
    Replies: 24
    Last Post: 11-29-2008, 10:57 AM
  2. Cleanup of the application...
    By Petike in forum Windows Programming
    Replies: 1
    Last Post: 08-16-2008, 05:23 PM
  3. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 03:33 AM
  4. Persistence of network events
    By Hunter2 in forum Networking/Device Communication
    Replies: 0
    Last Post: 10-02-2004, 08:38 PM
  5. Win application not very portable
    By swed in forum Windows Programming
    Replies: 5
    Last Post: 10-01-2001, 11:17 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21