Architecture :: How To Make The Class Libraries

Jan 22, 2010

Task is to develop class libraries that can be re-use in projects but assambies should be copy righted. By this I mean developer will not give the code of class libraries to the clients yet they will provide the code of there sites/ applications, these libraries will be used just as internal development libraries. I want to make Business Logic Layer, DAL, Business Objects as class libraries

Q1. How I can control unathorised use of libraries ?

Q2. How to make assamlies non extendable ?

Q3. What security measurs I should take on this.

View 6 Replies

Similar Messages:

Make Enumerations Available To Multiple Class Libraries?

Jan 27, 2010

I have a Solution with a web project and some class libraries. The enumerations are in a the enumerations folder within my web project. I would like to make some of the enumerations available to other class libraries within my Solution. Should I just add another class library and call it Enumerations to my Solution so that all class libraries and my web project can access them?

View 3 Replies

C# - Convert Class Libraries From 3.5 To 4?

Nov 21, 2010

I have a Solution that has two class libraries. I'm trying to convert the whole solution from 3.5 to 4.

Right now the libraries are in my Visual Studio 2008 projects folder. I've installed VS 2010. Should I just copy the libraries from the 2008 project folder to my 2010 project folder and open them in VS 2010?

What is the best practices for this? The entire solution is in a single folder in my VS 2008 Project folder, and each application and class library is in their own subfolder.

View 3 Replies

MVC :: Designing The Class Libraries Structure?

Jan 12, 2011

I am starting an MVC application and designing the class libraries structure at the moment. I started off with the following class library structure as below.


As there will be about 3-4 developers working on the project I thought it might be useful to split out each section of the application into their own class libraries so each developer can work on a different section without interferring with each other.

In our application we have 5 tabs e.g. Dashboard, Admin, Reports, Editor, Subscribers. Would it be wise to put each tab into its own class library like below.


View 1 Replies

Design Guidelines For Developing Class Libraries?

Jan 18, 2010

our dev shop uses the naming guidelines as laid out in MS's MSDN content "Design Guidelines for Developing Class Libraries". It's a pain though having to refer to this via the web only. Does anyone know if this content is available in PDF or CHM format? My devs are resisting reviewing the webpage and I think sticking a portable file in their face might be more successful.

View 2 Replies

Version .net Site Like Doing So With AssemblyInfo.cs In Class Libraries?

May 31, 2010

Is it possible to version a site like doing so with AssemblyInfo.cs in Class Libraries?

View 2 Replies

AJAX :: Microsoftajax.js Libraries To Make My Webservice Calls Via Javascript - Services Returning Basic Types

Mar 9, 2010

I'm working with the MicrosoftAjax.js libraries to make my webservice calls via javascript, right now all my services are returning basic types, like string, int, bool. can i also have my services return things like DataSets, DataTables, or custom Classes that I have built to my javascript side?

View 3 Replies

What Is Name Of Class To Make An Object Of Div Class

Jan 30, 2011

Actually i want to cast the type from find control to div but i cant find the class with div or body or form name why so?

View 5 Replies

.net - Make Obejct Of A VB Class From C# Class?

Jan 9, 2011

Can i make obejct of a VB class from C# class, if possible then what i'll have to do?

View 3 Replies

Architecture :: Use A C# Class Or A Interface?

Feb 3, 2011

I have a block of SQL statements that I like to use as a sort of function.

I was thinking that I could make a class and inherit all of the master function, then add the parts that I need for other sections of the program in a sub class.

The problem is, up to this point I've been programming ASP .Net through visual studio, and it's kind of just programming behind controls. I'm not sure where to put the class/function/method/interface, or whatever we call it.

Of course you probably know that visual studio creates a bunch of partial classes when you do an ASP. Net application... so.. to get access to a function like object, across classes.. use an Interface?

View 7 Replies

Architecture :: Best To Make Classes In VB, VB.NET OR C#?

Nov 29, 2010

1. Desktop based application - Developed in VB2. Web based application - Developed in Asp.Net 2.0 and C#The above two uses same database in SQLI do have proper class library/business logic in desktop based application in VB. Now I need to use the same library in web based application so that I can change at one place and both the versions will work fine with replacement of one dll.hat is the best to make classes in VB, VB.NET OR C# so that I can use at both end easily.1. If I write Activex dll in vb, the internet articles tells about low performance because of Interop services.

View 2 Replies

Architecture :: Key, Value Pairs Implementation In Class?

Feb 16, 2010

In a project im working on there are many sql tables containing different ID, Name pairs. Those are represented as Enums in classes that need them however that requires casting since tables contain ID only.Also when serialize the Enum contains the ID not value.

