>>>>>>>>>John,
>>>>>>>>>About your second approach...
>>>>>>>>>
>>>>>>>>>So what you're saying is that I build my core components (NewsReader, Blog, ProductList, etc...) and have them each in a DLL. I would use reflection to load the DLL's. If a client wants to use NewsReaderOnSteroids instead of NewsReader, I would just develop the new component and deploy it in place of the existing DLL? I suppose I could use my config file to specify while DLL should get loaded for the component.
>>>>>>>>>
>>>>>>>>>I would think that this approach would lean heavily on implementing effective interfaces?
>>>>>>>>
>>>>>>>>
>>>>>>>>That's true. If you want, I can send you some code snippets that we used. We allowed our clients to add custom code processing to an import process so that we didn't have to rewrite the entire load. The dll's were loaded on the fly using reflection and executed the customers code in the custom dll.
>>>>>>>
>>>>>>>John,
>>>>>>>Some code snippets would be very helpful.
>>>>>>>
>>>>>>>I am having issues with the LoadData line saying "Object reference not set to an instance of an object" and I just can't figure out the syntax to create a new instance of my class.
>>>>>>>
>>>>>>> Type myType = Assembly.LoadFile(@"C:\Newsletter.dll").GetType("NewsLetter");
>>>>>>>
>>>>>>> INewsletter myNewsLetter = myType;
>>>>>>>
>>>>>>> myNewsLetter.LoadData();
>>>>>>>
>>>>>>
>>>>>>
>>>>>>You can create an instance of myType with Activator.CreateInstance. Then check out Method.Invoke for actually running the method. I can't send the code till monday...
>>>>>
>>>>>I might be able to figure it out from that. Thanks again!
>>>>
>>>>PMFJI, Take a look at message#
1250223 and the rest of the thread for some ways to do this.
>>>
>>>Using that thread I've found a method that works:
>>>
>>> System.Runtime.Remoting.ObjectHandle o = Activator.CreateInstanceFrom(@"C:\Newsletter.dll", "NewsLetter.NewsLetter");
>>> INewsletter myNewsLetter = (INewsletter)o.Unwrap();
>>>
>>>
>>>I can now utilize myNewsLetter to use the functionality in the component I'm loading. Seems pretty straightforward. Thanks!
>>
>>You're welcome. Now for the important stuff. What are the Vikings going to do about quarterback?
>
>The same thing they should do to their coach - can him and find a new one. Adrian Peterson won't last forever. Make the move, NOW! Find a Kurt Warner, a Jeff Garcia, a Matt Cassel - heck, find a Michael Vick.
Unless they could get Warner or Garcia, I'm not sure there is a better option out there. I think TJack just needs more game time. He has really only played in 21 games. If you compare his numbers to Eli Manning's through his first 21 games, Jackson's are a little better. I would hate to see them make a play for Cassel.