Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Recommended Project Type

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Rigley - 18 Aug 2005 14:56 GMT
Hi,

I'm still a bit green with .NET...  I'd like to know what would be the best
kind of VS .NET project type I should use if I need a scheduled job that
will pull data user data from a DB2 db and modify user account data in
Active Directory.   (Data like address, phone, mgr name, etc...)  I'm
envisioning some type of an .exe that would be added to the server's
Schedule service and called nightly that would in the background with no
user input.

Should a job like this be true VB .NET app?  A Console Application?  A
Windows Service?  Please let me know your thoughts and a quick reason why.

Thanks kindly,
-Joe
Mikael Östberg - 18 Aug 2005 15:52 GMT
Hi!

I would use a Console Application. It's simple and does not depend on
anything else than the .Net framework.

Stuff like access to file system and other resources are run as the calling
user (which you set the Scheduler).

Another approach could be if you do you logic in a class library (as a
separate project) which you use from your Console app. Then you can easily
switch to a service, if you feel like it.

Mikael Östberg

> Hi,
>
[quoted text clipped - 11 lines]
> Thanks kindly,
> -Joe
Joe Rigley - 18 Aug 2005 19:19 GMT
Thanks for the info.  I'll give the console app a try.

> Hi!
>
[quoted text clipped - 28 lines]
>> Thanks kindly,
>> -Joe
Andy Fish - 19 Aug 2005 14:24 GMT
as a follow-up, I would recommend you always put the logic in a separate
project - then you can produce a facade (be it service,  console, winforms
app or whatever) with the minimum of hassle

> Thanks for the info.  I'll give the console app a try.
>
[quoted text clipped - 31 lines]
>>> Thanks kindly,
>>> -Joe

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.