Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:875354
More Search Options
RSS Available
Matching Posts
Re: Business Logic Layer in the Presentation Layer
Thanks for the help Nai, I end up recreating the fields as properties on the BLL, this way I can scalate that same BLL to another Presentation Layer in any form. Your sugestion was using DataTables I guess but I never was a big fan of them. So thanks anyway
Posted to
Architecture
(Forum)
by
lsanchez0305
on 6/28/2009
How to communicate methods on different applications sharing classes?
I have 2 applications, App A and App B . App A has class CLASS1 with properties and methods App B has class CLASS2 which has different methods that uses CLASS1 I have no problem creating a reference of the namespace that has CLASS1 on CLASS2 on the BLL of App B But I also use CLASS1 on the presentation layer of App B , is there a way to pass all the properties and methods of CLASS1 to the presentation layer of App B using CLASS2 or any other way without having to rewrite the CLASS1 on the BLL of
Posted to
Architecture
(Forum)
by
lsanchez0305
on 6/28/2009
Re: Business Logic Layer in the Presentation Layer
That's what I wanted to avoid. I wanted to rely all the code necessary to call fields on the DB on the DAL which is autogenerated with the drag & drop feature to create the .dbml. That way if I make any change on the DB I don't have to change any code anywhere on my application but in the Presentation layer where I call the properties, somehow with the BLL without typing the properties myself. Are you sure there isn't any other way to do this: DAL (Product's properties) ->
Posted to
Architecture
(Forum)
by
lsanchez0305
on 6/14/2009
Re: Business Logic Layer in the Presentation Layer
Perfect that's what I thought. The thing is when I do that for me to have access to the Product properties from the presentation layer it ask me to to retrieve them from DAL. If I make that method to return a Generic list with an object like this: public object GetProductById( int id) { NorthWindDataContext dc = new NorthWindDataContext(); var query = from u in dc.Product select u; List < Product > obj = new List < Product >(query); return obj; } I can populate a datagrid with no
Posted to
Architecture
(Forum)
by
lsanchez0305
on 6/14/2009
Business Logic Layer in the Presentation Layer
I just begun to develop my web app with LINQ to SQL but I want to get it right from the beginning. I created 2 class libraries: BLL and DAL. In the DAL I created the mapping for my LINQ to SQL to the Northwind DB. In the BLL I created a method like this: public Product GetProductById( int id) { NorthWindDataContext dc = new NorthWindDataContext(); Product result = dc.Products.SingleOrDefault(c => c.ProductID == id); return result; } Which return a single row of Product type that belong to the
Posted to
Architecture
(Forum)
by
lsanchez0305
on 6/13/2009
Page 1 of 1 (5 items)
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online