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.

[code]....

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.

[code]....

View 1 Replies


Similar Messages:

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 asp.net 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

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

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

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

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

May 31, 2010

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

View 2 Replies

Difference Between Structure And Class?

May 3, 2010

it seems classes and structure are same. what is the basic difference between Class and Structure?

View 10 Replies

WCF / ASMX :: Creating Class Structure For WebServices?

Jul 11, 2010

i am new to WebServices, i have a ClassDataLibrary.dll which include classes like Users,Products,Articles...

i want to create a structure like this in my webService. as i saw the examples of creating web services the web methods written on the same page. but i got over 50 methods in dll and i want to share these methods with flash so flash user get data using my webService but it will be difficult to find the method he wants so i want to give my webService in a structure like:

Service1.Users // he will finds the methods about users

Service1.Products // he will finds the product methods

how could i do it ? is there any example or something to share with me?

View 2 Replies

Web Forms :: Sharing A Structure Or Class Among Multiple User Controls?

Feb 2, 2010

I'm building an application where custom modules may be developed and "dropped in" to the system, where they can be picked up and utilized.

I'm building a forum module and have a user control to create a login/registration region. I plan on using a struct to store the user session data. However, i need this class structure to be shared between the forum module and the login/registration control.

Because the functionality is to be contained in the module's folder, i cant add any assemblies to the app_code folder.

How can i share a class or struct among two user controls?

View 6 Replies

C# - Class Structure With LINQ, Partial Classes, And Abstract Classes

May 17, 2010

I am following the Nerd Dinner tutorial as I'm learning ASP.NET MVC, and I am currently on Step 3: Building the Model. One part of this section discusses how to integrate validation and business rule logic with the model classes. All this makes perfect sense. However, in the case of this source code, the author only validates one class: Dinner.

What I am wondering is, say I have multiple classes that need validation (Dinner, Guest, etc). It doesn't seem smart to me to repeatedly write these two methods in the partial class:

[code]....

This doesn't "feel" right, but I wanted to check with SO to get opinions of individuals smarter than me on this. I also tested it out, and it seems that the partial keyword on the OnValidate method is causing problems (understandably so). This doesn't seem possible to fix (but I could very well be wrong).

View 1 Replies

C# - Share Libraries Without Using The GAC?

Sep 9, 2010

I have a library that is meant to be used by many websites. The way I am doing it now is in the library's properties, I set the "Post-build event command line" to: copy "$(TargetPath)" "$(SolutionDir)MyWebsitein$(TargetFileName)"

Every time I want a new website to use the shared library, I add a new line like this: copy "$(TargetPath)" "$(SolutionDir)MyWebsite2in$(TargetFileName)"

Is there an easy or better way to do this besides using the GAC?

View 1 Replies

 3.5 App Can Reference 1.1 Libraries - Wants To Convert?

Jan 19, 2010

We have an application coded in .NET 1.1. We plan to upgrade to .NET 3.5

But there are few core libraries written in .NET 1.1 that we use from other groups.My question is will our 3.5 app can still reference those 1.1 libraries? Or do we have convert them also to .NET 3.5?

View 3 Replies

C# - What Are Wss And Moss Libraries Available In .net Framework

Jul 16, 2010

In .net framework. what are libraries available for working in sharepoint and their uses

View 1 Replies

3rd-party UI Libraries For WinForms, WPF, MVC, Etc. Are Best?

Jan 1, 2010

I work with many diverse technologies, and don't possess the time to evaluate every single UI framework, so I'd appreciate hearing other coders' experiences with various frameworks.

The stuff I've worked with so far (and my perceptions):

