As you said I khow that don't send emails fast and at this moment in my site I send some email and afterward send again but I want to sent lots of them at once I'm sure it has another solution so do you have any solution?
I have a web page that invokes a web service methods to get records displayed on the web page. What happens if two website users vistit the web page at the same time. Two simultaneous requests will be sent to the web service. Should a mechanism be used to enforce exclusive invokation of the web service ?
Currently no such mechanism is used in the web page and some times timeout error generated when invoking the web service. I doubt such error is caused by lack of mutal exclusion support when invoking web service.
What is the best practice when implementing the web page in question ?
when two separate webpages perform a request to the server either by calling a webservice or some other request medium, you have no control over what happens once a request is sent to the server. It is two different REQUESTS transmitted in TWO different REQUEST CHANNELS, IIS on your server will manage all of this for you.
Your server will respond to these two requests separately and simultaneously. Remember that both your clients are important so you don't want to serve one client and deny the other, the only way to resolve this is to make your server a much faster machine.
I can imagine that one day your site will be "live" and 1000+ people will make requests to the webservice at the same time! implementing a mechanism to control which request is served first is really something done by IIS(internet Information Service) and you shouldn't bother, you will kill yourself.
Thanks for reply.
Maybe I couldn't explain well. The web page in the website invokes a remote web sevice. When two users visit the same web page it means two simultaneous requests are made to the web service both of which are originated from the same Ip address. The matter is they are from the same Ip address. I doubt wether the web service can handle that or a machanism must be used in web page. Or maybe the server can be cofigured to allow such simultanous requests or not ?
I want to send bulk mail in asp.net using C#...Front End:Asp.Net with C# and Back End:Sql Server.
Following code is used to sending from gmail only...how i send from yahoo,hotmail,rediffmail,etc...
MailMessage mm = new MailMessage();
mm.From =new MailAddress(FromTextBox.Text);
Attachment at = new Attachment(FileUpload1.PostedFile.FileName);
mm.Subject = SubjectTextBox.Text;
mm.Body = MessageTextBox.Text;
SmtpClient sc = new SmtpClient();
sc.Port = 587;
how to send bulkmail from gmail,yahoo,rediffmail,hotmail etc..
how to attached single and multiple files and images...
how to store sended mail with and without single and multiple attachments...
how to do these all...please any body send code...
thanks in advance...
I would like to compare following code with GUID. can guide me to write function for checking GUID if the key (GUID) dose not exists in destination table then it will return false else true.
//Here i would like to add code for checking GUID is exists or not?publicclass VIPResolver : ValueResolver<bool, string>
protectedoverridestring ResolveCore(bool source)
return source ? "Y" : "N";
Any answer would be appreciated!
When working with C# asp.net 2010 web controls, I am wondering if there is a method for handling errors? Basically is there any special way of handling errros that can occur? If not, when a web control is being accessed, should I put the code within a try-catch block?
I have created a report with Report Viewer control using Visual Studio 2008 under 3.5 frame work in the local mode. However, I am trying to publish this website for public to use on Windows 2003 server. I have installed published the website with Web.Config from my machine and then executed ReportViewer.exe on this server by double clicking on it. This Report Viewer.exe was downloaded from Microsoft Report Viewer Redistributable 2005. However, so I read an article in this that I need to copy exe file from C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\ReportViewer.exe to the server. I did the same, but I do not see same directory path on the server. It does not have no subdirecties from BootStrapper\Packages\ReportViewer\ReportViewer.exe in the server. When I try to access the website, it still says "Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies". Although I executed ReportViewer.exe from c:\ on the server, I am not sure what else needed to do. It says that all the required files in C:Windows directory. But I am not positive on copying files and placing them anywhere.
I am wondering if my actions are not coherent enough to publish the website or not. Any help is greatly appreciated.
I think the biggest problem is caused by the "vocals" which could also be consonants. Look at your name: it starts with a waf, doesn't it, and hence could also be transliterated to Wamairi or Umairi; likewise with the yod - Omayari or Omayiri could also be possible. You must find some rules for that, otherwise you can only use a "look-up table", i.e. a Dictionary<string, string=""> containing pairs of Arabic and romanized versions for every word.
And when it comes to other languages using the Arabic alphabet (e.g. Persian, Pashtu, Urdu, traditional Malay, Turkish before Atatürk), the situation becomes even more complex.
You are right the hardest job is to determine what the word is (hence the data entry wouldnt enter the word with vocals, with addition to hamzah, maddah, and shaddah which may be emitted). And the reset will be easy.
by the way, you know much about arabic (where did you learn that?!!)
Help people,so poeple can help you.
Last Visit: 31-Dec-99 19:00 Last Update: 30-Nov-21 23:14