Dumb question

R

rdufour

Downloaded a sample that is supposed to show how to localize a web site and
started playing with the code, its in Vs2003, so I figure I would take code
and put it in Vs 2005 and doing so use it a bit as a walkthrough on how
things are done in VS2005 for this type of stuff. BUT just as I looked into
it deeper I noticed the sample is a vb solution and it has 2 projects, each
one is a class project. First project is a dll that makes sense to me it's
like an enhanced resource manager,that's fine.
Second project has aspx files in it and a webconfig file, so I'm wondering
why this is a class project instead of a web site? I look at the new
projects in both 2003 and 2005 and there's no way to add aspx files to a
class project, there's no evident way to add a web.config file to a class
project. I must be missing something here. I'm not used to doing web site
development, been doing just windows apps, had a bit of free time and
looking into making localized web apps without having to duplicate each page
for each language.
Can someone explain how you can create a web site like this in a dll and
why?

Any help would be greatly appreciated.
Bob
 
C

Cor Ligthert [MVP]

Bob,

With both you can make a DLL. However creating websites in VS2005 has
dramaticly changed with VB2003. Partially VS2005 is going on his way back to
the older ASP methods (integrating VB code in the HTML tags) beside that it
is complete different in header lines, config files, connection to
datasystem, while it does not use anymore projects but websites (beside a
dumb intermidiate packet).

Therefore in my idea forget 2003 if you have not done a lot with it.
Remember that to make the dll you have to tell the in ASPX magic word,
CodeBehind.

<%@ Page Language="vb" AutoEventWireup="false"
MasterPageFile="~/VBTips.Master" CodeBehind="Default.aspx.vb"
Inherits="VBTips1._Default" title="VB-Tips" %>
Cor
 
R

Robert Dufour

Fine I'll use 2005, so I understand that you use create a new web site and
add pages, etc.
But where are there walkthroughs on localizing web pages in vs2005 without
having to make a separet identical site for each language.
Thanks for any help,
Bob
 
D

dbahooker

Wow, Cor-- I hadn't heard that about ASP.net 2.0.. I greatly prefer
not having a code-behind.. for sure

no wonder all this crap has been confusing me

thanks

-Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top