WinForms: DevExpress (love the looks, hate the API and bloat), Krypton (free!, looks good, but limited), Telerik (don't like the looks)WPF: have only used WPF Themes pack. Asp.Net: Telerik MVC Controls (love it), jQuery UI (looks great)

View 1 Replies

Designing Websites Graphically?

Jun 21, 2010

I am still pretty unkskilled with web design and since I am still learning xml/html/asp.net I wanted to pose the following question: I would like to design a site that will need to be graphically well designed and user friendly. Would it be easier to continue learning asp/xml or find a software package that can do most of the hard scripting for me and just have me select and alter; like frontpage or something better?

View 6 Replies

Web Development Designing Method?

Apr 4, 2010

which web development method is currently use. and can anyone also tell me related article or any other guide for it, am working on web development project in asp.net and Sql server (Clothing Website)

View 2 Replies

Security :: Designing A New LoginPanel?

Mar 2, 2011

I want to design a new loginPanel,not as given auto by the login Control,but still I want to keep his operations, and use them without be need to write them again.tried to convert it to template and edit it,
but it's not working well...

View 1 Replies

MVC :: Looking For Free Treeview Control/libraries?

Jan 11, 2010

Does anyone know of a good treeview control/libraries that is free, and fully customizable? Different nodes need to be able to have different icons/folder images. It needs dashed lines to show the parent nodes, etc, etc.

View 9 Replies

Draw The Vertical Line In Designing?

Dec 23, 2010

I want to draw the vertical line in designing. For example Table 1 Keep your job-search confidential Control your privacy Reach to over 35000 recruiters Get Job Alerts in your inbox Apply to jobs from your Mobile. I want to draw vertical line both side about table1

View 1 Replies

Designing Site Map Page Of Website

Jun 15, 2010

I need to design a site map page of my website in asp.net. I am confuse whether to use custom site map and retrieve information from database or direct retrieve information from database and bind it to hyperlink?

View 1 Replies

Designing Webpages To Look Good In Both IE6 And IE8 Browsers

Oct 15, 2010

in ASP.NET application, how to design the pages in such a way that they are displayed properly in both IE6 and IE8 browsers? I would like to minimise the CSS work that I need to do if there are any general guidelines to follow which will work in both browsers. I may still need to tweak here and there, but I want to reduce bulk of the work.

View 3 Replies

ADO.NET :: Which Is Best Approach For Designing Data Layer

Mar 3, 2011

I'm designing a mid sized business app in asp.net / c# Framework:4.0 environment.

I'm just wondering which is the best approach for designing data access layer.

Candidates designs are:

1. ADO.Net

2. LINQ using sps or LINQ with Entities

3. Hibernate object model

View 2 Replies

C# - Designing All Pages Completely In Codebehind?

Aug 1, 2010

Our current web portal at work was a port from a classic ASP codebase. Currently, all pages in our project extend a custom Page class called PortalPage. It handles login/logout, provides access to a public User object for the currently authenticated user, and adds the standard page header and footer to all of our pages. Every Page in our site is 100% designed in the codebehind. The ASPX page is not used at all. Every single div, img, and block of text is allocated as an object and added from a C# function, even if it is completely static content (which we have a decent amount of). Example for a page header:

HtmlGenericControl wrapperDiv = new HtmlGeneric("div");
HtmlAnchor bannerLink = new HtmlAnchor();
HtmlImage banner = new HtmlImage();
bannerLink.HRef = "index.aspx";
banner.Src = "mybanner.png";
banner.Alt = "My Site";
bannerLink.Controls.Add(banner);
wrapperDiv.Controls.Add(bannerLink);
this.Page.Controls.Add(wrapperDiv);

Even worse, all Javascript is added to the page as a giant mess of string concatenations:

ClientScript.RegisterClientScriptBlock(this.GetType(), "javascript", @"
<script language='javascript'>
fullUrl = '" + ConfigurationManager.AppSettings["fullUrl"].ToString() + @"';.............

View 4 Replies

Designing IPhone Applications That Use Web Methods?

Aug 30, 2010

After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting these in order to make it easier for the iPhone to call the web methods (for displaying search results, categories, and article) for our app. I have not started anything on the iPhone yet as I am not sure which direction I should be taking.

For a developer that is somewhat unfamiliar with Objective-C (I understand the basics and the syntax), what tools do you recommend to create an iPhone app that uses data from ASP.NET web methods?

View 1 Replies

Designing A CMS To Allow Complete Page Design?

Jul 21, 2010

Currently whenever a client wants a website I provide my own CMS however I have been wondering whether a 3rd party CMS may be easier.At the moment I have built it in ASP.Net & ASP.Net MVC (I'm thinking of moving to Ruby on Rails). A master page has 5 pagecontent areas, top, left, middle, right & footer.I then create usercontrols such as Image_Top, Image_Left etc. In the CMS the user can create a page and then choose how they want that page to look by choosing from the list of usercontrols. This gives them complete control over their page. Would you say this is a good approach or is there a better way to allow them to design their pages? I was thinking of instead of maintaining my CMS I would recommend using Joomla, Drupal, DNN, SiteInfinty or whatever to manage the backend. However do 3rd party CMS's allow for that much control or am I better off sticking to my own CMS? Is using a 3rd party CMS as easy as plug and play?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved