ASP.Net-寻找任何好的教程 [英] ASP.Net - Looking for any good tutorial

查看:60
本文介绍了ASP.Net-寻找任何好的教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在网上开发一些小型应用程序.最有趣的.像这样:
www.goldengel.ch/forum

我可以编写经典的ASP.而且我可以编程VB.Net.但是我找不到任何ASP.Net网站都能简单入门的曲线.

为什么?
ASP classic 中,我使用了记事本编辑器并编写了一些HTML代码在那里.动态代码由<%%>实现.标签.当整个班级都应该在网站上工作时,我在记事本中编写了该班级,将其复制到网站空间中,在asp classic网站中包含引用,它可以很好地工作.
现在在 ASP.Net 中,我不明白为什么我需要一个web.config站点以及一个带有动态标签和类的HTML页面.然后,我只能将一个类作为参考.我知道为什么继承方法只支持一个类.但是我不能忍受这个.我想包含我的EmailSend类和LogIn类.目前,我将所有代码都放在一个页面中.

Hi

I'm developing some small applications on the web. most for fun. like this:
www.goldengel.ch/forum

I can program ASP classic. And I can program VB.Net. But I can not find the curve to get simple startet any ASP.Net website.

WHY?
In ASP classic I used my notepad editor and wrote some Html Code in there. Dynamic code was implemented by the <% %> Tags. When a whole class should work on the website, I wrote this class in notepad, copy it into the web space, include a reference in the asp classic website and it worked perfectly.
Now in ASP.Net I do not understand why I need a web.config site AND a Html page with dynamic Tags AND a class. And then I can only put in one single class as reference not more. I understand why the inherits methode only supports one class. But I can not live with this. I want to have my EmailSend class and my LogIn-class included. At the moment I but all the codes in one single page.

<!--#include file="db.asp"-->
<!--#include file="emailto.asp"-->

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title><%=Now%></title> </head> <body> </body> </html>

<%Call db(5)%>
<%Call SendEmail("test@testcom")%>





您能解释一下如何使用记事本编辑器制作一个非常简单的网站吗?而不是任何自动化的Visual Studio编辑器)?
结果应该是一个包含两个包含类的网站.




Please
Can you explain me how to make a very simple website by using the Notepad Editor (not any automated visual studio editor)?
The result should be a website with two included classes.

<%@ Import Namespace="System.Net"%>
<%@ Import Namespace="System.IO"%>
<%@ Import Namespace="System.Data.OleDb"%>
<%@ Page inherits="clsBase" src="clsTextParser.vb" Language="vb"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title><%=Now%></title>
</head>
<body>
</body>
</html>

<%
Dim cBase As New clsBase
Call cBase.DoSomeThing()
%>



非常感谢


www.goldengel.ch



Thanks a lot


www.goldengel.ch

推荐答案

可以在记事本中编写任何类型的代码,然后使用vbc.exe(VB代码)或csc进行编译. exe(C#代码),但效率不高.
您可以使用完全免费的Visual Web Developer Express版本,以获得更好的开发人员体验.


这篇关于ASP.Net-寻找任何好的教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