Architecture :: Framework For A ERP Web Based Application

Mar 31, 2010

I am designing frameWork for an ERP application ijust have some quries regarding it

Some standards have to be set for this project ,need some help for it.

1)folder structure of the project for frame work 4.0

2)Layering should be done like(3 tier,n tier) if i want to Go for more than 3 layers what could be the other layers except BAL,DAL,Presentation.

3)should all the images be called from css,or some images can be called from the page it self.

4)what benchmarks should be set while writing Stored procs,to make uniformity and increase performance.

5)what securtiy messaures should be taken so that application remains free for intruders.


ASMX :: Unable To Upgrade Old Application With New Application Based On WCF Framework?

Nov 30, 2010

I made one application which consumes WCF service and also using nettcp protocal. As we know, WCF application requires .Net3.0 and .Net 3.5 framework. but we have some dealer machine which are having window server 2000 OS now i am not able to install .net 3.5 framework on dealer machine . So we are not able to upgrade old application with new application which are totally based on WCF framework .

View 1 Replies View Related

Architecture :: Going To Develop A Web Based Application With C#?

May 30, 2010

i am going to develop a web based application with c# but i am very upset that how to design a good pattern how to code to let the program more efficient.

View 3 Replies View Related

DataSource Controls :: Entity Framework And Architecture Of Model - Create Application Using EF

Feb 10, 2010

I can't to understand clearly how to create strong and quickly application using EF. For example, I have class ForumPost (table ForumPost) for select one of record I write method like:

public ForumPost ForumPost(int ForumPostID)
(from i in _dataContext.ForumPostSet
where i.ForumPostID == ForumPostID select i).First();

all works. But on page (I use ASP.NET MVC) I should display info from another linked tables, ForumName (each post have ForumID) etc. So, I modify this method to:

public ForumPost ForumPost(int ForumPostID)
(from i in _dataContext.ForumPostSet
where i.ForumPostID == ForumPostID select i).First();

ok, all works. Then I want to make some actions in model with ForumPost, i.e.

public void RootPost(int PostID, ref Models.ForumPost Root)
ForumPost post = ForumPost(PostID);
if (post.RootPost != null)
Root = ForumPost(post.RootPost.ForumPostID);
Root = post;

it works too. But problem is in speed. I not need in RootPost all those includes. So, I should to create one more method like:

private ForumPost ForumPostIncludes1(int ForumPostID)
(from i in _dataContext.ForumPostSet
where i.ForumPostID == ForumPostID
select i).First();

then ForumPostIncludes2, ForumPostIncludes3 etc... second way - redesign RootPost with LINQ expr, not with call another method. But in this way difficulties to change DB. third way? How to do it correctly?

View 1 Replies View Related

Architecture :: Entity Model Design Framework And N - Tier Architecture

Dec 25, 2010

recently i've studied on ADO.NET's Entity Model Framework and say 'wow' as ORM is one of the fevourite pattern i practice..but suddenly i've come to an ambiguous situation when i'm going to start. i usually follow the following 3-tier architecture..

1. UI Layer
2. BLL - business logic layer
3. DAL - Data Access Layer
a. DTO / DAO
b. Gateway (contains the sql query/stored procedure and connection with DB)

now when i'm going to use the Entity Model Design,where the DBML/ .edmx File should be placed? Because many a times i'm using the DBML file as DTO because of the mapped objects.. in the same time, sometimes DBML ( .edmx file in .NET 4.0) contains CRUD methods and stored procedured method as well as methods with different selection operations,- which should be in Gateway. so where the .edmx file should be placed !?!! IN DTO namespace !? or in Gateway namespace!

moreover sometimes there is no need for the BLL which breaks the rules of inter-layer-communication (UI > BLL > DAL.Gateway)! what makes me confuse is, what should be the ideal n-tier architecture when i'll use the ADO.NET Entity Model Design Framework

View 4 Replies View Related

Architecture :: Services Based Architecture

Aug 19, 2010

was giving a though on using ajax enabled wcf services as part of architecturegenerally wht im usingis UI-> BL-> data accessis it suggestable to use wcf services layer insteadof BLnd hv UI-> services-> data accessrelated to asp.netwould like to no pro's and con's of doing this thing.

View 2 Replies View Related

Configuration :: Running Framework 2.0 Application Within Framework 4.0 Website

May 18, 2010

I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?

View 2 Replies View Related

