Home All Groups Group Topic Archive Search About
Author
14 Jan 2005 1:17 AM
mikeb
Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?

I'm taking my application to the next level - I want to break out my code
into a shared dll - so that I can also use it with an ASP version.

I've never written a DLL before - where can I start to learn?  I've searched
MSDN, but wow - all I'm doing is weeding thru the pages rather than
learning.

Can someone point me in the right direction?

How can I write, and then use, a DLL in vb.net (enterprise).

Thanks!!!

Mike

Author
14 Jan 2005 1:02 PM
Dmitriy Lapshin [C# / .NET MVP]
Hi,

Create a class library project and just start adding classes to it. Those
you declare as public will be visible to the clients referencing this
assembly (DLL).

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Show quote
"mikeb" <m***@nohostanywhere.com> wrote in message
news:Oo4Rdbd%23EHA.3616@TK2MSFTNGP11.phx.gbl...
> Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?
>
> I'm taking my application to the next level - I want to break out my code
> into a shared dll - so that I can also use it with an ASP version.
>
> I've never written a DLL before - where can I start to learn?  I've
> searched MSDN, but wow - all I'm doing is weeding thru the pages rather
> than learning.
>
> Can someone point me in the right direction?
>
> How can I write, and then use, a DLL in vb.net (enterprise).
>
> Thanks!!!
>
> Mike
>
Author
15 Jan 2005 5:40 AM
mikeb
Q:How do you fish.
A:Go fishing. ?

If you've done it before, yes, thats probably all it takes.

I'm looking for recommendations to well written tutorials.  Books too, but
I'm trying to get started quickly and stay on a tight timeframe.  But more
importantly, do it "correctly".


Show quote
"Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
in message news:eBMfGlj%23EHA.3988@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> Create a class library project and just start adding classes to it. Those
> you declare as public will be visible to the clients referencing this
> assembly (DLL).
>
> --
> Sincerely,
> Dmitriy Lapshin [C# / .NET MVP]
> Bring the power of unit testing to the VS .NET IDE today!
> http://www.x-unity.net/teststudio.aspx
>
> "mikeb" <m***@nohostanywhere.com> wrote in message
> news:Oo4Rdbd%23EHA.3616@TK2MSFTNGP11.phx.gbl...
>> Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?
>>
>> I'm taking my application to the next level - I want to break out my code
>> into a shared dll - so that I can also use it with an ASP version.
>>
>> I've never written a DLL before - where can I start to learn?  I've
>> searched MSDN, but wow - all I'm doing is weeding thru the pages rather
>> than learning.
>>
>> Can someone point me in the right direction?
>>
>> How can I write, and then use, a DLL in vb.net (enterprise).
>>
>> Thanks!!!
>>
>> Mike
>>
>
Author
17 Jan 2005 9:15 AM
Dmitriy Lapshin [C# / .NET MVP]
Mike,

I am sorry, I might have misunderstood your question. I thought the question
was how to create the DLL-type project in Visual Studio, but now it seems
you are rather asking on what are the best practices on creating class
libraries - or even breaking systems into tiers. Then you might start with
this guide:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/distapp.asp?frame=true,

especially paying attention to "Designing Business Layers"

http://msdn.microsoft.com/library/en-us/dnbda/html/AppArchCh2.asp?frame=true#apparchch2_section4

Please feel free to follow up with more specific questions.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

Show quote
"mikeb" <m***@nohostanywhere.com> wrote in message
news:e0jH5Ss%23EHA.2452@TK2MSFTNGP14.phx.gbl...
> Q:How do you fish.
> A:Go fishing. ?
>
> If you've done it before, yes, thats probably all it takes.
>
> I'm looking for recommendations to well written tutorials.  Books too, but
> I'm trying to get started quickly and stay on a tight timeframe.  But more
> importantly, do it "correctly".
>
>
> "Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
> in message news:eBMfGlj%23EHA.3988@TK2MSFTNGP11.phx.gbl...
>> Hi,
>>
>> Create a class library project and just start adding classes to it. Those
>> you declare as public will be visible to the clients referencing this
>> assembly (DLL).
>>
>> --
>> Sincerely,
>> Dmitriy Lapshin [C# / .NET MVP]
>> Bring the power of unit testing to the VS .NET IDE today!
>> http://www.x-unity.net/teststudio.aspx
>>
>> "mikeb" <m***@nohostanywhere.com> wrote in message
>> news:Oo4Rdbd%23EHA.3616@TK2MSFTNGP11.phx.gbl...
>>> Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?
>>>
>>> I'm taking my application to the next level - I want to break out my
>>> code into a shared dll - so that I can also use it with an ASP version.
>>>
>>> I've never written a DLL before - where can I start to learn?  I've
>>> searched MSDN, but wow - all I'm doing is weeding thru the pages rather
>>> than learning.
>>>
>>> Can someone point me in the right direction?
>>>
>>> How can I write, and then use, a DLL in vb.net (enterprise).
>>>
>>> Thanks!!!
>>>
>>> Mike
>>>
>>
>
>
Author
17 Jan 2005 2:59 PM
mikeb
Dmitriy,  Now thats exactly what i was looking for!  Thanks for this.

I'll spend some time going through the pages, and will check back if I have
more questions.  But from my brief overview, this is the type of information
that I was looking for.

Mike


Show quote
"Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
in message news:OQCqPUH$EHA.2572@tk2msftngp13.phx.gbl...
> Mike,
>
> I am sorry, I might have misunderstood your question. I thought the
> question was how to create the DLL-type project in Visual Studio, but now
> it seems you are rather asking on what are the best practices on creating
> class libraries - or even breaking systems into tiers. Then you might
> start with this guide:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/distapp.asp?frame=true,
>
> especially paying attention to "Designing Business Layers"
>
> http://msdn.microsoft.com/library/en-us/dnbda/html/AppArchCh2.asp?frame=true#apparchch2_section4
>
> Please feel free to follow up with more specific questions.
>
> --
> Sincerely,
> Dmitriy Lapshin [C# / .NET MVP]
> Bring the power of unit testing to the VS .NET IDE today!
> http://www.x-unity.net/teststudio.aspx
>
> "mikeb" <m***@nohostanywhere.com> wrote in message
> news:e0jH5Ss%23EHA.2452@TK2MSFTNGP14.phx.gbl...
>> Q:How do you fish.
>> A:Go fishing. ?
>>
>> If you've done it before, yes, thats probably all it takes.
>>
>> I'm looking for recommendations to well written tutorials.  Books too,
>> but I'm trying to get started quickly and stay on a tight timeframe.  But
>> more importantly, do it "correctly".
>>
>>
>> "Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com>
>> wrote in message news:eBMfGlj%23EHA.3988@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> Create a class library project and just start adding classes to it.
>>> Those you declare as public will be visible to the clients referencing
>>> this assembly (DLL).
>>>
>>> --
>>> Sincerely,
>>> Dmitriy Lapshin [C# / .NET MVP]
>>> Bring the power of unit testing to the VS .NET IDE today!
>>> http://www.x-unity.net/teststudio.aspx
>>>
>>> "mikeb" <m***@nohostanywhere.com> wrote in message
>>> news:Oo4Rdbd%23EHA.3616@TK2MSFTNGP11.phx.gbl...
>>>> Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?
>>>>
>>>> I'm taking my application to the next level - I want to break out my
>>>> code into a shared dll - so that I can also use it with an ASP version.
>>>>
>>>> I've never written a DLL before - where can I start to learn?  I've
>>>> searched MSDN, but wow - all I'm doing is weeding thru the pages rather
>>>> than learning.
>>>>
>>>> Can someone point me in the right direction?
>>>>
>>>> How can I write, and then use, a DLL in vb.net (enterprise).
>>>>
>>>> Thanks!!!
>>>>
>>>> Mike
>>>>
>>>
>>
>>
>
Author
17 Jan 2005 3:00 PM
mikeb
....and yes, my original question was a little too vague.


Show quote
"Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com> wrote
in message news:OQCqPUH$EHA.2572@tk2msftngp13.phx.gbl...
> Mike,
>
> I am sorry, I might have misunderstood your question. I thought the
> question was how to create the DLL-type project in Visual Studio, but now
> it seems you are rather asking on what are the best practices on creating
> class libraries - or even breaking systems into tiers. Then you might
> start with this guide:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/distapp.asp?frame=true,
>
> especially paying attention to "Designing Business Layers"
>
> http://msdn.microsoft.com/library/en-us/dnbda/html/AppArchCh2.asp?frame=true#apparchch2_section4
>
> Please feel free to follow up with more specific questions.
>
> --
> Sincerely,
> Dmitriy Lapshin [C# / .NET MVP]
> Bring the power of unit testing to the VS .NET IDE today!
> http://www.x-unity.net/teststudio.aspx
>
> "mikeb" <m***@nohostanywhere.com> wrote in message
> news:e0jH5Ss%23EHA.2452@TK2MSFTNGP14.phx.gbl...
>> Q:How do you fish.
>> A:Go fishing. ?
>>
>> If you've done it before, yes, thats probably all it takes.
>>
>> I'm looking for recommendations to well written tutorials.  Books too,
>> but I'm trying to get started quickly and stay on a tight timeframe.  But
>> more importantly, do it "correctly".
>>
>>
>> "Dmitriy Lapshin [C# / .NET MVP]" <x-code@no-spam-please.hotpop.com>
>> wrote in message news:eBMfGlj%23EHA.3988@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> Create a class library project and just start adding classes to it.
>>> Those you declare as public will be visible to the clients referencing
>>> this assembly (DLL).
>>>
>>> --
>>> Sincerely,
>>> Dmitriy Lapshin [C# / .NET MVP]
>>> Bring the power of unit testing to the VS .NET IDE today!
>>> http://www.x-unity.net/teststudio.aspx
>>>
>>> "mikeb" <m***@nohostanywhere.com> wrote in message
>>> news:Oo4Rdbd%23EHA.3616@TK2MSFTNGP11.phx.gbl...
>>>> Is there a 'how to' on creating a middle-tier DLL somewhere for vb.net?
>>>>
>>>> I'm taking my application to the next level - I want to break out my
>>>> code into a shared dll - so that I can also use it with an ASP version.
>>>>
>>>> I've never written a DLL before - where can I start to learn?  I've
>>>> searched MSDN, but wow - all I'm doing is weeding thru the pages rather
>>>> than learning.
>>>>
>>>> Can someone point me in the right direction?
>>>>
>>>> How can I write, and then use, a DLL in vb.net (enterprise).
>>>>
>>>> Thanks!!!
>>>>
>>>> Mike
>>>>
>>>
>>
>>
>

AddThis Social Bookmark Button