use it for websites?

bra

New member
Joined
Aug 23, 2011
Messages
3
Programming Experience
3-5
I've recently learned quite a bit of vb.net. I took a course in it at uni and then played around with visual studio a bit myself.
I'm not an expert but I know how to do a fair few things with it.

Now I wonder though....how do you use it for websites?

I can make vb.net programmes that run on my computer but how do I add it to web pages?
Is there some kind of tag for websites then you just copy and paste it in or do you upload the code files and somehow link to them or what?
 
The code is basically exactly the same for web sites as it is for Windows apps. Things like data access, file I/O, general text handling, etc, etc, are all exactly the same. All that changes is the presentation logic. Assuming that you're using VB Express at the moment for Windows apps, you need to use Visual Web Developer Express for web apps. If you're using a full version of VS then both VB and VWD are built in. Just as with a Windows app, you start by creating a project and choosing the type, e.g. ASP.NET Web Application (which uses Web Forms) or ASP.NET MVC Web Application. Web Forms is designed to be like Windows Forms, so you design a form with controls and then handle events. The form can be viewed in design mode but you can also view the HTML used to create it.

Another option is to use WebMatrix instead of VWD Express. It uses a third technology called ASP.NET Web Pages. That might actually be the simplest option for starters and you can upgrade projects to VWD later if you want. WebMatrix is also a free download from Microsoft.
 
hmm, this webmatrix looks interesting, I'll investigate that.

Any clue how to change the language on it though?
It seems to be stuck in Japanese of a level much too hard for me (probally because my work computer is Japanese is defaulted to that), how do I switch it to English?
 
Back
Top