.NET Architecture And What Is .NET Framework

Sep 25, 2010

Could somebody tell me what is the architecture of the .NET, and what is .NET framework and what are the very important things that I really need to learn? On googling I am not getting any satisfactory answers and I am getting more confused also.

View 1 Replies View Related

MVC :: Difference B/w Mvc Architecture And Framework?

Oct 7, 2010

i create 3folder in solution explorar,model view ,conroller in view i inclde .aspx formsin model class related to data base and in controller properties .so am i follwing mvc architacture .so what is diffrence b/w mvc architacture and mvc framework

View 1 Replies View Related

Wcf - SOA Architecture For .NET With Entity Framework

Apr 1, 2011

I am redesigning a Solution's Architecture to implement SOA.

After doing the design changes I have come up with:

MySolution.Client.MyProject.Web ...... //ASP.NET WebSite
MySolution.Client.MyProject.Proxy .... //Service Proxy C# Library Project *[1]
MySolution.Service ................... //Service.cs for Service.svc is here
MySolution.Service.DataContract ...... //IService.cs for Service.cs is here *[2] [code]....

This project contains IService and Request/Response Classes

All methods in Service.cs takes the Request classes as input and return Response classes as output

Therefore this project is referenced by the 2 Client Projects(Web and Proxy), as it contains the IService and all of the Request/Response classes that will be required to communicate with Service.cs

*[3]MySolution.Model: This project contains the .edmx that is the Data Model of Entity Framework and some custom classes that are used in the project.

PROBLEM: Because I only use Request/Response classes to communicate between service and client, The MySolution.Service.DataContract project is only used by Service.cs and Repository.cs

And due to that all responses that Repository generates i have to map them to the properties of its respective response class (which make both the original returned entity, and the response class almost identical). But i am OKAY with it ...

e.g: GetCustomer() in Repository.cs method is called by Service.cs

GetCustomer() method in repository performs the LINQ query and return a "Customer" object

Service.cs then maps all the properties of "Customer" object to the "CustomerResponse" object

Service.cs then returns the "CustomerResponse" to the caller.

in this case most of the properties will repeat in both classes, if there is solution to this, its good, otherwise, I am fine with it.However, when Repository.cs's method GetCustomers() (Notice its not GetCustomer()) is called, it will return List of Customer object, and mapping this for return purpose would mean a "for loop" that iterates the collection and do the mapping ... this is NOT OKAY ...

is there any better way of doing this, considering I do not want to return "Customer" object without "CustomerResponse" as first of all it violates the SOA architecture, and secondly I don't want my Client Projects to have any reference to the Model or Repository projects.

View 3 Replies View Related

Old Application Developed In Framework 1.1 Work Normally On The Framework 2.0?

Dec 9, 2008

i have an application created on vs2003 (framework 1.1).on our new production server we are not anymore allowed to use framework the framework installed is 2.0. will my old application developed in framework 1.1 work normally on the framework 2.0?

View 2 Replies View Related

Architecture :: Advantage Of Using MVC And/or Entity Framework

Oct 2, 2010

I am new to Entity frameworks-EF. As, EF is built on top of ADO.NET...If so, will there be any performance issue when we use it?Same way MVC also targets Test Driven , rapid application development only ..What speciality does it add for end-users?As per my understanding ASP.Net 2.0 itself is powerful without MVC and/or EF...

View 7 Replies View Related

Architecture :: Generic Framework Package?

Dec 22, 2010

I have worked on larger projects in the past, and am working independently on a new project without the aid of the base code I have used in the past. Is there a recommended open source framework that contains the basic essentials (error handling, security, general structure) that can help me jump-start the development process. I will be using VS2010/Sql Server 2008/Windows Server 2008.

View 2 Replies View Related

Architecture :: Entity Data Framework - Best Practices?

Feb 11, 2009

I'm looking for some advice regarding using EDF and ASP.NET. My main concern is the use of contexts within my code. What is the best way to handle contexts? Currently I'm getting the dreaded error: "An entity object cannot be referenced by multiple instances of IEntityChangeTracker." What's the best way to ensure I'm using the same context? What are the implications for leaving a context 'open' in the Session? Is this a big 'no no'? How can I achieve a consistent approach (without having to pass context parameters all over the place) and yet keep my application scalable?

View 8 Replies View Related

Architecture :: Entity Framework With 3 Layers Design

May 19, 2010

