Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am using a DAL component for all database access on a small project I am working on but i am not using VS.NET, just using the framework and a text editor. How do i go about using a DLL in my web application w/out code begind pages and such?

 

Thanks for the help!

..::[ kleptos ]::..
Posted

The framework takes care of compiling your ASP.NET code if you're not using code behind. The first time you load an .aspx page after making changes, the server compiles it.

 

For your component, you'll need to use a command-line compiler (installed with the .NET Framework). The compilers are:

 

csc.exe (for C#)

vbc.exe (for VB.NET)

 

Generally speaking, you would compile your DLL by using the following syntax from the command line:

 

vbc /out:assemblyname.dll   file1.vb file2.vb ... fileN.vb  

Here's an article with more information:

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconbuildingsingle-fileassembly.asp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...