Author Topic: So I wanted to learn some C# & asp stuff or whatever...  (Read 14958 times)

0 Members and 1 Guest are viewing this topic.

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
So I wanted to learn some C# & asp stuff or whatever...
« on: August 12, 2008, 08:09:58 PM »
0
Well I downloaded the microsoft visual web developer express edition and decided to go with the ASP.NET w/ C#.  Create a SQL database, add a table, add some entries and I feel like I'm getting somewhere.  Then I start reading all these tutorials & crap and I get all confused and frusturated and give up hahaha.

Stupid computers.

I think I'll stick to just uo scripting for now & maybe find some better tutorials or easier ones later on lol.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #1 on: August 12, 2008, 09:34:16 PM »
0
Well, keep going with what's working for you.  I've found that some of the sample tutorials/code isn't really helpful.  But just keep it small for now and add little bits.  You can get overwhelmed if you try and start something too big and then just give up.  I did that a few times when I was learning windows programming originally (back in Windows 3.1 days when I was writing device drivers)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #2 on: August 12, 2008, 09:44:19 PM »
0
I found a LOT better tutorial to use now.  I read about 15 pages of it but didn't really try it yet.  I'll give it a go sometime tomorrow ;P  It's so much more clear and descriptive.  I think I'll start with just learning basic statements & structure for now.  I did some VB a long time back & could pick up on it easy, but if I gota relearn it I may as well go for C#.  Oh well, that's tomorrows project!  Maybe I'll have a nifty little web application to show eventually haha.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #3 on: August 12, 2008, 09:47:28 PM »
0
Look for the Jesse Liberty books from O'Reilly for C# reference.  They are really the best I've come across so far.  The three books I use mostly are:

Learning C# (good starting reference)
Programming C# (great comprehensive, easy to read book)
C# Cookbook (Not by Jesse Liberty, but I highly recommend this one so you can get ideas about data structures, etc)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #4 on: August 12, 2008, 09:48:45 PM »
0
And the BEST custom controls book I've found so far is from Apress by Matthew MacDonald, "Pro .NET 2.0 Windows Forms and Custom Controls. in C#"  This one is really really good!!
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #5 on: August 13, 2008, 07:23:17 AM »
0
I'll check all of them out :P

I would like to get a good book or two, but since I'm in 'poor' status I have to wait haha.

Right now everything I learned so far has been very little actual programming.  Setting up the databases, configuring things etc.  I guess once I think of some project to do that has to meet a certian goal I'll really have to start with some programming to start doing the things I need it to do.

At least I figured out some of the basics haha.  The first hour today was more successful then all of yesterday it seems ;x

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #6 on: August 13, 2008, 11:42:57 AM »
0
gah im getting mad haha.

im doing these tutorials on sql databses and using them in my asp.net web application.  so i make this database in the studio, then i close out and i'm supposed to connect to the sql server or something.  i didnt have the right application.  So I'm like ok SQL sever 2005 isnt it, i need to upgrade to 2008.  So I upgrade to 2008, still not the right application.  Then I find out I need SQL server management studio express (free).  I download that.  It don't work with sql server 2008.... only 2005 or older...  *bleep*.  Uninstalling sql server 2008, removing/reinstalling sql server 2005 just incase now.  I swear if this don't work.... hahaha.

I'm about ready to break down from using all this legit free *bleep* offered, and tell my father to get me the full 2008 studio. ;/

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #7 on: August 13, 2008, 11:49:01 AM »
0
Any time I've done database interfacing in Windows, I've used ODBC and then had the appropriate MySQL or PostGRES driver to interface with.  With that scenario, I've never had an issues with any database functions.  It's an extra layer, but I've found that it works pretty well (can even talk to Access databases then).
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #8 on: August 13, 2008, 02:01:44 PM »
0
I shall keep that in mind!  Right now it seems to work.

Got my log in & register stuff working.


Now the only thing that is a bit odd now is the indent style!


Which is why I never used the auto indent on scriptuo haha.  I indent like:
Code: [Select]
if X...
   {
   ...
   ...
   if Y...
      {
      ...
      ...
      }
   }

But it's like:
Code: [Select]
if X...
{
   ...
   ...
   if Y...
   {
      ...
      ...
   }
}


So... I guess I'm going to change my indent style now haha, which isn't confusing me too much, but it's wierd.  it is really easy to read though already, which I assume will get easier once I get used to it more.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #9 on: August 13, 2008, 02:07:52 PM »
0
You can read my little treatise for indention in the Q/A section:

http://www.scriptuo.com/smf/index.php?topic=190.0

I plan on adding more, but for now I'm going with the industry standard.  ;)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #10 on: August 13, 2008, 02:20:47 PM »
0
Honestly, I'm not certain why so many EasyUO scripters indent using Whitesmiths style...  I'm somewhat baffled by that since most everyone else that does C (K&R), and any Visual Studio product will always default to Allman.  But when you see EUO scripts, it's that funky Whitesmiths...
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline OMGBurgersTopic starter

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #11 on: August 13, 2008, 04:58:12 PM »
0
haha i have no idea either.

I learned vb years back and i always indented like that.  my father has programmed longer than ive been alive and i asked him how he does it, and he does it the way scriptuo and all this c# and all does.  So I have no idea why I do it this way.

On another note I'm off for pure c# tutorials as I have covered everything I need for the moment in the asp & sql for my needs until I get into developing other sections of this project.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #12 on: August 13, 2008, 11:29:07 PM »
0
haha i have no idea either.

I learned vb years back and i always indented like that.  my father has programmed longer than ive been alive and i asked him how he does it, and he does it the way scriptuo and all this c# and all does.  So I have no idea why I do it this way.

On another note I'm off for pure c# tutorials as I have covered everything I need for the moment in the asp & sql for my needs until I get into developing other sections of this project.

Always listen to your father...  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline iamwin

  • Newbie
  • *
  • Posts: 7
  • Activity:
    0%
  • Reputation Power: 0
  • iamwin has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #13 on: August 14, 2008, 05:53:49 PM »
0
K&R all the way for me. Except EUO (cause you can't) I stick to allman. Whitesmiths for the fail.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13301
  • Activity:
    0%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: So I wanted to learn some C# & asp stuff or whatever...
« Reply #14 on: August 14, 2008, 06:06:51 PM »
0
K&R all the way for me. Except EUO (cause you can't) I stick to allman. Whitesmiths for the fail.

Who the heck got all the UO scripters to start indenting in Whitesmiths anyhow?  lol.  Failz.  Makes me twitch.  That's ok, with ScriptUO, once you run the auto-indention you're stuck in Allman.  heh.  My way to make the world right again because there's no UNDO for that function!!  MUHAHAHA.
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: