Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Sunday, January 12, 2014

How to simulate WAN (Wide Area Network) in LAN (Local Area Network)



Anyone ever needed to test the web application on a low bandwidth WAN link? But u can’t afford create a link using actual routers and other networking equipment.  I came across such situation where, a web application works fine within the development environment which is a LAN. But when application is deployed in the actual environment which is a WAN with low bandwidths like 128Kbps it becomes very slow to response. My solution was WINEM.

Saturday, July 13, 2013

How to prevent user from double clicking button on a web application

I faced with situations where users click a button on a web application, and before the request was processed and response comes to the client user clicks again. This may produce inconsistent and unexpected results. A calculation will be performed twice or an entry is posted twice.
In order to prevent this I used was disabling the button until the response using java script.

Tuesday, December 13, 2011

Reservoir Water Level Monitoring System Using Ultrasonic (part–2)

 
In the previous post, I told about sending the information gathered through SMS. Then the next part would be on the development of the web interface. The web interface I designed show the water levels on a map using the Google maps API (). This API is based on Java scripts, which means the things happen on the client side. Client side refers to the user who visits the website. When the user browses to the website the browser run the Java scripts and generate the maps. However, in order to show the water level details on the map we need Java scripts to access the data that are on the central server. Solution I used is XML, widely used technology with web development.