I am thinking to use entity model as DAL, how should I create the BLL then? What kind of datasourceobject should I use in the asp pages?

I am looking for best practice to use Entity framework 2 in the three layers design. I had experience at dataset with three layers design.

Should I use objectdatasource at the pages for gridviews? My guess is that entitydatasource by passed the BLL which is not good, so the only option left is the objectdatasource.

Could and should my BL object inherit those entity model in the DAL, so I dont need to recreate their object's property?

View 4 Replies View Related

Architecture :: Factory Patterns Implemented In .Net Framework?

May 17, 2010

I am having troubles understanding the purposes of using Factory pattern, I understand Factory pattern uses Factory class that has methods to return concrete objects. But why don't I simply use new opertor to create concrete objects? Some articles suggest Factory methods could return objects of different concreate classes, I can do the same thing by using switch statement.

Also are there classes in .Net framework already implementing Factory pattern? I think that will give me a better ideas why it is useful.

View 5 Replies View Related

C# - How To Start With Entity Framework And Service Oriented Architecture

May 12, 2010

At work I need to create a new web application, that will connect to an MySql Database.

(So far I only have expercience with Linq-To-Sql classes and MSSQL servers.)

My superior tells me to use the entity framework (he probably refers to Linq-To-Entity) and provide everything as a service based architecture. Unfortunately nobody at work has experience with that framework nor with a real nice server oriented architecture. This speficic project I'm leading will be long-term, meaning multiple years, so it would be best to design it the way, that multiple target plattforms like, c# wpf, ... could use it)For now, the main target plattform is

So I do have the following questions:

1) Where can I read best what's really behind service oriented architecture (but for now beginner tutorials work fine as well) and how to use it in best practise?

2) So far I can't see a real difference between Linq-To-Sql classes and the information I've googled so far on the 'entity framework'. So, whats the difference? Where do I find nice tutorials for it?

3) Is there any difference in the entity framework regarding the database server (MSSQL or MySQL)? If not, does that mean that code snipperts I will stumble across will word database independent?

View 3 Replies View Related

Architecture :: Unit Testing Delegates With Mock Framework?

Apr 3, 2011

I'm using the mock framework to unit test some methods. I came across some methods that use delegates. I did not find a way to setup these delegates to return the objects that I want. The mock framework does not support it as far as I know. Is this supported in other mock frameworks like nMock?

View 3 Replies View Related

WCF / ASMX :: Webservice Architecture In Framework 3.5 To Add Data To SQL 2005?

Apr 15, 2010

I have a webservice(Framework 3.5/VS 2008) that assembles data from 3 other webservices and puts it into SQL Server 2005. The data from these webservices is mutually exclusive. What is the recommended architecture for the same?

View 5 Replies View Related

Architecture :: Data Binding To Entity Framework Classes?

Feb 1, 2011

I am using the ADO.NET Entity Framework for loading data from the database. The classes are directly mapped to database tables in the database. The problem is that these classes are not optimal for binding to the UI elements. As a result of this I have some custom entities which are populated at the service layer and returned. It is these custom entities (classes) to which I bind the UI elements. My questions on this are1. Is populating these entities at the service layer the most appropriate way to do this. I personally do not think so because if we introduce some additional UI elements which need different entities then I have to modify the service layer again.2. What is the best approach/pattern to get this done.

View 2 Replies View Related - The Perfect Web UI Framework (with Microsoft Stack?) - Architecture Question?

Mar 8, 2011

I'm looking for suggestions for the following issue, and I realize there is really not going to be a perfect answer to my question:I have a UI built in WinForms.NET (v4.0 framework) with WCF back-end and EF4 model objects, that I am looking to port to the web. UI is not huge and is not super complex and is structured well. But it is not a super simple system either. I am looking to pick a technology stack for the web-frontend that will target desktop & partially mobile platforms, provide a good development platform to build on, and facilitate code reuse across UI and back-end tiers...


View 2 Replies View Related

Web Forms :: Convert A Windows Based Application To A Web Based Using

Sep 9, 2010

I'm trying to convert a windows based application to a web based using

I am having a problem with the following:


is there any similar web calling to this?

I'm doing this:

Dim htmlbox As System.Windows.Forms.WebBrowser

But obviously im unable to do this since it's a windows.. I need to find something similar for web.

View 2 Replies View Related

Architecture :: Entity Framework - Query - Return Correct Data

May 26, 2010

I just tring to a complex (for me) with entity framework this is the structure: In practice it is a sort of group purchasing (Buyers) For each group of purchase (Buyer) should have the opportunity 'to select all products of the brands indicated in buyer I'm doing function to return correct data like this:

public List<Product> GetProductsByBuyer(int vBuyerId)
Buyersctx.Products.MergeOption = MergeOption.NoTracking;
return (from lProduct in Buyersctx.Products.Include("Brand").Include("Buyers")
where select lProduct).ToList();

View 2 Replies View Related

MVC :: Possible Model Not Based On An Entity Framework

Jun 11, 2010

There are some tutorials explaining how to create a Model based on Linq to Sql or The Ms Entity Framework. Can I use my custom code for a model? If we have the controller with the code :


This returns a List<Movie> to the view that knows what to do with it. Is it possible that I create a method called MovieSet that returns a List<Movie> using a sql qry or a stored procedure call without the creation of an Object for this purpose ? Or do I need a Movie object? Lets say that I just to do my query, loading data into a dataTable and load that data to a list of movie objects. Because the code created by the Entity Framerwork is too big for a quick reading.

View 4 Replies View Related

Merge C# Based Module In MVC Based Application?

Dec 13, 2010

I am developing a module for insert watermark in pdf file in with c# and I want to insert this module in existing application which is based on MVC architecture. I am new in mvc architecture. Can I merge based module in MVC based application.

View 1 Replies View Related

Architecture :: What Is Component Based Development In Dotnet

Feb 19, 2010

1. Can you explain me what is component based development ? What I am already doing is using layers (user interface, custom types, data access layer and busines logic layer). For example for filling a drop down list with countries what I do is getting data from DAL using custom types in my BLL and BLL return a list of countries to user interface. Now in my opinion it is a plug-able component that I can use anywhere. Should it be called a component ?

2. What is a component a method ? or class or a assambly ?

3. Can components be like that (methods and assemblies) or they are services to embed ?

4. Actually I never have used services, if component can be in both ways (services & classes and assemblies) than what approach is better, should component be made in form of assemblies or services ?

5. Without being so technical any general rules on making re-usable components ?

View 2 Replies View Related

Architecture :: Opinions Based On Design Guidelines?

Feb 17, 2010

