i have some web service in outsource server (not on the form server) and i need to send to this web service few text boxes fill by the user (text only - no files) i need to send the data + the number 1 + some guid string (that not changing - the same guid always) is anyone have an idea how im doing that? ( all the data need to be sending to asmx file.
I am working on a client - server application and in which I used to send and receive data through SOAP web service.
Now after sometimes I have heard from someone that I might lost some data while this process on soap service created in ASP.net. So now I have decided to send and receive data through batches like first I will send List of 50 objects and then next 50 and so on...
Now I am new to web services and all.
So my question is "Is it true that we can lost some data sometimes while transferring it through SOAP web service?"
I'm building a website for a client on which they want site visitors to be able to fill out a form with the relevant information along with their credit card details, and when they submit the form, the information will be sent to the client in an email. This is an experimental services that they're offering so they're not interested in real time credit card processing yet. If I just zip the collected data up into a password protected zip file, and send that in an email to the client, would it be secure? Or do I have to go further than that to secure the data?
I want to develop a website which provides the facility of sending free sms to any mobile. the technology which i want to use is asp.net with c#.How should i move further?
I want to have a web service which creates CSV data and writes it to a plain txt file on the client side. I was thinking of something like a GetData() method which returns a StringBuilder which contains the file content. The client of the service writes that into a file on the clients machine. Everything transfered needs to be secured, the web service runs together with a web app which is hosted on a https server...is calling the service secured then, too?
I am trying to submit my form's data to database using asmx Web Service method(Through AJAX extension methods i.e., Script callback method). My form contains lot of data, though only text data.This will be a very fast process,Or should i submit form data in the traditional way ?
I have an ASP.NET 1.1 form gathering data on a public-facing site, within a DMZ. The data is represented by a serializable class. My problem is that I need to serialize, encrypt and transmit the data to a Web Service running on an internal server - the service logic should then decrypt and deserialize the data before writing the XML to a shared folder.
Can someone point me in the right direction? What's the most straightforward way of doing this?
i am working on window application with local (service based database ) database. but while i am inserting with this than no data insert into nor showing any error . but when connect with external sql server its working well.
SqlConnection con = new SqlConnection(@"Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Database1.mdf;Integrated Security=True;User Instance=True"); using (var cmd = new SqlCommand("insert student (Id,Name,mobile,city) values (@Id,@Name,@mobile,@city)", con)) { cmd.Parameters.AddWithValue("Id", 126262); cmd.Parameters.AddWithValue("@Name", "manebde"); cmd.Parameters.AddWithValue("@mobile", 33333); cmd.Parameters.AddWithValue("@city", "ss"); con.Open(); cmd.ExecuteNonQuery(); con.Close(); MessageBox.Show("data saved"); }
i am developing a project wich sends massive amounts of emails. Lets say 200-300 emails per query. And each user can conduct multiple search querys. So at times it gets relly great number of emails to send.So this is what i need:1. a webservice with a fireAndForget type method, that i can pass in single or multiple email messages
I have different web applications and I want to ask if it's advisable to create a web service to send emails through it so all my web applications will go there instead of having the Mail class or code in every web application...
I have an object that contains a list of Email addresses and EmailIDs.
Code: public class DataObjects { public class UserEmails { private string _Email; public string Email
[Code] ....
And I populate it like this:
Code: protected void GetEmails() { DataAccess da = new DataAccess(); //this is a separate Data Access class with loads of methods to access the database List<DataObjects.UserEmails> myUserEmailsList = new List<DataObjects.UserEmails>(); //create a list of UserEmails objects myUserEmailsList = da.getUserEmails(1); //this passes in a UserID to the data access function that returns me a list of emails for this user myPassedList(myUserEmailsList); //I pass the list to another function just to prove the data is there and can be retrieved. }
The last line in GetEmails passes the list to myPassedList
Code: protected void myPassedList(IList EmailsList) { foreach (DataObjects.UserEmails myUserEmails in EmailsList) //loop through the list to prove it is populated etc. { int EmailID = myUserEmails.EmailID; string Email = myUserEmails.Email; } }
Everything above works fine. Here's the question. When I am at the point where I have populated the List of UserEmails - I need to pass it to a web service for someone else to access the data.
I pass my list to a function and I can loop through it by writing:
foreach (DataObjects.UserEmails myUserEmails in EmailsList)
which is fine, for me, because my application knows what DataObjects.UserEmails means ... the people receiving the list won't. They are just getting a list.
Can they loop through the list I pass them without knowing the structure of the object in the list and just extract the data?
I have created a customer website which has a contact us form on which on submit populates a database. I would also like to send to myself the contents of the form in an email when the form is submit.All the examples I have seen seem to require the customer to have an email client and know their email settings to send from, since this can not be known how do I send an email. The website is hosted externally.
i have two forms in first form there is a button control by clicking this button second form will open, there i'll do some calculation in the text boxes and press a button called "back" in second form. by clicking back button value from second form should come to a textbox in form one.
I want to send Faxes via my application. I have its dll and it works good, I have static text as a Fax page that should be changed some of its contents based on its reciever.
I am using a HTML Table as my Fax template with some pics and texts in its cells and I read its reciever name and email address from DB.
I created a Class library for WCS service (MyWCFServiceLibrary) to access data form my database. The database connection strings have been defined in Properties->Settings.settings. The endpoints are defined in the app.config. Tracing and logging is set to write to files on local server. This service is hosted by a .net web service. This webservice refrences the WCF service using MyWCFServiceLibrary.dll and MyWCFServiceLibrary.pdb. The web service is hosted in IIS. All this setup is working fine on the development environment.Now I want to deploy this in the QA environment. Since I am a newbie with WCF, I would appreciate some help on what needs to be done for deploying this on the QA server.1. Do I need to recompile the MyWCFServiceLibrary.dll after changing the connectionstring to point to QA database and tracing and loggint paths to the new server?2. Is there anything that needs to be done with end points or anything else?
I am calling a web service (written in Java) in my web app. I use the WSDL to generate proxy classes using the wsdl.exe command line tool.
Everything is working fine.
However, I have found out that the web service is not doing any data validation at all when they receive a request from my app. Hence, if I happen to send one minute piece of data that isn't exactly what they want, I receive a general fault error in return, with no specifics at all of what the incorrect (if any) piece of data is.
So, before I make the request, I'd like to validate my request against the schema they have provided. Is this possible, and if so, how do I go about this?
I have account in one website..I have also given my mail address while registration..In that website there is facility to send any content of that website to friend mentioning his email address..my problem is that after sending anything how it seems to my friend that content has been sent from my mail as I have given only my email id there not my email password...even when my friend hit reply to that mail it comes to in my mail inbox..
I discussed this point here [URL] .... but did not get answer..
As indicated in the Subject, I have a web application (say APP) that should feature an e-Mail Notification Service (ENS). Activation of the Service is controlled by a Button in a dedicated page where some parameters are also included to set running Period (FromTime - ToTime), Interval, Recipients, etc.
When said button is clicked, it should maintain those parameters into database then launch ENS. Since ENS is expected to run for good according to set parameters, it logically should run as an external application/service, independent from APP.
When ENS starts, it needs to consult database to fetch parameters, then schedules its Timer to periodically check database for some transactions that when found, should trigger ENS to dispatch e-Mails to concerned Recipient(s).
CHALLENGES:
1. Launch ENS as an external application on button click from APP.Achieved by using System.Diagnostics.Process class. However, I encountered a problem in verifying if the process is already running before starting it. The root of the problem lies in ProcessName property. Since ALL web applications must be launched via IE, hence, have iexplore as their ProcessName, which is also applicable to all processes started through IE, it is very likely to have multiple processes utilising IE. How to check which is which? I couldn't figure out that.
Eventually, I ended up with a workaround: when the Process is started from APP, capture its ID and save it to database, then use this ID with GetProcessById() method for later verification. When the Process is terminated, reset stored ID in database.
2. What sort of application should ENS be: Windows Application or Web Application?
In either way however, ENS will always run invisible in the background being a Process. If this is the case, how about creating it as a Windows Service instead?
I did a lot of reading but still confused. However, the choice is limited now to either Web Application or Windows Service. Which one is more convenient to the task in hand?
3. What Timer to use?
I tried System.Timers.Timer in a test web application but it didn't fire! Then I used ASP AJAX Timer and it worked pretty well (I still need though to try running it from APP to judge its functionality). I came across some recommendations to use System.Threading.Timer but haven't tested that yet. Would it worth the trial?
4. ENS as a Windows Service.
If I create ENS as a Windows Service, would I be able to communicate with database? How would this influence the Timer to use?
When sending email using MailClient, is it possible to have the .From property be for an email of a different domain than the credentials passed to the SMTP server? E.g., my credentials passed in are @mydomain.com, but the .From email is @anotherdomain.com. Or, must they be the same?
I have created a page for filling information, when anyone fills out the form, the information gets e-mailed to all the recipient's e-mail addresses that are mentioned in the code of the page.
I have written the code which is working fine but when i fill out the information in the form, the information is sent to all the 3 e-mail addresses i mentioned in the code, but all 3 recipients of this information can see other recipient's name and address in the "TO " field of their mailbox.
Is it possible to hide other recipients and only show the e-mail address which will be specific to that recipient ?