Author Topic: What is a .NET Assembly anyway?  (Read 1034 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
What is a .NET Assembly anyway?
« on: August 04, 2012, 09:57:25 PM »
Other then being very scared of the idea when Numsgil says it is a pain (that does not happen often)
I want to know what is the difference between an .exe and a .NET Assembly.

(I tend to complain and spam my ideas before understanding a suggestion in the first place, good thing I caught on to this,  I will try to never do it again)
« Last Edit: August 05, 2012, 02:59:20 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
Re: What is a .NET Assembly anyway?
« Reply #1 on: August 05, 2012, 05:41:15 PM »
Assembly (CLI)

In short: it's either a EXE or DLL.  .Net assemblies can call in to other .NET assemblies relatively easily.  VB6 can call in to .NET assemblies through a COM interface.  Setting up the COM interface for a .NET assembly is a bit of a pain, but there should be articles floating around online about how to do it.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: What is a .NET Assembly anyway?
« Reply #2 on: August 05, 2012, 07:07:01 PM »
so it is kinda like custom api...
Very cool system If you want to slowly transition code from one version to another, but just extra work for me when I am trying to do something simple.

I think I'll just add a form to the main project that will hold my global settings. (sorry, no transition to DB3)

However, I still prefer the controllers to be external (all they really do is: copy files and write to files, and also run the main program loading different settings files or simulations passed to it by command line)

Why?

One reason is, people can easily write there own plug-ins
And the second is, it will give me peace of mind  :P

Should I rewrite the controllers in .NET 3.5 or .NET 4 ? (Or the latest version of .NET when I finally get to it ?)
« Last Edit: August 05, 2012, 07:40:26 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7716
    • View Profile
Re: What is a .NET Assembly anyway?
« Reply #3 on: August 05, 2012, 11:53:15 PM »
Whichever .NET you want to use is fine.  It probably makes sense to use the latest, since they're backwards compatible.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: What is a .NET Assembly anyway?
« Reply #4 on: August 06, 2012, 11:58:30 AM »
few, I am glad we are on the same page.