C# - DAL And BLL Naming Conventions Other Peoples Alternatives?

Jul 12, 2010

peoples naming conventions for DAL and BLL if there were any better names for them than those ones.

View 2 Replies


Similar Messages:

Naming Conventions For Controls

Mar 15, 2010

There is a conflict b/w our team members about following the naming conventions. We have downloaded a document that specifies the naming conventions for the ASP.NET controls. But it does not covers all ASP.NET 2.0 controls, so there is basically a fight
over the naming conventions of the controls that are not specified in that document. Take for example : GridView Control, the naming convention for this control is not defined in the document, so I suggested 'gvw' for the prefix name but my team mates are
suggetsing 'gv' for that purpose. I had somewhere read before that the naming convention should contain either three or four letters of a control like TextBox can have 'txt' and ImageButton can have 'ibtn' as the identifying name as prefix.

View 3 Replies

C# - Naming Conventions For Controls?

Jan 2, 2011

While working with VS by default the editor generates this:

<asp:Button ID="Button1" runat="server" Text="Button" />

Now the ID generated is Button1 i.e First letter capital. My questions is what is the best way to name the controls ?

SubmitButton
btnSubmit

or something else?

Which naming convention is considered good ?

View 4 Replies

File/Folder Naming & Case Conventions/standards For Web Applications?

Nov 22, 2010

I've been searching google for recommendations on conventions or best practices when it comes to the 'case' and naming of files on folders within a Web Application.Most of the time I work within Visual Studio, developing ASP.NET web applications. In the past I've always used PascalCase for all of my files and folders, with the exception of Javascript files which tended to be camelCase.More recently

View 2 Replies

Architecture :: Naming Conventions&meaning Of Tables Is Not Clear On SQL Server?

Feb 2, 2011

I have been using Sql Server since 2003, and still encouter situations that are just hard to solve :)I know it's a an sql server question, but since it's from a methodology and architecture point of vue, I thought it fit in this forum I am facing a sort of conflict with my current customer :An old sql server database, migrated from sql server 2000 to sql server 2008 (2003 project), which serves an asp.net application and cubes.naming of tables are like the following : tbl_ and Vw and yet procedures have no underscores. The database contains no functions.All object names are abbreviated, without any dictionary to understand what they mean. We have to ask every time.We developed a new module, and followed Pascal Casing, with clear words for the tables meaning.The customer makes a code review and says, that object are not correctly named :) and the meaning of tables is not clear. Names like AnalyticsAxis, is simply not clear. We also are asked to follow tbl.

View 1 Replies

MVC :: DisplayTemplate And EditorTemplate Naming?

Feb 23, 2010

I've got a couple of questions about the naming convention for the DisplayTemplates and EditorTemplates in MVC 2.

If for example I have a customer object with a child list of account how do I:

Create a display template for the list of accounts, what is the file called?When I'm doing a foreach( var c in Model.Accounts ) how do I call a display temple while in the foreach? When I do Html.DisplayFor( x => x ) x is the model and not in this case "c".

View 1 Replies

Efficiency - NamingContainer Naming Convention?

Mar 1, 2011

I'm working on a project in which the client has required a lot of things to happen on a single page, and this has resulted in a rather large blob of HTML being rendered out to the client browser.

The main issue is with input tags (where runat="server" attribute is set), these tend to cause a drastic increase in markup size due to validation, updatepanel triggers, viewstate, and the control markup itself. I've done what I can to reduce the amount of triggers I'm using, I'm compressing the viewstate (to something like 8% of the original viewstate size), I've gotten rid of a lot of ASP.NET Validators and rolled my own, and and I've been using ClientIdMode to reduce the length of the ID attributes of many asp.net elements. All of these combined significantly reduces the amount of HTML being sent to the client, (for example going from 2 megabytes for a request down to 500-600 kb - these are HUGE pages, mind you).

[Code]....

View 2 Replies

Web Forms :: ObjectDataSource Does Not Have A Naming Container Error

Apr 21, 2010

I have done my searching and haven't found anything related to my issue. I have an aspx page that contains a regular drop down control. When the selectedIndex is changed, it fires off a post back and also rebinds a datalist based on its value. Inside the datalist I have an ascx control which has a gridview and an object datasource:

ASPX page:

[Code]....

My problem is that after my drop down posts back, when the process gets to DataList1.databind (in the selected index changed) i get a "The ObjectDataSource control 'ObjectDataSource1b' does not have a naming container. Ensure that the control is added to the page before calling DataBind." error.

