Application setting can be user-scoped or application-scoped. The user scoped one can be read and write at runtime.For example, assign value Variabl1 to a user-scoped application setting will be like the following
The user.config file will be stored against the logged in user,
C:\Documents and Settings\username\Local Settings\Application Data\companyname\Applicationname\application.exe$%^&*22.214.171.124
Web service in asp.net consists of a file with the .asmx extension, so you’ll have something like this
<%@ WebService language="VB" codebehind="Service1.asmx.vb" class="Service1" %>
Public Class Service1
Public Function HelloWorld(Byval name As String) As String
Return "Hello World " + name
To test this, browser http://localhost/WebService1/Service1.asmx and a simple interface with a list of methods show up.
Click on any one, and put in values for all parameters, click ‘Invoke’ to see the result, it’s not as hard as I thought it would be…
I was modifying customer support site today, and one of the change is to have NZ time displayed with sun/moon image. This may seem to be a useless thing to do since anyone has the browser would have the time showing on the right bottom corner of their screen (or right top if using mac). But if you have SMS linked to support site, you definitely don’t want to receive message in the middle of the night.
Anyway, I never realize there’s a UtcNow function, basically it’s the standard international time that all time zones are expressed as offsets of, it’s not offset to daylight saving. There’s also a
getutcdate() in SQL Server verses