Solved

Is there a good and quick ASP.NET with C# Tutorial Online

Posted on 2009-03-31
10
299 Views
Last Modified: 2012-08-14
I saw W3 Schools ASP learning material, however it is using VB. Can anyone point out a good guide similar to that using C# for ASP.NET. I have trouble outputting basic things onto a web page, because I do not no the methods available (for example to output php uses echo).

Thank you.
0
Comment
Question by:namsu55
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24029200
0
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 200 total points
ID: 24029210
0
 
LVL 18

Expert Comment

by:David Robitaille
ID: 24029247
also
http://www.asp.net/learn/
thats where i learned.
0
 

Author Comment

by:namsu55
ID: 24029297
Some of those logudotcome were VB tutorials im using C# and the www.asp.net is not really a quick tutorial. Is there anything similar to what W3 has in C# though.
0
 
LVL 18

Expert Comment

by:David Robitaille
ID: 24029350
well, Asp.net is a wide subject, what do you need to do?
"have trouble outputting basic things onto a web page, because I do not no the methods available (for example to output php uses echo)."
in asp.net, the principle is different. Outputing HTML is the old way (classic asp).
the usual way of outputing text is putting a label or literal on the page and setting is text value in the code behind.
 
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 18

Assisted Solution

by:David Robitaille
David Robitaille earned 150 total points
ID: 24029393
0
 
LVL 23

Expert Comment

by:apresto
ID: 24029452
<info>
.Net is Object Oriented (aka OO) programming, Classic ASP is not. I started with classic asp and found it very difficult to break the OO platform having no knnowledge of it.
My recommendation before you do anything, is try to get to grips with the concept of Object Oriented programming, and start at the beginning. You can buy some good books, even second hand ones from Amazon that can get you started. Online tutorials are good, but i always found preferred books for some reason because you know you are working toward something, instead of just doing a tutorial here and there. I still do tutorials now if i need to know something, but i have a firm grip of OO now.
</info>
For example, you'll find that in ASP.net you wont be printing in your ASP any more so much, its a matter of binding and access controls defined on your page (as davrob60 has already stated).
Its more similar to Windows programming now because lets say you have a textbox on your page:
<asp:Textbox runat="server" id="txtMyBox" />
you might set it like this from your code behing:
txtMyBox.Text = "Hello World";
instead of the ASP inline approach:
<input type="textbox" name="txtMybox" value="<%="Hello World"%>"/>
C# has a very similar syntax to Javascript if you use that.
Here is a useful article that shows some comparisons between VB.Net and C#
http://aspalliance.com/625 
0
 
LVL 23

Assisted Solution

by:apresto
apresto earned 150 total points
ID: 24029459
Also see here, for C# tutorials for VB6 developers:
http://www.programminglearn.com/190/c-for-visual-basic-6-developers 
0
 
LVL 23

Expert Comment

by:apresto
ID: 24088003
I dont know why this was given a B, you gave no feedback to the responses, you stated that you needed in c# so we gave you suggestions.  Out of curiosity, without posting any feedback, what more do you want?!
0
 
LVL 18

Expert Comment

by:David Robitaille
ID: 24088104
namsu55, this is from Experts Exchange help
  • What's the right grade to give?
    Grading at Experts Exchange is not like school. It's more like the "10-point Must" system in professional boxing; in other words, an answer is worth an A, unless it doesn't resolve your issue. If it requires you to do a little more research, or figure out one more piece of code, then it's worth a B. If you think it's not worth a B, the custom is to offer the Experts an opportunity to earn a better grade.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now