During the post back, the pageload on my control runs and all my properties seem to have its values.

View 5 Replies

Installation :: Strong Naming An Assembly Of A Website?

Jan 24, 2010

Strong Named Their Assembly. I've read on-line and in the help files for 6 hours straight and I am no where closer to getting this. It seems that every 6 months I run up against one of these types of things with VB.net and the .Net Framework. I read on line and find dozens of people who get the same exact error. Most of the threads are never resolved and the ones that seem to resolve the issue do it in a way that doesn't work for ever one else. It is really absurd.

My web site runs fine in debug mode on my computer (local host). It loads in FireFox and runs fine. When I post it to my web site I get the error below. I try to "Strong Name The Assembly" with the command line command "aspnet_compiler -v default.aspx X:NetProjectsHumMPI -keyfile X:NetProjectsHumMPIkeypair.snk -aptca"

Default.aspx is what fails. This should be the virtual folder of my web app. Obviously "Default.aspx" is not right. I have tried 42 variations on what I think the virtual path to my web app might be. Every single time the compiler fails telling me that it is not a valid path.

I'm moving in to week two of trying to get a simple "Hello world" web app to load on my web site. It runs perfect on my development machine but generates constant errors on the web site. Each time I fix a problem that only happens on the web site another one crops up with even the slightest change - or sometimes even NO change to the code.

View 5 Replies

Getting The Error In Naming The Sql Server Database Table?

Nov 17, 2010

I am creating a sql server database table and when i save the table and give the name to a table "i.e. USER" and then see in the property of that table then the name changes to "[USER]". I have tried lot of time but every time it gets.Plz help mei am also attaching the screen shot of this.

View 4 Replies

Loop Through Controls That Follow A Naming Convention?

Jan 12, 2011

I have ten textboxes (txtCO1, txtCO2... txtCO10).I need to set them all to the same text (blank). How can I use a for loop that just changes the number after txtCO, isntead of explicitly setting each text box's text property to ""?

View 6 Replies

VS 2010 - Naming Controllers In MVC / Singular Or Plural?

Apr 21, 2012

I'm struggling a bit with how to properly name the controllers in MVC. Should they be singular or plural? For example, lets say I have the tables Customer and Product in my database. Should the controllers be CustomerController and ProductController, or CustomersController and ProductsController?

Put a different way, does it make more since for the URL to be:

somedomain.com/Product
somedomain.com/Product/Edit/1
or
somedomain.com/Products
somedomain.com/Products/Edit/1

View 2 Replies

VS 2008 - Naming Convention For Files And Folders

Oct 24, 2014

Is there a recommended naming convention for files and folders in ASP.NET? So far, I've found this thread on the native ASP.NET forum. But it doesn't sound very useful. Some people say "meh, naming convention is not that important", others reply "no, naming conventions are important" but don't say what the recommended convention for ASP.NET actually is.I can use standard VB notation for variables and method names inside the files.

View 2 Replies

MVC :: How To Remove The Controller Postfix Dependency In Naming Controllers

Aug 28, 2010

In the Controllers directory, naming every controller with "Controller" prefix seems plain stupid. Is there a way to remove this dependency?

View 5 Replies

MVC :: Are There Any Validation Alternatives

Aug 4, 2010

Im looking for some input on a validation problem i have. My demands for validation are:

1. Able to do database checks

2. Error messages are custom and imported from other localized source as stringvariables(NOT resource files).

3. DRY serverside and clientside validation.

As far as ive seen data annotations dont work well under these cirumstances, custom attributes are needed just to be able to output the strings(wonder why this wasnt thought of). This isnt a dealbreaker but as ive tested sofar custom attributes must be added in the global.asax wich i 1. cannot get to work in the CMS im building this on and 2. i dont want to have to edit the global.asax everytime the scripts are implemented. Serverside this solution works fine though. From what ive read IDataErrorInfo should not be used? So havent really checked how to get this rolling with client-side either.

My thought was using custom service layer validation with xval but documentation is very poor to the extent i could find any(couldnt find any real nfo on how to implement xval with your own code, ie not using the autgened client-side metadata wich leads to the annotation problem described above). So i have a hard time finding any working solution other than to build something 100% custom.

Do anyone have a solution or perhaps some information or can steer me in any direction on the best way to getting this done in a good fashion other than building custom?

