Tag | layered Posts

Applied WPF 4 in Context (http://www.apress.com/9781... starts with a simple introduction to WPF and then shows a complete WPF application from sketch to completed code. This APress web site states "This book can be used by a junior developer to learn WPF and understand how to architect a layered application, and it can also be used by a senior developer as a reference for developing scalable WPF applications. " - this summerises the book very effectively as it is indeed an excellent book ...
While I have always been a fan of libraries that improve coding efficiency and reduce code redundancy I have mostly been using ones that were in the public domain. As part of the Geeks With Blogs Influencers program a got my hands on ComponentOne’s Studio for Entity Framework. Below are my thought after working with the product for several weeks. My coding preference has always been maintainable code that is reusable across an enterprises protfolio. Because of this my focus in reviewing this product ...

Last week, Microsoft held their long awaited Build Windows (or simply "Build") conference in Anaheim CA. About 5000 people packed the convention center to discover the latest version of the Windows operation system: Windows 8.

Read the rest of this entry »

Overview of the “AdventureWorksDesignPatterns” Project (I’ll be posting on this series here. It will be based on the presentations I’m creating for the PhillyNJ.NET user group a subgroup of PhillyDotNet) This is the start of a long series on “applied design patterns”. The intent to demonstrate design patterns in real code. I am not endorsing or “pushing” any specific methodologies. But I will be stressing various points of views many of which are part of various methodologies you may have heard of. ...
In part 1 of Crack .Net Applications I demonstrated how easy it was to reverse engineer an an unprotected .Net application. In this post my aim is to highlight a few techniques that one can employ to protect ones code from this type of hacking. So, my take on software protection is that one can never be 100% protected – given infinite time you can guarantee someone with enough intelligence will be able to bypass all security measures that you ever implement – that being said, we don’t have infinite ...
In this Issue: Tony Champion, Vikas, Larry Larsen, Dimitris - Ilias Gkanatsios, Gergely Orosz, András Velvárt, Rishi, John Papa, David Rousset, David Anson, and Ozymandias. Shoutout: The Swiss MSDN Team Blog announced “Building a Newsreader Application using Silverlight for Windows Phone 7” Hands-On Lab – Now updated for July BETA Developer Tools Laurent Bugnion posted an MVVM Light Hotfix for Windows Phone 7 developer tools beta Fons Sonnemans posted a video of his WP7 game Sudoku for WP7 on YouTube... ...
I’ve had a lot of discussions at the office lately about the drastically different sets of software engineering practices used on our various projects, if what we are doing is appropriate, and what factors should you be considering when determining what practices are most appropriate in a given context. I wanted to write up my thoughts in a little more detail on this subject, so here we go: If you compare any two software projects (specifically comparing their codebases) you’ll often see very different ...
So, tonight I took some time to mash up some graphics for my game menu screen. My artistic talent sucks...but here goes nothing...voila, my menu screen!! The Menu Screen The screen above is displaying 4 sprites, even though it looks like maybe 7... I guess one of the first things for me to test in the future is ... is it more memory efficient (and better frame rate) to draw one big background image OR tp paint the screen black, and place each sprite in set locations? To display the 4 sprites above, ...
The Open System Interconnection Reference Model (OSI Reference Model or OSI Model) is an abstract description for layered communications and computer network protocol design. In its most basic form, it divides network architecture into seven layers which, from top to bottom, are the Application, Presentation, Session, Transport, Network, Data Link, and Physical Layers. It is therefore often referred to as the OSI Seven Layer Model. A layer is a collection of conceptually similar functions that provide ...
ASP.NET MVC Reports in ASP.NET MVC Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth Microsoft Chart Controls to PDF with iTextSharp and ASP.NET MVC Setting Up ASP.NET MVC with NUnit for Visual Studio 2008 Standard Edition ASP.NET MVC ExtJS using LINQ Using ExtJS Grid with ASP.NET Ajax WCF WebServices & C# How To Get Started With Selenium Core And ASP.NET MVC ASP.NET MVC Cheat Sheets ASP.NET How to Implement Trackback Handler in ASP.NET How to Implement Pingback Handler in ...
Head First Design Patterns Undoubtedly opinions change over time, and seeing as I’ve waited quite a while to review this book from when I began reading it I’ve had time for the book and its concepts to percolate. My final opinion is that this book does offer a good entry level look into design patterns, and for those who take the time to read through this book you will benefit greatly to continue onto its inspiration, the original Gang of Four read, or also onto Fowler’s Patterns of Enterprise Application ...
The following post is taken from an article that explore the differences, pros, cons and usages scenarios of the Server empowered web architecture of Visual WebGui and on the other side the Client empowered web architecture features by solutions such as Classic AJAX, Flex/Flash, Classic Silverlight, Java Applets. Both server and client empowered solutions can support any kind of UI look & feel using Silverlight or rich AJAX. Client empowered applications support the highest performance in applications ...
The second edition of the Microsoft Belux (Belgium and Luxembourg) Architecture newsletter is out and refers to this article on Azure architecture. See : http://www.microsoft.com/be... Interested in Microsoft Architecture ? See the blog Architects Rule by Philippe Destoop, Enterprise Architect for Microsoft Belgium and Luxembourg. The Azure Services Platform is an infrastructure managed by Microsoft in their datacenters that enterprises and ISV’s ...
Tomorrow after work, I'm driving to Richmond to speak at the Richmond Code Camp. In the past, I didn't plan out which sessions I would attend. Instead, I just floated to whatever seemed interesting. This time, I'm taking the steps to get the most out of the conference. Here's my schedule. 8:00 - 8:45am - Auditorium - Welcome And Keynote I'm not a morning guy, particularly after driving 6 hours. However, I'll try to be on time to catch the keynote. 8:45 - 10:00am - Speakers Lounge - Preparation Before ...
So I started my new job at Anvil Digital a few weeks ago. One of the first things I’ve been doing is just taking a look at the current projects and processes and finding some opportunities and/or weaknesses where improvements can be made. One of the projects under-way is the development/maintenance of a large-ish .Net application. When I took a look under the covers at the design/architecture I noticed there is clearly a lot of room for improvement. In this specific instance, what has happened is ...
location: At Lamar Advertising Wednesday, January 28, 2009 5:45 PM - 8:00 PM Sponsored by: TBD Presenter(s): Brett James and Steve Schaneville Brett is a Senior Development Consultant at Sparkhound, Inc. with over 10 years of software development experience. The last 6 years have been spent working with .NET technologies for both Web and Windows applications. Steve is a Software Development Manager at Amedisys, Inc. His experience includes 9 years of C++ and C# development in Windows and Web applications. ...
Since the beginning of my foray into SOA I have heard about composing services to 'write' new services. I have never really understood how this was supposed to work. Although, vague thoughts of Windows Workflow style wizards do come to mind. One of the first books that I have read on the subject 'SOA in practice'(2) even laid out yet another layered architecture (3 layers to boot) these were called basic services, composed services, and process services. Basic services are the basic building blocks ...
If you're a 3D kinda guy, which I'm not (well, I'm getting there, but it's a slow journey) then you might be interested in this. Apparently, Caligari is giving away their trueSpace 7.6 product for free for a limited time. Here's the marketing fluff: What you may not expect is that we are making trueSpace7.6 available to everyone at no charge, in a giant step forward to bring high-end 3D authoring tools to all who want them! trueSpace7.6 is far more than a SketchUp-style 3D architectural modeling ...
Recently I’ve been able to extend my unit test code coverage as I’ve been introducing more features into our code base. I know this is something that should always be done, but for whatever reason, that’s not the case. What I’ve come to notice is our current method of organizing our unit test makes adding new features and test for new features awkward. Currently our unit tests align perfectly with the class they test. So for example, if we have a class: namespace MyCompany.Domain{ public class Foo{} ...
I mentioned a while back that I had something I was working on that involved a change in language, actually a pretty radical change. I have been working on vocational project written in VB.net and made heavy use of LINQ to SQL. I wasn't sure of LINQ to SQL for anything else other than RAD and to be honest I'm still not. Anyway, I'm not getting into that debate. Needless to say I went all the way and don't use a single sproc in this project. Some of you will know I play cricket every Saturday for ...
The main concern of software cells is how business logic is distributed. But as I write "business logic" I don´t really feel comfortable. The term sounds as if software cells were just a tool to help modelling business applications - as opposed to games or compilers or infrastructure. But right to the contrary: software cells claim to be a universal meta model for software. You can model any software with them. That´s why I don´t like to use the term "business logic". I prefer the neutral and unqualified ...
Software cells to me are the basic building blocks of software in the large. Don´t think in smaller terms as a software architect - at least at first. Keep your planning on the process level or above, e.g. on the service level. Services - as in SOA - can be depicted as software cells, too. You can think of a service as a composite consisting of several smaller software cells. As peel away the layers of your software system, your application starting from the top, i.e the whole application... ...you ...
There are plenty of ORM Frameworks available to use and I have tried few of them. In this post I will describe my experience with those frameworks. NHibernate: NHibernate was the first ORM framework that I tried. The real power of this framework is that it supports many different kinds of databases. The bad thing which pushed me away was the complicated XML mapping and lazy loading. I was never able to get lazy loading to work properly. I searched on forums and saw many other developers facing the ...
Many of us have now become comfortable with how to best build a layered system with the typical UI, biz, and data layers. But as I started to write my first application that took messaging as a pretty central concept I found that I didn't really know how I wanted to parcel out my system. So here is a closer look at what I have been playing around with in this area. Project Setup Solution Name Domain Domain.Tests Domain.Messages Persistance Domain.Persistance Domain.Persistance.Tests Ok some notes: ...
Logical layers such as BLL, DAL, CL etc can be hosted in the same machine or can be distributed in separate machines specially where high end scalability are required. The relation and isolation among logical and physical tiers are required to be defined and explained with appropriate design goal. While considering logical layers in distributed environment, there are several technologies are available. SOAP/HTTP based web service or .NET remoting can be considered, each of which has own merits and ...
To perform database operations from application, generally DAL uses some db utilities helps to write minimal lines of codes to perform data operations. In the data utility classes, some classes and methods might be specific to vendor (for instance, SQLHelper class will only work to perform operations on MS SQL Server) and some classes and methods might be used regardless of database vendors. These issues, along with the boundaries, should be addressed here. Technorati Tags: architecture,layered ...
In some cases invalid values are handled from the user interface level, by using validation controls. However we need to address the points, where and how we handle invalid values, which are not been validated from there user interface layer and/or required to be validated in coding level. These considerations are retired to be addressed in this point. Technorati Tags: architecture,layered ...
The common model of the logical layers which can be fitted to maximum of the business entities can be implemented using code generator tools, which saves a lots of developer times. Besides the common model, there might have some cases which require special consideration. Specific and complex business logic can be an example of such special cases. Technorati Tags: layered,architecture,.net ...
Generally a many-to-many relation between two data tables forms a third table which contains the primary key of both tables. For instance, if there are two table or data entity, named “Person” and “Address”, and if there is a relation between these entities is “many to many”, there would be another table, which will keep this relation in the table, which could be named as “Person-Address”. Some logical model supports to create a separate logical entity in application layered components (DAL, BLL, ...
One to many relation is one of the most core consideration in relational database design context. However while mapping the database tables to the logical layers, it needs to be defined clearly, how it has been handled. For instance, as design can include a container class that holds parent and child classes as property, or another design can include separate classes for all data entities regardless of parent/child relationship. Technorati Tags: architecture,layered ...
Business entities can be passed as method parameter in DAL, or all data elements can be passed separately in DAL methods as method parameter. Some design also may support the Business Entity class to include the corresponding CRUD methods, which basically doesn’t require any data element to be passed in the CRUD methods. Technorati Tags: architecture,.net,layered ...
Business entities can be passed as method parameter in BLL, or all data elements can be passed separately in BLL methods as method parameter. Some design also may support the Business Entity class to include the corresponding CRUD methods, which basically doesn’t require any data element to be passed in the CRUD methods. Technorati Tags: architecture,.net,layered ...
BLL classes can be defined with respect to physical or logical business entities, DAL classes, as vice versa. This mapping process can include one to one, one to many or many to many technique. For example, we have two business entities (physical or logical), named “Order Summery” and “Order Items” for an e-commerce application. Having a one-to-many mapping relation with BLL and DAL in class level can contain one separate BLL class, as “OrderBLL”, and two separate two separate DAL classes, as “OrderSummeryDAL” ...
DAL classes can be defined with respect to physical or logical business entities, BLL classes, as vice versa. This mapping process can include one to one, one to many or many to many technique. For example, we have two business entities (physical or logical), named “Order Summery” and “Order Items” for an e-commerce application. Having a one-to-one mapping relation to DAL will contain, two separate DAL classes, as “OrderSummeryDAL” and “OrderItemsDAL”. Technorati Tags: architecture,layered ...
For a three layered application model, in some cases, the UI interface layer can use the DAL directly, rather using it via the BLL (i.e. “immediate next layer”). This type of application model generally includes a small set of classes and methods in business logic layer, ignoring the mapping all functionalities from DAL to BLL. This design issue provides a sort of performance, by reducing the engagement of intermediate layer(s). On the other hand, we can have a model, where a complete set of functionalities ...
To improve the application performance, “Caching” is one of the popular techniques in current trend of best practices. In some design context supports to cache data in UI interface level, where built-in cache mechanism is available. Sometimes, putting the cache mechanism in a separate layer provides better isolation and control over application space. If so the cache isolation, expiration and coupling with other layers policy should be addressed properly. Technorati Tags: architecture,.net,layered ...
Here we will address few primary design considerations regarding logical layers. This is not mandatory that we need to build each and every system in popular “Three Layer” model. There might be a design context where single or two layer approaches can be a good design choice. Here we need to clarify the layered division and their responsibilities. Here we can also address some present and future possible considerations, supporting the current division of layers, such as, regarding multiple UI (Windows ...
For .NET application, business entities can be categorized as Custom Entity, Typed DataSet and Generic DataSet. Custom Entities are generally simple and faster than DataSet, where as it includes more involvement from developer end, as opposed to DataSet, which includes lots of built-in functionality, along with several trade-off in performance end. Choosing the right business entity is one of the basic parts in the software architecture, which fits accordingly in application requirements and development ...
Just came back from the Houston .NET User Group meeting. If I can define the whole experience in one word then it would be FUN. My presentation started at 6:45 PM. There were close to 100 people at the presentation. I wanted to start the presentation with a joke so I came up with the following first slide: That worked well as the ice breaker. Off course, I had to make it clear that this presentation is highly code base and consist of total 5-6 slides. I covered the following topics in the presentation: ...
Hi All, This is Lakshmi Murthy and i am a biztalk enthusiast. I have been awarded my third consecutive MVP Award in BizTalk Server technology for this year. I have been blogging for many years now and you can find my blog posts in BizTalk and other related technologies at http://techsavygal.wordpres... (old blog : http://techsavygal.blogspot... Microsoft has released RFID platform in September last year as a part of BizTalk Server 2006 R2 Release. BizTalk RFID enables to integrate disparate ...
First off, thanks to Willie for his excellent blog post walking through how to create a layered architecture with Sub Sonic. Although it did make it clearer what the steps were, it still didn't solve the issue I had raised earlier: the UI knowing and accessing information about the database connectivity mechanism which is still required in the web.config file (even if its just a path to where the actual config information is going to be found). However, I want to bring this saga to an end for a couple ...
Tampa 2008 Roadshow January 31, 2008, 8:30am - 4:00pm Microsoft - Tampa, Florida Register Join new and experienced Microsoft WinForms and Web developers for a day long FREE Developer Event covering Enterprise Library, Software Factories, and proven practices from Microsoft Patterns and Practices. Learn to increase developer productivity and application quality using Enterprise Library building blocks, code generation, and proven practices for Smart Clients, Web Clients, and Web Services. Learn how ...
I found this article today at CIO via an Article at Doug Browns site www.dabcc.com and thought it too good to just post the quote. This is exactly why Virtualization is shaking up the IT market so much - it has the capacity to drastically change the way you think about "Flexibility" and "Agility". Being able to provision on the fly in 30 minutes or so doesn't hurt either - and it's this very reason that makes concepts like VDI seem so very attractive. Virtualization at Warp Speed: How One Company ...
Well, that was a very strong statement but atleast DLINQ won the Weekly Poll. The poll started a week ago (duh weekly poll) in which I asked "Which ORM framework would you prefer?". The choices includes DLINQ, NHibernate, Active Record, SubSonic and few other ORM frameworks. DLINQ collected 48 votes while NHiberate was second with 36 votes. In case you are wondering where the poll was held, it was held on GridViewGuy. So, let's talk more about the results of the poll. Why DLINQ won? I think the main ...
I had an unpleasant time yesterday afternoon re-stabilising an ASP.NET 2.0 application after it went berserk. I don't do that much coding in ASP.NET these days, but when I do, I seem to run into lots of problems. A fellow developer on the same project wasn't very helpful or sympathetic - he sat there and informed everyone in a loud voice that he'd just come off another project where he'd built a much larger ASP.NET app without any problems at all. Yes, thanks for the support! I had several problems ...
So the MVC pattern is basically layered architecture for a Web application. The Model provides business process layer. It models the data and behavior behind the business process. As part of performing business process, the model layer might perform database access, calculating business process, or processing orders for example. One important point to remember is that Model encapsulates data and behavior independent of how they are presented. That is, the presentation could change depending on the ...
It took me a while to come to this blog post from Bart. He wrote a very simple and easy to understand article on how you can invoke a workflow engine from a IIS / Self Hosted WCF service. This is very useful from the layered architecture perspective since most service-oriented systems will not have the presentation layer calling the workflow engine directly. More often than not (depending on the complexity of the system), you will want to inject a communication service layer in the middle to handle ...
Check out the services factory especially the WCF Guidance Package. Really nice...!! the layered architecture, the autogeneration of mapping between the entity classes and the data contracts is nice. The Data Guidance Package is nice too. Heres a link http://msdn2.microsoft.com/en-us/library/aa480534.aspx to the download and documentaiton. I am interested in hearing what other folks think
As much as I hate to perpetuate the dissemination of coined terms, there's little one can do to fight it. Since AJAX (Asynchronous JavaScript and XML) arrived on scene, it has endured unending abuse at the hands of Sales and Marketing departments alike. Similarly, people's misconceptions regarding the use of this technology have abounded. People still seem to think that client side behaviors, such as drag & drop, fades, and various other JavaScript effects are the result of AJAX. As developers, ...
Windows PowerShell Scripting Sweepstakes. I think its kinda funny, though, that the first prize teaser in the description of the contest is two "all-expenses paid trips to Redmond, WA to meet the Windows PowerShell team". You know I'm sure I would enjoy meeting you all and everything...but I'd rather just have the Xbox. Unless I can get the xbox AND the trip to Redmond. :) Submit your entry scripts in one (or all) of 12 categories: Active Directory SQL Databases IIS 6.0/7.0 Networking Partner Category: ...