473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to create a DLL library of custom controls to redistribuite them?

Hi everyone,
As subject suggests I'm wondering how is it possible to do so in ASP.NET.
The fact is that I'd like to "atomize" an entire series of custom user
controls (.ascx and .ascx.vb) to redistribuite them to friends but without
having to give away my source code. I'd like to have only one clear, solid
dll. Is it possible? Maybe even a similiar way.

Thanks to everyone for the attention.
Nov 18 '05 #1
2 1555
Crosta wrote:
Hi everyone,
As subject suggests I'm wondering how is it possible to do so in ASP.NET.
The fact is that I'd like to "atomize" an entire series of custom user
controls (.ascx and .ascx.vb) to redistribuite them to friends but without
having to give away my source code. I'd like to have only one clear, solid
dll. Is it possible? Maybe even a similiar way.

Thanks to everyone for the attention.


Ah, you can't do that w/ user controls as they have 'visual parts'.
You'll want to create true custom controls (classes that inherit from
the base web control namespaces), and more than likely they'll have to
be what are called composite controls, controls that are made up of 1 or
more other controls; these are the easiest to do AFA custom controls
(rather than writing render methods, etc.) if the definition of
composite fits what you're modelling (the conversion from a user control
to composite control is usually doable since a user control is a
'collection' of controls itself).

Google for composite controls on the web and see what they're about.
They're not too difficult to pick up, but you'll need to do something to
convert those user controls to pure classes.

And on top of that, you'll have to use an obfuscator to 'hide' your
source code; dlls w/out this can be decompiled. Another term to Google...

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
In data Thu, 01 Jul 2004 12:22:20 -0500, Craig Deelsnyder ha scritto:
Ah, you can't do that w/ user controls as they have 'visual parts'. Damn! I was quite sure...
You'll want to create .... more than likely .... composite controls Ok perfect, I'm Googling right now these ones.
(rather than writing render methods, etc.)
if the definition of
composite fits what you're modelling Quite yes. Apart from some blocks of javascript code.
And on top of that, you'll have to use an obfuscator

Dotfuscator is good enough? I've not tryed by now this gift-in-the-box.
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: macca | last post by:
Hi, I am writing a GUI application. It will have a number of user defined controls( I plan to use/create a user defined control that will output alarm states that the user can also select and...
5
by: Alex Nitulescu | last post by:
Hi. Because I'm a beginner in creating controls, I spent more than two *&^#$ hours to create this "login" as a custom control and to make it work properly: ...
2
by: Steve Richter | last post by:
I like the idea of being able to place server controls in an assembly and use them in all of my web applications. On the other hand I like the ease of using an .ascx file when I write user...
4
by: Antuane | last post by:
i'm trying to create a custom textbox class, by simply creating a new class & inheriting from the textbox class. But i don't have a UI of this class. I.e., how can i set up the default text, color...
19
by: Jamey Shuemaker | last post by:
I'm in the process of expanding my knowledge and use of Class Modules. I've perused MSDN and this and other sites, and I'm pretty comfortable with my understanding of Class Modules with the...
7
by: Terry Holland | last post by:
I have just created my first asp.net application and I am ready to deploy. The solution consists of the following: A single asp.net assembly to be deployed to web server A number of vb.net...
2
by: Ron | last post by:
I would like some more information on custom controls, what they can do and things like that, what you would use them for etc... Can anyone here share some examples of what you have used a custom...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.