|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VS.NET Public Namespaces, classes, Function - Conceptual misunderstanding.I have a website I developed with another developer. We are both far from experts in VB.NET and OOP. We developed the site WITHOUT VS.NET, compiling vb.net code into a common dll in the bin directory off the root of the website. That one vb code creates a namespace we import in all of our ASP.NET code. Compiling was done fromt he command line use vbc.exec. The site works well enough. Now, and please exuse any missuse of OOP terms, we'd like to move the site to VS.NET and more importantly understand how such a site would have been developed via VS.NET if a team of developers were building it and wanted to share code. Some real NOOB type questions below. 1. Because I manually created a DLL, does this classify that as unmanaged code? 2. In VS.NET, at a high level, how does one create public classes and functions that ALWAYS available to other developers and applications? 3. We are using VS.NET 2005, I took my vb that compiled into a dll and Created a new class library, and compiled it. The build seem to run fine. The code starts like this: Imports System.Data Imports System.Data.SqlClient Imports System.Collections Public Class cjason1 Public Function fjason1(ByVal cmd As String) As DataSet I took the namespace out of the code, but left the imports in, not sure if that makes sense. I closed all projects and started a new asp.net website to see I could find my new class in the object explorer, but I can't. 4. Am I missing something above, and is this how .net developers share classes? I'm sure I'm completely misguided. 5. How does team explorer, team projects and team foundation work into what we *THINK* we are trying to do? Keep in mind we are trying to keep things simple and cheap for starts. I guess my very noobie question is "how do most shops deploy and manage classes" A HUGE THANKS IN ADVANCE TO ANYBODY THAT CAN CLEAR THIS UP FOR ME. I REALLY DO APPRECIATE ANY HELP YOU CAN GIVE ME!!!!!!! Reply in the "general" NG.
<ja***@cyberpine.com> wrote in message Show quoteHide quote news:1143981631.522089.102340@u72g2000cwu.googlegroups.com... > Please pardon my completely lack of understanding on the topic. > > I have a website I developed with another developer. We are both far > from experts in VB.NET and OOP. We developed the site WITHOUT VS.NET, > compiling vb.net code into a common dll in the bin directory off the > root of the website. That one vb code creates a namespace we import in > all of our ASP.NET code. Compiling was done fromt he command line use > vbc.exec. > > The site works well enough. > > Now, and please exuse any missuse of OOP terms, we'd like to move the > site to VS.NET and more importantly understand how such a site would > have been developed via VS.NET if a team of developers were building it > and wanted to share code. Some real NOOB type questions below. > > 1. Because I manually created a DLL, does this classify that as > unmanaged code? > 2. In VS.NET, at a high level, how does one create public classes and > functions that ALWAYS available to other developers and applications? > 3. We are using VS.NET 2005, I took my vb that compiled into a dll and > Created a new class library, and compiled it. The build seem to run > fine. The code starts like this: > > Imports System.Data > Imports System.Data.SqlClient > Imports System.Collections > Public Class cjason1 > Public Function fjason1(ByVal cmd As String) As DataSet > > I took the namespace out of the code, but left the imports in, not sure > if that makes sense. > > I closed all projects and started a new asp.net website to see I could > find my new class in the object explorer, but I can't. > > 4. Am I missing something above, and is this how .net developers share > classes? I'm sure I'm completely misguided. > > 5. How does team explorer, team projects and team foundation work into > what we *THINK* we are trying to do? Keep in mind we are trying to keep > things simple and cheap for starts. > > I guess my very noobie question is "how do most shops deploy and manage > classes" > > A HUGE THANKS IN ADVANCE TO ANYBODY THAT CAN CLEAR THIS UP FOR ME. I > REALLY DO APPRECIATE ANY HELP YOU CAN GIVE ME!!!!!!! >
Structure vs Class Objects
Is there a wrapping routine in the .NET Framework?? Download from web View a file in Hex Picturebox Q: DataGrid Sort how can I exit from a recursive subroutine? Format function... Confused! Which can i Select ASP.NET or VB.NET Unable to use Property instead of Sub in Thread |
|||||||||||||||||||||||