404 Error - answer not found
Abhipal Singh
Posts
-
C# -
Thought of the dayIf a similar situation pops up now, I am sure Noah will save Google servers first, and the rest will follow :laugh:
-
Split a string into valuesIt looks like serialized JSON. You can deserialize it into and object and access the values easily (and also, you can assign those values into string variables if you want). There is a lot of material available on the internet regarding JSON handling in C# Check some links below to help you out with JSON deserialization: JSON example[^] Deserialize JSON with C#[^] http://stackoverflow.com/questions/22580141/json-newtonsoft-deserialize-object-containing-a-list-of-string[^]
-
Spammer in Q&A -
How i can pause/resume a thread in window form application.It looks like you are making you main thread sleep when you pause processing, and you end up hanging your UI. You need to have a separate thread for running your audio to text conversion code so that, you can pause that thread as an when required. (Hint: see
System.ComponentModel.BackgroundWorker
documentation) Please explain how your code works, may be then we will be able to help you better. -
ip chengerLooks like someone is trying to hide identity :-D You can use free proxy sites available on the internet, but even they will record your IP and will maintain a log without telling you. If you want to learn how things work. You can set up a proxy server of your own. Your webpage requests will go via proxy. Enterprise level organisations use proxies to save their identity and apply security to their networks.
-
Get text in a textboxThanks for correcting me Richard! I generally work on C# so, not aware of exact VB syntax :) Also, you raised a good point about MessageBox, that it will get displayed on server side. I suggest, we can use javascript alerts instead of message box.
-
Get text in a textboxDebug your code and check what is the value you are getting in
txt
variable. It looks liketxtidea
control is not found byFindControl()
and hence the result is empty. Also, avoid checking string values with ""If txt.Text <> "" Then
Instead use
If !string.IsNullOrEmpty(txt.Text) Then
its cleaner and less error prone.
-
SMTP - Failure sending mail.It looks like your anti-virus's firewall is blocking the SMTP communications. Try to allow connections by configuring the anti-virus's firewall on port 25 (default SMTP port) or any other port number that you are using. See your antivirus documentation. It will tell you where to find the settings to achieve this.
-
SMTP - Failure sending mail.It looks like your anti-virus's firewall is blocking the SMTP communications. Try to allow (inbound/outbound) connections by configuring the anti-virus's firewall on port 25 (default SMTP port) or any other port number that you are using. Also, you can check the default port numbers that you can enable for SMTP in the link below: http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol[^] See your antivirus documentation. It will tell you where to find the settings to achieve this.
-
Best Hosting OptionIIS is a better hosting option. However, it also depends on what your service is actually doing? IIS gives you scalability and basic inbuilt features which you will find missing in a windows service. Below link have a brief explaination about IIS benefits: https://social.msdn.microsoft.com/Forums/vstudio/en-US/015d711d-ce5a-46a1-a93e-1c68746e76d3/hosting-iis-vs-windows-service-?forum=wcf[^]
-
Wcf reading stream fails when network connection is lostYour timeouts are very large values (12 hours!!!) This is making the web service stall and keep waiting for a very long time (because you asked it to wait by setting timeouts to 12 hrs) You need to change these timeouts to few minutes(1 minute should be enough) at max as timeouts in hours does not make any sense. Read more about timeouts in below link to get a better understanding of them: https://msdn.microsoft.com/en-us/library/hh924831(v=vs.110).aspx[^]
-
WEB SERVICE IN ASP.NETIn addition to what Ryan said. Web services are generally used to have a multi-tier architecture where web services work typically on the middle tier. Consider a scenario, where we have a database and a website that fetches data from this database. DB---> Website Now, you have a requirement that you need a mobile app, that will use data from the same database. DB---> Mobile Application You will be re-writing the entire logic to fetch data from DB in your mobile app To save yourself from such problems. Multi-tier architecture is the solution DB--->Web Service--->Website DB--->Web Service--->Mobile App DB--->Web Service--->any other client who can consume your web service By using this strategy you just have to write you Data Access Layer in web service only. Your clients will have to consume this service and get he data from it. There are a lot of scenarios where web services help a lot, integrating disparate systems using web services is another example. Google the use of web services and I am sure you will get a lot of stuff related to it.
-
They're not dead, JimHahaha thats a "Good Idea"!! However, you need to make sure that the tower/divider is durable.. (my pen holder is a bit shaky) :doh: Idea: You can join 3 floppies together to make a thick brick and then you can join these bricks together (just like Lego blocks) and construct your master piece... :) Do share your invention!!!
-
CP is back!Thanks Ravi Just check the Q&A section again and its working fine now.. Previously there was a page not found coming with a CP logo image.
-
CP is back!Looks like things are back on track now... Just check the Q&A section again and its working fine now.
-
CP is back!Looks like the Q&A section is not working perfectly.. Try to open any Question under quick answers and it will throw error "Controller or Action Not Found"
-
They're not dead, JimHahaha!! Check the pic below :) My Floppy Pen Stand[^]
-
C #You have posted a similar question in Q& A section: "auto generate serial number in c# " Please don't Spam... Have some patience to get you answer. Also, Explain the problem you are facing. We have not developed telepathic abilities till date. Until then, you need to explain stuff..
-
Can't upload profile pictureThis workaround worked for me.. Thanks!! However, the bug is still there..