i just want to make sure that i am folling the correct pattern and following the right practice and i have read the book ( and based on that book here is what i come-up with my design.

my solution consists of:



View 17 Replies View Related

Architecture :: Accessing Different Database Based On The Username

Dec 1, 2010

I am working on a website where when the user logs in, I select their database based on their username. Currently I have a list of all databases in the web.config and I select the Database ID from the username and then read the database string from web.config. What is the most optimal way to implement this scenario?

currently I:

- store the Database ID in the session object

- the Session object expires after like 5 minutes so i have to read the Database ID from the online database based on the username and regenerate the Session["DatabaseID"] again.

- there are some security issues with the Session ID, so I started clearing the Session in !(Page.IsPostBack) and I generate the Database string again.

Where shall I store the DatabaseID and the database connection string so I can easily reuse it once the user has logged in?

View 8 Replies View Related

Architecture :: Auto Update Application Like In Wordpress, Application Must Check If New Updates Are Available?

May 3, 2010

I need to auto update application like in wordpress, Application must check if new updates are available, download this updates and install.But I don't know how to install application. Because if some files in bin directory are updated application is restarted.Is it possible to create ASP.NET web application which will be auto updatable?now we have a new technologies, could u please suggest me any kind of soultion for the above problem. here i am enclosing my email

View 2 Replies View Related

ADO.NET :: Entity Framework - Query Based On Relationships?

Oct 27, 2010

I have the following related tables:

User (FK - Users: Id)
Status (FK - UserStatuses: Id)

As you can see, UserStatuses is a reference table with various statuses. Users_UserStatus is a join table between Users and UserStatuses. Using Entity Framework, how can I do a conditional to check if the latest StatusDate is "Pending"? As of now, I have the following:


View 1 Replies View Related

Architecture :: Design An Application To Fetch Data From Different Application Databases

Nov 10, 2010

I need to develop an application, which will get records (orders) from one application and process them. The updates to this records (order updates) will be sent back to the source application for end customer reference. I'm planning to achieve this data synchronization at the database level using triggers and stored procedures to insert database between the 2 databases.

But, the issue is I have to deploy this application in 3 different customer sites and I have to change the database names (cannot use the same database name) in each deployment manually. Because of this deployment issue, I was thinking of handling this within the application where I can store the db name in the database and then build the query within the application, but I dont want to do it as building queries like that doesnt look very professional.

View 2 Replies View Related

Architecture :: Create REST Based Web Service Using Asmx?

Apr 12, 2010

Is it possible to create REST based web service using asmx?

View 1 Replies View Related

Can Build ADO.NET Entity Framework Based On MYSQL Database

May 19, 2010

I am using MUSQL Database extensivly in my projects,

can we build ADO.NET entity framework based on MYSQL database?

View 2 Replies View Related

Like To Project And Develop A Web-based Framework With A Number Of Functionalities Like A Cms?

Feb 21, 2011

really don't know if someone else has already written down a question similar to this one. I searched on google but maybe i don't know the right tag to search for.I'd like to project and develop a web-based framework with a number of functionalities like a cms (user management, be able to write articles and so on). The focal point is that i'd like to architect it allowing administrator to activate or disactivate more functionalities by adding a new plugin (ie: he could do that by uploading an xml - as joomla does - or by clicking on 'activate' button - as wordpress does.)

View 1 Replies View Related

Architecture :: Showing Mathematical Formula Based Charts To End User?

Jun 3, 2010

We have one new project to implement. Let me explain briefly about this project. This project is related showing chart to end user on the basis of different mathematical calculated formulas.

End user has authority to change these formulas on the fly and on the basis of that changed formula we need to show the chart. So this is all central idea about the project. These charts which I mentioned above are very complicated and user friendly

So can any buddy tell me which is best suitable architecture for this and how can fit her to my scenario .I knows, three tier architecture and some other are there but I want know which is the best architectures that developed above idea in right way

View 3 Replies View Related

Architecture :: Implement Field Level Security Based On The Roles

Jul 22, 2010

I need to implement field level security based on the roles. I have a page Employee.aspx . In that i have ten controls. If i am enter as admin role i need to show all the controls. If i am enter as user have to show only five controls. How to design the appplication for control level security?

View 5 Replies View Related

C# - Reuse Loaded Assemblies In Web-Based Plugin Architecture. Maximize Performance

Aug 6, 2010

Edit: I would like to keep the infrastructure as is, so while the framework ideas are appreciated, please keep your suggestions centered on the context I have provided.


I'm building a web-based application that dynamically loads plugins. Each plugin comes with a manifest file that contains its dll location, namespace, and type.

Right now I'm using System.Reflection.Assembly.LoadFile to load up the dlls based off the locations provided in the manifest files. Then I load the types and so on.

As an Aside:
I may wind up changing to System.Reflection.Assembly.LoadFrom since I'll eventually be loading files from outside the bin directory. But if their is a better way (Assembly.Load or something), feel free to add that in as well


The problem is that Multiple plugins can potentially run off the same dll. So I wind up executing System.Reflection.Assembly.LoadFile("Identical.dll") multiple times.

I have the idea to check if my assembly has already been loaded by iterating through AppDomain.CurrentDomain.GetAssemblies(), but I don't know if that will help with performance (or if it will work period, I haven't tried it).

Also, I can't keep a list of loaded assemblies due to the project's design constraints (though you may argue that it's a poor design: I can't change it, even if I wanted to OR agreed with you... so please don't press the issue.

Ultimately my goals are:

Don't ever re-load the same assembly twice. Performance is key.

View 3 Replies View Related

Architecture :: Best Way To Pass A Values From One Application To Another Application?

Dec 8, 2010

Which is the best way to pass a values from one application to another application in

View 5 Replies View Related

Architecture :: Best Way To Kill Session From One Application To Another Application In C#?

Dec 8, 2010

Which is the best way to kill session from one application to another application in C#

View 5 Replies View Related

Web Forms :: Create A Framework With Access To Control Based On Roles/permissions?

Aug 24, 2009

I am working on an ASP.NET application.This application would have tab controls, stepwise navigation (similar to wizards) and data rendering controls (gridview) with edit, update and delete functionality.There would be users with different roles/permissions. Based on these permissions they would be able to access certain controls.Can somebody suggest me a good approach in designing such a framework. Any recommendations would be appreciated.If anybody is aware of any links that I could read online,

View 2 Replies View Related

Copyrights 2005-15, All rights reserved