View 3 Replies

Architecture :: What Is The Function Of Abstract Class

Oct 24, 2010

what is the function of abstract class, why design pattern need to build BLL and DAL

anyone give an example for my reference as I am getting strat to build my web-based project

View 3 Replies

Architecture ::make UserName As Subdomain?

Sep 24, 2010

I have a requirement related to subdomains. Here are the details.I am using .NET 4.0, IIS7, ASP.NET 4.0. I have an web application hosted as "". I have some clients, say client1, register at my site. I want to give him a


View 3 Replies

Architecture :: Creating A DB Connection In My DAL Class File?

Feb 17, 2010

Below is my class file.


View 1 Replies

Architecture :: Singleton Pattern And Abstract Class?

Aug 19, 2010

I know what Singleton Pattern means and Abstract class means.What I wanted to know was how would this apply to real world.Could anyone give me any good example or simple explanation.Say I have a simple website, why would I use any of the above if any.Why would it simplify my architechture.

View 3 Replies

Architecture :: Advantage Of Singleton Class Over Static?

Mar 30, 2010

See in below I have writtine a

1. Singleton class Emp1 with Display Method and
2. Static Class with Static Method Display.

What is the advantage of singleton class over Static Class with Static members?


View 9 Replies

Architecture :: Singleton Class Could Be Inherited And Derived?

Oct 25, 2010

Just wanted to know if a singleton class could be inherited and derived.

View 2 Replies

Architecture :: Design A Class For Product Searching?

Oct 21, 2010

I'm refactoring an old website that has product search code littered throught the codebehind. I'm trying to encapsulate the search logic into its own class so I've created a Product class with a Search() method. I would like some suggestions about OO best practices so that the class is reusable and maintainable. The questions I have are:

- Should I make the search() method an instance method or make it static? For now the class is just really there to encapsulate my search logic

- If I make it an instance method should it return a list of products or should it populate a member property that I can access like p.Search(); var x = p.ProductList;

- The search method requires upward of 7 parameters of different types, what's the best way to provide them?
- pass them all i.e. p.Search (param1, param2, ..., param7)
- create a SearchParams structure in the class, populate it and pass that i.e. p.Search(searchParams)
- Instantiate a Product object and set properties on it that are used by the Search method i.e. p.ID = 123; etc.... p.Search();

I've used variations of the above before but would like to know what's the best way.

View 1 Replies

Architecture :: Make A Local Web Service To Be Available On Internet?

Jan 4, 2011

I have an application running on my Home pc and with which i also have expose a webservice. But it is on my local machine.

My question is that i dont have any webserver purchased and i want to call my this local webservice from any where on internet. Is there any free service available on internet which can proxy my local webservice on internet?

View 3 Replies

Architecture :: Want To Make Public Object On ,net Page

Aug 27, 2010

in can i make public objects on my page, for example

public Customer cust1 = new customer();

and use this object on my entire code?

what are the drawbacks of creating public objects??

a single object will be created for all users??? or each user will have a different object?

View 2 Replies

Architecture :: Creating A Separated Class For Database Connection?

Dec 10, 2010

i have the following code:


I was trying to implement as above. How can i call this class from the code behind of my page, and call the methods Open and Close connection ?

How do i instantiate the object ?

View 5 Replies

Architecture :: Access Class Files Not In App_Code Folder

Feb 25, 2010

I have a single project. and I have two folder in it. In the 1st folder I have a class named Class1 and in the 2nd folder I have a class named Class2. Can anyone tell me how I can access members of Class1 in Class2. I have tried by adding namespace in Class1 and Using that namespace in Class2. But it is giving error. It is easy to access classes or their members from App_Code folder. I don't want to put my classes in app_code folder.

View 3 Replies

Architecture :: Sequence And Class Diagram Of An Existing Website?

Nov 17, 2010

I want to undertand and change an existing website which was written long time back. It cntains a lot of code and I dont know where to start as there is no dicumentation.Is there any way by which i can create a class diagram and sequence diagram of the existing one as I want to incorporate all the existing functionalities in the new one and dont miss out anyone. Only way I know is to debug the current application and go through whole of the code individually. Is there any way out by which I can undertand the current application quickly?

View 1 Replies

Architecture :: How To Implement A Many-to-many Relationship In A Domain Model Class

Jan 12, 2011

what is considered a many-to-many relationship in a domain model class ? I mean how to implement a many-to-many relationship in a domain model class ? In SQL this is represented by a link table between two table but how this is represented in a domain model driven application ?

View 1 Replies

Copyrights 2005-15, All rights reserved