This is what I mean, but its even better. In many cases, the code will be able to be the same in both thick and thin client. For a simple example, if I had a calculator business class that I wanted to expose in both clients I could create textbox controls in each and the event handling code would be the exact same.Originally posted by bungpeng
Is that what you mean?
for example: I use VB.NET to develop my application logic in class, then for Web application, I can use ASP.NET to call VB.NETs Classes? any example for this?
Private Sub cmdCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click
Dim calc As New Calculator()
txtAnswer.Text = calc.Add(txtFirstNum.Text, txtSecondNum.Text)
End Sub