Posts

Showing posts from February, 2016

ASP.Net Multi-Tier Architecture : With Product sample

Image
In this post I'll explain how to manage a much more better structure in your web applications with Multi-Tier architectures. In this post we are going to experience the Three-Tier architecture. Even-though we name this as a Three-Tier architecture we can divide it into more levels to manage the complexity of the project. This is the architecture we are going to implement in this post.   Responsibilities of each layers: 1. Application Layer - This is the top level and the layer which the end user getting access to. Which simply means this is the web site interface which include all the aspx files, css files and other scripts. 2. Business Layer - This is the main layer of the application which holds the business logic. I have divide this layer in to 2 layers. Business Logic Layer - This layer holds the pure business logic itself. Business Domain Layer - This holds the domain objects of the solution which require in the business logic. (Ex: Product, User) 3. Database L...

Decompiling and debugging .Net dll files

Image
Hi All, when you are working with some third party tools there are some times those third party throws errors. As example when you are developing ASP.Net Web Applications with CMS (Content Management System) like SItecore, it throws errors. In these situations we have to check where the error is getting throwing. But the problem is most of the third party tools have assembly (.dll) files which we cannot decompile. Why we cannot debug them ? Because, it is a end product and they don't include the .pdb files that need to debug their libraries. What is a .pdb file ? A program database (PDB) file holds debugging and project state information that allows incremental linking of a debug configuration of your program. A PDB file is created when you build with  /debug  (Visual Basic/C#). You can build Visual Basic and Visual C# applications with  /debug:full  or  /debug:pdbonly . Building with  /debug:full  generates debuggable code....