View 4 Replies

C# - Some Alternatives To Resharper?

May 14, 2010

I'm considering purchasing a resharper license but would like to know if there are any possible alternatives to resharper and how would you rate these compared to reharper? It doesn't necessarily have to be a free alternative but I would just like to know how good equivalent products are.

View 8 Replies

.NET Alternatives To UDP Multicast?

Jan 8, 2010

I am looking for an alternative to using UDP multicast on the .NET Framework and am looking for suggestions.I need to send messages to several web servers running quite a few ASP.NET applications. These messages would be one-way only, coming from several different machines. UDP multicast would be perfect except that I can't use it due to it requiring administrative rights. Seehttp://stackoverflow.com/questions/1941463/asp-net-multicast-udpclient-problems for details as to why.Is there something else that would work in a similar manner, allowing multiple applications to receive broadcast-type messages?

View 4 Replies

C# - How To Stay Away From DataSets, And What Are The Alternatives

Jan 25, 2010

I found an interesting discussion here:

[URL]

Quote:

DataSets are sub-par amateur solutions to code your Data layer...Stop Using Them and learn to CODE! :)

What is your opinion of DataSets vs. just stubbing out custom classes and working with those? What are other alternatives?

View 3 Replies

Looking For Aspose Slides Alternatives

Sep 23, 2010

I'm developing an ASP.NET website that will allow users to view and print Microsoft PowerPoint slides. Right away, I knew that Aspose had a product that would likely allow me to do this. What I'd like to do is look at alternatives just to say to management, "Yes, I've looked at the alternatives and they are". I can't seem to find any other than the open source project on Source Forge which seems to be mostly dead and I'm not even sure if it's something that would meet my needs anyway: [URL]. Is anyone aware of any alternatives to Aspose Slides .NET? Please list them if so. If you are aware there are no decent alternatives, I would find that information useful as well.

View 2 Replies

Alternatives Of Datatable With Different Parameters

Apr 5, 2010

In my web application, I have a dynamic query that returns huge data to datatable and this query is often recalled with different parameters. So database is exhausted. I want to get all record with no parameters to an object, and perform queries (may be with linq) on this object. So database will not be exhausted. Which objects can be used instead of datatable?

View 1 Replies

Alternatives To MS Chart Control?

Jun 16, 2010

We're using the MS Chart for .net, but encountering the "image not found" problem for which there doesn't seem to be a solution. Are there any alternatives for generating simple charts?

View 4 Replies

ViewState Alternatives In Web Forms

Sep 17, 2010

Are there any other ViewState alternatives? I've heard a lot Like Session, holding the state of some of the page's controls' state and getting destroyed the moment the user leaves the page. I know I'm describing ViewState itself, but I'm looking for a pattern of sorts or suggestions so I can avoid ViewState altogether. An example of how I'm using it is where I'm storing the contents of my grid (A list of ViewModels) to ViewState. This helps to know which entries are dirty, which ones have been modified, their indexes, the currently selected objects, etc.

View 4 Replies

SQL Server :: Storing PDF Into SQL Or Alternatives?

Dec 10, 2010

title isn't as detailed as I hoped but I have a few questions. Traditionally I've always been a mixed mode person, storing PDFs and other things into the file system with pointers from my SQL DB to them.

Recently I've heard more people storing files into the DB directly and wonder if I'm storing files around 100-200MB in size, will I run into a lot of issues? Are there ways to compress the files other than perhaps zipping them up and storing the zip?

Finally, something I've always wondered about but never really found a good work around for... if I decided to continue with the mixed-mode storage solution, and these I need to retrieve these files for use on a website, how do I secure these files so that someone can't just randomly come and retrieve these files off the server by guessing files names, etc?

I did one work around once where I stored a set of PDFs to a non-web directory like c:pdf and setting permissions for the web account to access them. This allowed me to retrieve them using the references in the DB and provide some garbled filename so people couldn't retrieve it themselves but this all seems rather complicated.

View 1 Replies

Alternatives To Error Provider?

Jan 11, 2010

recommend any alternatives to the error provider? What are their advantages?

View 1 Replies

Alternatives To Web.config Files

Jun 6, 2010

In my experience, web.config files are widely reviled. In particular, I have found them difficult to manage when you have multiple environments to support, and fiddly to update due to the lack of validation at update-time and the verbosity of XML.

View 2 Replies







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