Professional Documents
Culture Documents
ASP.NET
Programming model can handle client-side events on
the server as if they happened on the server.
Design-time provides GUI configuration of controls
on the page. Microsoft provides controls that are
fast and scalable for .NET (vs. VS6).
Compiled code means 2-5 times faster execution.
Session State is now fast and scalable.
Web Services
Imports System.Web.Services
<WebService(Namespace := "http://tempuri.org/")> _
Public Class Service1
Inherits System.Web.Services.WebService
<WebMethod()> Public Function HelloPerson(ByVal
YourName As String) As String
HelloPerson = "Hello, " & YourName & "."
End Function
End Class
Web Services
Private Sub Button_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles Button.Click
Dim ws As New HelloService.Service1()
Results.Text &= ws.HelloPerson(strName.Text)
& "<br>"
End Sub
DEMO
Issues
Only Windows 2000 and XP as servers.
Windows 98 or better as clients. CE support
is in beta and will be a subset.
Transparency of Source Code MSIL is
relatively easy to reverse engineer to source
code. Obfuscators and encryption will solve
this in the future.
Security of .NET is still questioned based on
past experience with Microsoft.
.NET Myths
Myth: Passport is required for authentication in .NET. BizTalk
is required for XML Web Services. Windows CALs are
required for access to authenticated IIS applications.
Myth: J# is another Microsoft attempt to corrupt Java.
Myth: The Microsoft .NET Pet Store benchmark proves
ASP.NET is 15-28 times faster, requires the CPU, the
code and supports 6-8x as many users as J2EE.
Related Myth: Oracles latest Java Pet Store proves J2EE on
Oracle is faster than .NET
Myth: .NET is a huge mental leap for VB developers.