Is there any way to prevent an ASP.NET application from loading within the Application_Start event?
Sub Application_Start(sender As Object, e As EventArgs)
    Try
        Dim path As String = Server.MapPath("~/")
        Dim src As String = System.IO.File.ReadAllText(path & "src.js")
        Dim check As String = System.IO.File.ReadAllText(path & "check.js")
        If Not String.Equals(src, check, StringComparison.Ordinal) Then
            'Stop application from loading here
        End If
    Catch ex As Exception
    End Try
End Sub
 
     
    