DLL ?

M

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
 
D

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).
 
M

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".


Dmitriy Lapshin said:
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 said:
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
 
D

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

mikeb said:
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 said:
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 said:
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
 
M

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


Dmitriy Lapshin said:
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 said:
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 said:
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

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
 
M

mikeb

....and yes, my original question was a little too vague.


Dmitriy Lapshin said:
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 said:
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 said:
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

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
 

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