I thought we were talking about if we'd written the code here.
It was the solution I used at the time, so I was wondering if another solution existed.
I also spent quite a bit of time figuring out exactly what happens when a windows service 'exits' as well. Which is why I came to the conclusion that one must explicitly call Environment.Exit() in a service Stop() method (after attempting to nicely stop all the threads.)
hi.. i have dot NET framework software installed on my computer which includes microsoft SQL sever 2008. Do I have to install MS SQL server software again so as to be able to connect or retrieve data from the database? plz help.
No you don't need to install anything else, you can connect via code.
What is lacking is the management studio as you only get the express edition with no GUI. This makes setting up/ managing DBs hard-ishbut not impossible as you can always create SQL and execute via a console app or similar. You can download an express (free) version of management studio here[^] to provide a GUI, I don't know how good it is as we've got the full thing at work. I dare say it'll get the basics done.
We are developing a daily planing system, the system will work like a calender planer with multi clients and servers... The questions is which c# middleware should we use for this kind of 'distributed system'????
Middleware is a set of services that perform various functions in a distributed computing environment, across a wide set of server and client systems. In essence, middleware is computer software that connects software components.
great - I dont understand why your teacher thinks a web server, with some ASP.NET programming, and a database back-end, fails to meet that definition - true, the web-server and ASP.Net programming is 'bundling' some of the services, but it does meet the definiton (the protocols and components may be 'limited', but, its there)
Well, then, if you dont want to look at ASP.NET etc, you're going to have to do a fair bit of research, and, start updating your document with possible protocols for each of the different layers/comms
In the commercial world, for example, there's BizTalk, Tibco, which all offer multiple ways of doing things, in addition to 'messaging', like AMQPP, RabbitMQ, MQSeries
I'd start off by looking at what http://www.zeroc.com/[^] offer for example, and see if you can use that to hang a system together
there's no place for a simple asp.net calendaring app to use a message bus of any sort - message bus is for apps like real time trading applications where screen flicks (ie real time client server architecture). In this case, WPF/Winform client fetches updates from message bus, which is in turn fed by combination of market data provider (bloomberg, reuters...etc) and calculation servers in the back (for example doing risk, profit and loss, and other model calculation)
- and even in this case, you can simplify things by simply having clients (WPF/Winform) talking directly to database.
i have simple clear cut definitions because i have a corresponding simple mind which prefer spend more thoughts on the beer end of the day - if i am wrnog, someone will offer to correct me i generally don't need to ask for it!
I have created a windows application,and i have inserted images in MySQL server database.
How to retrieve all the images from server,the source path by which i should retrieve the images from server and then giving the Target path where all the images has to be saved.
Is that what you were looking for ? That retrieves a list of bitmap (.bmp) files from c:\mydir\ and all subdirectories under MyDir, into the string array filePaths - you can then use (for example) a 'foreach' on filePaths to process the images
Last Visit: 31-Dec-99 18:00 Last Update: 6-May-16 8:48