.net

There are 111 entries for the tag .net

Imagine Cup 2011: Finalist Team from Bangladesh Announced

Every year Microsoft organizes software contest Imagine Cup where young technologists around the world participate based on a theme: to help resolve some of the world’s toughest challenges. This year, a team from Bangladesh is also going to participate in Imagine Cup final round, which has been selected among hundreds of teams in Bangladesh, through different phases. As one of the judges of Imagine Cup 2011 to select finalists from Bangladesh, I was very excited to see the efforts that were given...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Microsoft datajs API: A 5 Minutes Quick Start

Ajax enabled data centric applications are getting popular day by day in web development space. While these type of web applications provide rich user experience, building a robust and powerful application quickly is a great challenge for developers. Fortunately Microsoft has started providing great frameworks, plug-ins and APIs to facilitate this process. Last week Microsoft announced a new version of java-script API “datajs”, which is intended to help web developers to build data centric AJAX applications...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Employee Info Starter Kit: Project Mission

Employee Info Starter Kit is an open source ASP.NET project template that is intended to address different types of real world challenges faced by web application developers when performing common CRUD operations. Using a single database table ‘Employee’, it illustrates how to utilize Microsoft ASP.NET 4.0, Entity Framework 4.0 and Visual Studio 2010 effectively in that context. Employee Info Starter Kit is highly influenced by the concept ‘Pareto Principle’ or 80-20 rule. where it is targeted to...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Announcement: Employee Info Starter Kit (v5.0) is Released

Ever wanted to have a simple jQuery menu bound with ASP.NET web site map file? Ever wanted to have cool css design stuffs implemented on your ASP.NET data bound controls? Ever wanted to let Visual Studio generate logical layers for you, which can be easily tested, customized and bound with ASP.NET data controls? If your answers with respect to above questions are ‘yes’, then you will probably happy to try out latest release (v5.0) of Employee Starter Kit, which is intended to address different types...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Creating Multi-Project Templates with Wizard Using Visual Studio 2010

A VSIX file enables us to install Visual Studio extensions (tools, controls, template etc) with few clicks. I have created a simple example of creating multi-project templates with wizard using Visual Studio 2010, which generates VSIX file. Checkout the sample in codeplex here...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

T-4 Templates for ASP.NET Web Form Databound Control Friendly Logical Layers

I just released an open source project at codeplex, which includes a set of T-4 templates to enable you to build logical layers (i.e. DAL/BLL) with just few clicks! The logical layers implemented here are based on Entity Framework 4.0, ASP.NET Web Form Data Bound control friendly and fully unit testable. In this open source project you will get Entity Framework 4.0 based T-4 templates for following types of logical layers: Data Access Layer: Entity Framework 4.0 provides excellent ORM data access...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

.NETTER Code Starter Pack v1.0.beta Released

.NETTER Code Starter Pack contains a gallery of Visual Studio 2010 solutions leveraging latest and new technologies released by Microsoft. Each Visual Studio solution included here is focused to provide a very simple starting point for cutting edge development technologies and framework, using well known Northwind database. The current release of this project includes starter samples for the following technologies: ASP.NET Dynamic Data QuickStart (TBD) Azure Service Platform Windows Azure Hello World...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Getting Started with Employee Info Starter Kit (v4.0.0)

The new release of Employee Info Starter Kit contains lots of exciting features available in Visual Studio 2010 and .NET 4.0. To get started with the new version, you will need less than 5 minutes. Minimum System Requirements Before getting started, please make sure you have installed Visual Studio 2010 RC (or higher) and Sql Server 2005 Express edition (or higher installed on your machine. Running the Starter Kit for First Time 1. Download the starter kit 4.0.0 version form here and extract it....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Employee Info Starter Kit (v4.0.0) - Visual Studio 2010 and .NET 4.0 Version is Available Now

Employee Info Starter Kit is a ASP.NET based web application, which includes very simple user requirements, where we can create, read, update and delete (crud) the employee info of a company. Based on just a database table, it explores and solves most of the major problems in web development architectural space. This open source starter kit extensively uses major features available in latest Visual Studio, ASP.NET and Sql Server to make robust, scalable, secured and maintainable web applications...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

My MVP Award is Renewed!

Yesterday I’ve been informed that I’ve gained the Most Valuable Professional award again for next year, in ASP.NET category. This is the third time I have received this award, which is pretty exciting. Here is my MVP profile: https://mvp.support.microso... Special thanks to few Microsoft employees including Technical Fellow Brain Harry, Sr. Program Manager Joe Stagner, Lead Product Manager Dan Fernandez and South Asia MVP Lead Abhishek Kant who encouraged and supported me in several...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Microsoft Day @ Dhaka: Community Feedback, Pictures and Resources

Thanks everybody who Participated in the event Microsoft Day @ Dhaka, held on 20 June 2009 at IDB Auditorium, Dhaka. It was an excellent gathering of 250+ professionals, specially developers in Bangladesh. Besides the knowledge sharing stuffs, the event was very successful to create a social gathering of technical professionals. I was really found it pretty nice that, I have meet at least 20+ guys there, whom I knew and meet virtually before. The good news for the community is, we will be organizing...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

See You on Microsoft Day @ Dhaka!

Microsoft Community in Bangladesh proudly presents Microsoft Day @ Dhaka. This is a special day dedicated to all Microsoft technology professionals and students in Bangladesh. We will be having the best Microsoft community technologists from Bangladesh - Microsoft Most Valuable Professionals (MVPs) delivering sessions at the event. This technology marathon is a great opportunity to learn from the best and network with each other. Both Microsoft developers and networking professionals would find the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

5 Quick Steps to Get Introduced with Visual Studio Team System and Team Foundation Server 2010 (Beta 1)

Last month (May 2009) Microsoft has released its first beta for Visual Studio Team System 2010 and Team Foundation Server 2010 release, two of the most waited and wanted tools in developer community. From my point of view these two releases are going to be one of the most historical releases, as lots of really cool stuffs has been added with respect to the last version. However, as the Beta 1 releases are pretty infant, there are very limited resources available in the web and community, so I just...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Aggregator Provider Pattern: An Extension of Provider Pattern

Definition Aggregator Provider Pattern is an extension of Provider Pattern, which enables us to create and utilize multiple instance of the class having the same provider interface. In this pattern, there is an Aggregator class which implements the provider interface and contains a collection of instances of classes having the same provider interface. The underlying caller class of this aggregator is simply unaware of how many provider instances do the caller Provider Aggregator contains, but all...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Email Reporter: VSTS 2008 Load Test Plug-in (V1.0) Released

Microsoft’s Visual Studio Team System Test Edition provides a powerful platform to perform high volume load testing. It also provides high end flexibilities to write and utilize external plug-in for extended functionalities. Email Reporter: VSTS 2008 Load Test Plug-in enables users to send the load test reports to one or more pre-configured email addresses automatically, once a VSTS Load Test is completed. This open-source load test plug-in also provides supports for customization by which you can...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Smoke, Sanity and Regression Testing: The River Analogy

Roy Osherove written an excellent ‘Restaurant’ analogy to explain the difference between unit tests and integration tests. This type of analogy really becomes lot helpful to understand the concepts that are similar to each other, but has significant difference as well as. In the world of testing, Smoke Testing, Sanity Testing and Regression Testing are very similar to each other: to ensure the quality running the test cases of an existing application with respect to a new feature being added/dropped/modified....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Announcement: The Official Site of “ASP.NET Developers, Bangladesh” has Changed

ASP.NET Developers, Bangladesh is a group of professional developers, which focuses the latest development trends in ASP.NET and it’s related technologies. This professional group is member of INETA (International .NET Association) and Culminis. The previous group site address has been changed, as it was hosted at MSN group, which was closed from March 2009. All of the previous group members and those who are not yet been member but interested to share and learn new cutting edge technologies are...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

5 Reasons to Write Automated Tests for Generated Data Access Layer Code

Software Designers often have to face a common decision factor, that whether they need to design automated test (unit test, integration test etc) infrastructure for data access layer code, specially when the data access layer codes are written using code generator tool. Basically the straight forward answer as ‘Yes’ or ‘No’ in this regard depends of several situations/ factors such the size and budget of the project etc. Here are my 5 top reasons to write automated test (unit test, integration test...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Top 10 Favorite Performance Counters in Web Site Load Testing Using VSTS 2008

Microsoft Visual Studio Team System/Test Edition provides an excellent tool to perform web site load testing. Using this load testing tool, you can monitor and measure the site performance along with system status with respect to a given load/stress. Fortunately VSTS provides a support for wide range of performance counters, from web page request per second to condition of physical disk, memories. Unfortunately, they are too huge that, initially testers/designers get overwhelmed with all of those,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Understanding VSTS Load Test Counters: Requests, Pages and Tests

Microsoft Visual Studio Team System/Test Edition provides an excellent tool to perform web site load testing. Using this load testing tool, you can monitor and measure the site performance along with system status with respect to a given load/stress. Fortunately VSTS provides a support for wide range of performance counters, from web page request per second to condition of physical disk, memories. Unfortunately, they are too huge that, initially testers/designers get overwhelmed with all of those,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Measure Your Database Table Schema Synchronization Safety While Using VSTS 2008

Microsoft Visual Studio Team System 2008 provides an excellent data synchronization tool, synchronize data and schema between two database. It saves lots of developer time to sync database objects. Among two possible synchronization techniques, VSTS 2008 uses the unidirectional synchronization technique. In this consideration, as safety measurement will be helpful for developers before start synchronization. The security measurement is considered whether it would create any loss of data or not. Here...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Understanding Safe Database Synchronization

Data or content synchronization is one of the classic problems in software world. It becomes very trivial point while working on software production, where production data and schema needs to be synchronized with live data and schema. Having some basic conceptual complexity, developers often get afraid to use any automated tool considering the risk factors to lose of data or content. Mostly, in these cases a manual process has to involve making sure a safe content synchronization. However as human...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Agile Software Development: More About Human Ideology, Rather Machine or Technology!

In the recent trend of software development and information technology, Agile has been a Buzz word among the developer community. There are three types of guys, while a new hype gets introduced. First, who really ignores it, as it is being hype, second, who really get excited about it, but really not very aware to utilize the concept properly, and the third, who really don’t care about whether it is hype or not, but cares to utilize and adopt it properly. It’s very hopeful that the third type of...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Introduction to .NET Application Modeling Language

Introduction nAML (.NET Application Language, pronounced as “namel”) is a visual modeling semantics to model .net applications with wide range of specific details. It contains extremely powerful visual notations and semantics to illustrate complex application components, processes and operations easily. It overcomes the limitation of traditional modeling languages by providing a single space to describe an application system with its structural and behavioral, as well as physical and logical components....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

nAML: A New Revolutionary Way to Model Your .NET Applications!

Understanding the architecture and code in software application plays as major factors while building good software products. Having an easy to understand visual notation, not only helps architects to model the system efficiently, but also helps developers to quickly implement that, as well as it helps the re-engineering process to easily adopt the architectural model with respect to new requirement. A new visual modeling technique, termed as “nAML” (.NET Application Modeling Language) is being introduced...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

July 2008 Recap: Panel Discussion, Blogging, Developer Group and Finally Winning Community Credit Award!

I have been awarded by Community Credit, for the monthly community contribution competition of July 2008. One of my main contributions for July 2008, besides blogging, moderating developer group etc, was organizing a panel discussion and seminar with 120+ students of American International University - Bangladesh. Along with Mr Enam Noor, we had a nice time with students, while providing them a guideline to get prepared for industry standard software development. Along with the support of my current...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Employee Info Starter Kit on Official ASP.NET Site

Employee Info Starter Kit is an asp.net starter kit, which demonstrates the use of simple CRUD operations for maintaining a company's employee information. It has been developed by me as a guideline for building enterprise level projects. In last few months this starter kit placed in the top chart at code.msdn.microsoft.com for several times regarding the popularity. A very exciting news for all of Employee Info Starter Kit fans is yesterday this starter kit has been placed in the front page of Official...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I am MVP Again! Cheers!

It's great pleasure for me that Microsoft has awarded me as MVP (in ASP.NET category) again this year! I become MVP for the second time, for my contribution in developer community. Check out my MVP profile here. Besides, another interesting news to be shared with all, in the last weekly show of Channel 9, two of my posts published here 10 Tools Which I Left After Using VSTS 2008 and 10 Tools Which I Still Use, Even I Have VSTS 2008 has been discussed. Thanks Microsoft for your recognition! It really...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

10 Tools Which I Still Use, Even I Have VSTS 2008

In my last post, titled "10 Tools Which I Left After Using VSTS 2008", I have included a list of 10 tools which I am not using currently, as I have the corresponding features available in Visual Studio Team System 2008. However, on the other hand, I am still using few tools even I have VSTS 2008! Here are 10 of among them.. 1. Code Smith: An excellent template based code generator. 2. Crystal FTP: Excellent FTP client tool. 3. Total Validator: One of the most powerful tool that I ever seen, which...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

10 Tools Which I Left After Using VSTS 2008

I have started using Visual Studio Team System (VSTS) 2008, recently. Previously I worked with Visual Studio 2005. As a matter of fact I had to use lots of external tools to perform and speedup my development process. However, while working with VSTS 2008, it's very exciting for me that, I found replacements for most of the external tools there. Here are 10 tools which I left after using VSTS 2008: 1. Database Schema Compare External tool: Redgate SQL Compare VSTS 2008 tool: Menu -> Data ->...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

How To: Win the Tech Sea…

Microsoft is releasing new and exciting products and platforms for developers one by one, which are making developers pretty busy to learn, implement and utilize them at their production environment. Here are few latest hot cakes for developers: 1. Windows Presentation Foundation 2. Windows Communication Foundation (WCF) 3. Windows Workflow Foundation (WF) 4. Windows Forms 3.5 5. ADO.NET 3.5 6. ASP.NET 3.5 7. .NET Compact Framework 3.5 8. Windows CardSpace 9. Silverlight 2.0 10. IIS 7.0 11. Visual...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 21: Do we use cascading on CRUD operations? If so, is it in DAL or DB layer? Why?

Cascading is a technique that resides between the relations between two database tables. It enables the records of the child tables to be deleted/updates with respect to the corresponding records of the parent table records. Besides the database level, this operation can also be considered in the inter-mediate logical layer. Software designers are required to define the appropriate explanation regarding this consideration. Technorati Tags: architecture,database,.net...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 20: Do we use transaction? If so, is it in DAL or SP layer? Why?

Transaction is a mechanism where a batch of operations can be rolled back for any failure at the mid point of the whole process or can be committed after successful completion of all the operation. Transaction can be used in both database level and/or application level. Technorati Tags: architecture,database...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 19: How the logical layers are connected?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

100th Post! Cheers!

This is my 100th post in GWB, which just been written in my 29th Birthday! Cheers to all! Technorati Tags: Birthday,Blog...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

New Asp.Net Starter Kit Available: Employee Info Starter Kit

Employee Info Starter Kit is a starter kit, which includes very simple user requirements, where we can create, read, update ad delete (crud) the employee info of a company. The primary purpose of this starter kit is, to provide a solid guideline with respect to building enterprise level projects, by utilizing new asp.net 2.0 and sql server 2005 features, as well as latest best coding practices. The starter kit includes several cases where we can perform multi-table joining and/or write operations....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Happy birthday to me!

Don't know really how 29 years just passed! It was really wonderful journey so far. I wish I will be nice husband, nice child, nice father, nice engineer ... (impossible? not really!) Cheers to all! Technorati Tags: birthday...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Traceability in Layered Architecture: A Roadmap

Traceability in layered architecture lets software architects to define, utilize, reuse and re-engineer existing, current and future application architecture in more structured way. This article provides a roadmap to trace multi-layer architectures easily. Introduction Multi layer architecture is one of the most popular and proven model in the current trend of software development. It lets software designers and developers to easily isolate user interface, business logic and data access logic. In...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 18: Which portion of the db utility classes are vendor specific?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 17: Where exceptions are thrown for invalid values?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 16: How the null values are handled?

Null values are one of the basic considerations, without taking care of which may raise lots of confusions and errors while the application is running in the live. Some application architecture supports a model which puts null values to the database while the user is providing empty data from the user interface end. For string/text type data some times are saved as empty string (i.e. string.empty). But it creates confusion where empty string itself considered as a value. Also, besides string/text...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 15: Rather common model of BLL and DLL classes, what are special cases we need to consider?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 14: How do we generally handle many to many (database) relationships in logical layers?

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,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 13: How do we generally handle one to many (database) relationships in logical layers?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 12: For CRUD operation in DAL, when we use the business entity and when do use parameters?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 11: For CRUD operation in BLL, when we use the business entity and when do use parameters?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 10: What are the mapping criteria for BLL classes and CRUD methods?

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”...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 9: What are the mapping criteria for DAL classes and CRUD methods?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 8: How the layers communicate with next level layers?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 7: Do you use cache layer?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 6: How many layers will be considered? Why?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 5: Are there any special considerations for “typed” entities?

There are few entities which data are not been changed very frequently, but one or two items are added over few months. For instance, user type, product category, order type, payment mode. For better database operations values of these fields are kept in database and been referred to other entities as foreign keys. But interestingly values of these “Type” entities are used very frequently in coding layer, where developers had to use the hard-coded primary key value or the string value of this type...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 4: How do you map OOP concepts to relational database design?

Let’s consider a simple sample: Contact db table: Contact ID (primary key), Contact Name, Contact Address Employee db table: Employee ID (primary key), Employee Joining Date Customer db table: Customer ID (primary key), Customer Birth Date Now to utilize the object oriented inheritance concept in relational database model, we can create a one to one relation with Contact table with Employee and Customer table, where besides primary key, Employee ID and Customer ID will be used as the foreign key...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 3: Where and how the joined operation (fetched from multiple data tables) is placed in business entities?

When we need to retrieve result sets from multiple database tables via join operation a common practice is to use Generic DataSet to store the result. We can consider Custom Business Entity for the cases where the joining operation can be determined at the software design time, which provides faster execution time than DataSet. Also in some cases joining operation is required to be implemented in application end, rather database end query, especially when multiple entities are required to be combined...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 2: To which context Business Entity classes are mapped?

For simple applications, mapping directly from physical table to logical business entities reduces lots of cost in programming, especially while using code generators. However, no matter in sample or complex applications, besides mapping physical tables, there are few areas which might not be suitable to be mapped directly from databases tables. To map one-to-many relation from database to logical application model, some design creates a base container class for the business entities, which includes...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Factors 1: What is the type of business entity?

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using Nested Master Page in ASP.NET

Master page made the developers life extremely easy where all of the core design (specially headers, footers etc) can be designed and defined in one page which then can be inherited by all the pages in the application without requiring adding the header, footers etc explicitly. However master pages can also be nested, that is in a application, where are there two (or more) set of designs to be followed in two or more set of pages, along with following some common design components (such as header,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using .NET 2.0 Generics for Custom Entity Collection

Generics is a new feature in .NET 2.0 which allows us to create a data structure without committing to a specific data type. In the early age of .net 2.0 (i.e. .net 1.x), while using custom entity model in our application data architecture, we had to create a separate class regarding the collection for each of custom entity. The custom entity public class SystemUser { public string _Name, _Password; public SystemUser(string name, string password) { _Name = name; _Password = password; } public string...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ASP.NET Role Based Security: The Basics

Authentication and authorization is the two basic part of the user-end security in asp.net web applications. After to successful authentication of a user, authorization takes the place according to which the authenticated user are allowed to access to the corresponding resources in the web application. Role based security is very basic requirements in the current trend of web applications. Mostly there are two roles involved, which are registered user and the admin users. However in a web application...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Simple C# Delegate Sample

New developers often ask me about C# delegate, as they got a bit confused about the basic concept and specially maximum of the reference contains and discussed from an advanced view. Well I think delegate is really simple, when you grab it's basic idea. So what is delegate? Basically it is similar like the old "C" age function pointer, where functions can be assigned like a variable and called in the run time based on dynamic conditions. C# delegate is the smarter version of function pointer which...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Unique Data Columns in SQL Server 2005: A Quick Look

- Primary key -- Only one Identity column -- Can't be null - Identity -- Automatic value -- Only one Identity column -- Can't be null -- Can exist in addition of primary key, GUID-auto columns - Uniqueindentifier -- Can be multiple -- Can be null - Uniqueindentifier - rowguid -- Auto generated -- Only one Identity column -- Can be null -- Can exist in addition of primary key, Identity columns - Unique Key -- Can be null -- Can be multiple Technorati Tags: database,design,software development...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Normalization Case Study and Theory

Functional Dependencies The value of one attribute in a table is determined entirely by the value of another attribute. For example, the birthday of a Customer can be determined by the primary key of the Customer, in which record the birthday belongs. Here an Customer’s birthday depends on the Customer’s primary key. Customer birthday (depends on) -> Customer ID The notation X -> Y means if and only if each X value is associated with at most one Y value. We can find the birthday of a Customer,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Software Design Tradeoff Factors

In perfect world you can get all of the best things in one place. But in real world it’s not. In software development there are some basic trade-offs when you consider a specific design feature. Exploring these considerations will help you to create the architecture that matches best with the given context. Performance Security (code level, encryption etc) VS Performance (code level) Caching: Memory VS Performance Object Oriented/Layered Code VS Performance Scalability VS Deployment (n-tier) User...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Wikimapia: Describing own place!

I become a fan of Wikimapia with in few minutes, after checking it! How easy to find out your desired location and can mark it with your own words if you wish! Being combined with Google Map, this site enables to browse any place in the world via web, without installing Google client side software. The picture below shows my sweet home using wikimedia! The concept of "wiki" is to enable users to put their own text in site content, so being integrated with Google Map, it lets you to mark any area....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Where Do You Place Your Documents?

Putting your documents and codes in organized manner is very very primary requirements to manage your tasks properly. As as developer (well although I contain the highest technical position in the current organization I am working on, I believe that still I am developer!), I do feel to take care about it, specially having some standards will help you to find and manage your documents quickly. Here is a basic sample that I maintain for my end (and encourages my team members to keep the same ;) )....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Developer Grades: Where Do You Fall-in?

I am leading a mid size development team of 15 members. Recently I had to put grades on them to facilitate future assignments on projects. Just thought I could share those grade points, so that you have a quick asses! Grades Level Comments A+ Outstanding Fully fitted for enterprise level leadership and architecture. A Excellent Can be a core contributor in architecture for enterprise level projects. B+ Very Good Excellent implementer of the architectures for enterprise level projects defined by others....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

The .NET Framework 3.5 At a Glance

All .NETTERS! Download the pdf poster here by which you can see .net 3.5 at a glance! Check Paul's blog for a quick note...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

2007: A Very Special Year!

This year 2007 was a very special day for me! Some of great events in my life happened in this year. The first day of this year, 1st January 2007 (Monday) was the Eid-ul-Azha. It was nice to have the Eid at the first day of year, as a Muslim. But much more exciting news was waiting for me at the end of day, when I got back to home. I was just checking my mail inbox and noticed that I got the Most Valuable Professional (MVP) award from Microsoft for this year! I couldn't believe for first few moments....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Few Enhancement Suggestions for GWB

GeeksWithBlogs is becoming on of the most popular provider in blog space. I really wish for the best for it. Recently I noticed some of the great enhancements is being implemented here, which will definitely increase it's popularity among bloggers and readers. Besides there, I have some other ideas which can be considered: 1. I wish to have the full source codes available in zip for some code related post. Definitely I would love this type of feature, to have a single place where i can share my source...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Started using Feedburner, Twitter and Good bye to Google Ad Sence

Just started using Feedburner for my site rss, along with the integration support from GWB. It works fine! From now my Feedburner RSS URL is: http://feeds.feedburner.com... Also GWB provided support for Twitter, which I have also started using. I think Twitter is going to another nice Web 2.0 feature. Nice stuff! Also, I said good bye to Google Ad Sense, as I have seen it's not providing enough profit (0.23 USD in 30 days!) for thousands of page loads. I wonder how Google do billion dollar...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using Windows Live Messenger in Your Blog

I was really missing one necessary feature for my blog (as well when I am reader of other blogs). That is to have a way to chat with the readers or the poster. As Windows Live Messenger in one of the most popular IM, having it's support to my own blog will enable lots of my readers to get connected with me. You can see below how easy it is to have a chat with me thru my blog! The same can be happened for your readers of your blog! Ha ha ha! You can do the same by creating necessary html, available...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Creating a Performance Benchmark Framework for Your .NET Codes

Performance is a one of the basic requirements in the most of the current trend of web applications. While designing software architecture, there are several technologies kept available for the designers. Among these available options, some of techniques may includes multiple solutions, combining of those can create a case, where the basic performance output can't be determined based on the common sense and/or in depth knowledge on the corresponding topics. In short, based upon different options...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Performing Long Running Operation with Asynchronous Page in ASP.NET 2.0

Technorati Tags: asp.net,async,web service,performance,database There are few cases in current web applications, where it involves long running operations. For instance, a system admin uploads 1 gig of data in the system, which will be processed by the system for 30-40 minutes to be splitted and putted properly in the database system, as well as notifying other system user regarding the availability if data. In the traditional approach of web application, the user has to wait for the whole time until...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Performance Benchmark on Database Column and Row Expansion

What performs better – Expanding DB column or expanding db row? My benchmark test shows expanding DB column performs better, on the following machine configuration: Processor: Intel® Pentium® 4; 2.66 GHz; Memory: 960 RAM. Operating System: Windows XP, Version 2002, Service Pack 2. Expanding Columns A table having 4 columns with nchar(10) data type with 20,112 rows, query executes: SQL Server Execution Times: CPU time = 47 ms, elapsed time = 125 ms. Scan count 1, logical reads 232, physical reads...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Efficient Batch Operation From ASP.NET 2.0 Using SQL Server 2005 XML Data Type

One of the good practice while developing high performance web application is to reduce the database roundtrip as much as possible. In the current trend of web applications, its a very common to enable users to delete multiple items in a list user interface at a time. To perform this type of batch delete operation, one common mistake that happens by beginner developers are to calling the data access method repetitively for each item with in a loop as below: For Each row As GridViewRow In gvEmployees.Rows...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

We have reached 100: ASP.NET Developers, Bangladesh

We have reached 100 members recently in our user group ASP.NET Developers, Bangladesh. Its a good news really. Having our own user group help us to move forward with respect to the current technology trend in faster and professional manner. Hope we will grow faster. Cheers to all group members...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

A Quick View to the Capabilities Which Can Make You a Great Developer

Regarding my previous experience in software development team, as developer and project manager, I’ve found some capabilities that are required to be a good developer to put a valuable effort in the development team. As mainly I have worked with web based database driven applications, these capabilities are closely or loosely relevant to that context. Of course you can consider some other capabilities regarding the software development context in broader sense, but here I consider the very basic...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

5 Things About Me

Thanks to Ferdous, as he has tagged me! Here are 5 things about me. 1. Although I am writing computer programs now by profession, once upon a time, I wrote literature and news in local newspapers. My parent really didn't like it, as being a "Bengali writer" will not give me a bright future. Well, I got admitted to computer science under-grad course, where I first leaned how to use computers, by the year 2000! Primarily it was a bit confusing area for me, but very soon programming became a great choice...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Few Words From A Fresh MVP

One of the famous quotes of Socrates that drives me all the time is: "Know Thyself". Around the world there are lots of things which might be in your interest on not. Knowing yourself doesn't only mean to find your choices, it also includes the facts, which don't belong to your choice as well as! Knowing what I don't know Well, so I need to know myself. As a technical guy, how do I know where I can be the best fit or where I can be comfortable to explore my ideas to create new but necessary things?...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Object Oriented Tagging : Adding Power to Web 2.0 Tags!

One of the basic consideration in web 2.0 concept is 'tagging' where any contents in the web can be associated with one or more tags, which can be shared among social community network. It lets others to find any content according to their chosen tag. Tag is nothing, but a way to categorize any web content. In real world, any visitor can quickly reach to a content thru it's associated tags, can thus get a basic idea about whether s/he will consider it to read/download etc. "Search" is older concept...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

ASP.NET 2.0 Deployment: Some Common Considerations

Regarding the previous ages of VS.NET 2005, web project deployment was pretty simple, but with limited options. For different types of projects, you may have different types of deployment requirements. For example, you may wish only to update the dll or contents for each component of the project separately, specially if the project is too big to take much time to upload the components each time. For smaller projects, it would be great if we can upload only one file to reflect the new changes of a...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Some Basic Differences Between ASP.NET 2.0 ObjectDataSource and SqlDataSource

* Type NameFor ObjectDataSource, the property TypeName includes the class name, that will responsible to manage data, this may NOT be the data object collection. The select, insert etc methods will use the mentioned methods to access or retrieve data. For SqlDataSource, a built-in data collection is used, which can be bound to data data controls. * Connection StringFor ObjectDataSource, there is NO connection string needed, as it is used middle tier. For SqlDataSource, connection string is needed....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

My 50th Post! Cheers!!

This is my 50th post here! Definitely it is good experience for me to achieve this number, as I tried to put quality and thoughtful best to reach to the readers, with useful info. Any way, it doesn't mean that ALL of the posts have to be very 'Crazy Serious' all the time! Sometimes, funny/light post can make a ' geek blogger' to the rest world as a simple person like others! Lolz! Among all all the posts here, I found the post Common Sharable Content: A Missing Feature of Web 2.0 most popular! It...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

40000+ Touches with My Community Friends

It's a great wonder for me my article titled Common UI Practices in ASP.NET Applications at codeproject has reached 30,418 hits so far! This article was published in March 2006, and was honored to be a recommended article by the official web site of ASP.NET. In this article, I discussed few tips and guidelines regarding the UI issues while developing an ASP.NET based web application, along with some useful resource links. It's great pleasure for me, around 30k+ developers read my article to find...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I'm Feeling Lucky!

I find my GWB blog at the first link of Google for the key word with my name "Mohammad Ashraful Alam". There might be several thousands "Mohammad Ashraful Alam" in this world, but Google knows me at first. Not only in the web search, Google picks two of my pictures in the Google image search as well as, for the same key word. The same thing for web search happens in Yahoo! and MSN search as well as. What I am guessing is, search engines are putting higher priority for the bloggers. Hah! So finding...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Attached with 'Culminis'

Culminis is an international organization devoted to the development and growth of the IT community. After getting the membership from INETA, our group ASP.NET Developer, Bangladesh, got the membership of this organization. As the group leader, today I have accessed the resource site of this community and surprised with the resources and organization of it. We really feel ourselves to find better and better ways to explore our experience with other professionals and communities, as well as have greater...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Being Placed in INETA Newsletter October 2006!

"INETA (International .NET Association) is the next evolution in user group communities" as it is told in the web site of this organization, I really found it true when I was first interested about INETA. This fast growing .NET based developer association expanding it's activities with a real driving force. The fact which made me more surprised that, it has been successful to put .NET developers the whole world in an umbrella, according with very useful resources, pure dedication of expert group...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Me, My Groups and INETA

Rather being involved on core coding, this month I was pretty busy on project management, user requirements analysis and of course in developer community activities. For last few days I tried to get the membership of my own developer group, where me and my other mates shares their ideas and thoughts. As the group leader, finally I was able to get the recognition from INETA (International .NET Association). For verification purpose I was called from Microsoft, Bangladesh office, which was a good surprise...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Common Sharable Content: A Missing Feature of Web 2.0

Lets consider the situation: I have 6 categories of resumes and portfolios which are used for different purposes (i.e. for professional job, contract, personal, marriage, research proposal, university admission purposes etc). I have to provide those with recent information when needed. Also I am a developer, who has blogs, profiles among several online community, forum, sites, for instance in 20 sites. Among those, of course there are some information which are being changed very frequently (i.e....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using Live Writer

Yesterday in a blog posting of GWB, I have first heard about Live Writer, by which blog can be posted by a FAT client. I downloaded and it worked fine for my Live.com space. Although found in the mentioned blog posting, using Live Writer, GWB blogs can also be posted, but didn't got any way to post blog in GWB. Today I found Jeff Julian has provided a very nice tutorial about how to use Live Writer to post in GWB. Well I have gone thru all the steps yesterday, that Jeff provided, but got stacked...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

nDepend: A Good Code Analyzer

nDepend (http://www.ndepend.com/) is a cool tool, that will help you to better understand your .NET code
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Take Care with VS.NET 2005 Web Site Name That Has Asynchronous Web Service Call

I was playing with the sample tutorials provided in “Atlas” quickstart. The first work through sample was “Creating a Basic ASP.NET 'Atlas' Web Application”, which made an asynchronous call to a web service located into the same application. It worked fine. Well I found to have problem on the application when I renamed the VS.NET 2005 web site (in VS.NET 2005 this is web site, not web application :D) as “Creating a Basic ASP.NET 'Atlas' Web Application”, although...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Can't access asp.net application from intranet ?

Yesterday my team has fallen into a strange problem. On a Windows XP SP 2 machine, my assistant Ehsna wanted host an asp.net application so that other developers in our LAN can have a beta test on it. Well he can access the application from his pc, but others couldnot! "The page cannot be displayed" page was displayed! Strange, as the same application has been hosted and tested previously in LAN, so whats the problem now? Ehsan, spent few hours digging on this issue in internet but didn’t found...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Looking to Atlas

As web 2.0 gets a major consideration among the web development technology, AJAX has taken the place here by providing rich user experience. All though it has not been possible to provide FULL strength of operating system UI, but AJAX gets popular due to it's new approach. Although AJAX is providing a new, rich experience to the users, but the technology, based on which it is being utilized is not new at all. AJAX is basically the acronym of Asynchronous JavaScript and XML, as the elaboration says,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

.NET 3.0 — A Sea In Paradise !!!

Microsoft is changing it’s development technology very frequently. By the early of this year I started to learn .net 2.0 and VS.NET 2005 seriously, and with in few months I was just able to capture few new features of this, although I was also engaged with project management, UML, Ajax and other software engineering issues, as I need to be on the track with other development tracks. Well, not only Microsoft, but also other technologies, relevant to software development is changing very frequently....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

“Hello .NET 3.0 Installation!”

When a new development technology comes, the first thing that makes the developers busy, crazy and tensed is “how I can see the first ‘Hello World?’” Well of course you need to successfully install the corresponding software into your pc, then can write a new or open an provided sample, generally which is as simple as showing the “Hello World” message. After then the developer goes through the more complex samples, finds good tutorials and start discuss about it...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

LINQ – We can use intellisense on queries !!!

As a developer always we want to have the opportunity to write the codes properly, along with programming language specific words and keyword to be highlighted in to different colors. Also VS.NET developers enjoys an IDE features named “Intellisense”, where while wring codes, a list of probable class or object name appears in a list and can be inserted to the code segment, just by selecting the appropriate item from the list. This becomes EXTREMELY useful, when we have to use long class...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

No Comments??

I have started blogging on http://www.geekswithblogs.net/ around a week ago. Previously I blogged in msn space regularly about my current development experiences at http://spaces.msn.com/joycs... Well from the user statistics list everyday I found that only 4/5 readers are coming to my blog space and they are coming from search engines(mostly from Google). I was a bit upset to find this and tried to find a good space where I can put my technical blogs, Unfortunately in internet I could not found...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Online File Share Best Sites

I need a online file share site, which will provide the following features 1. Free 2. Files can be shared with public 3. Files can be shared only with specific people 4. Files can’t be shared, all the files should be private 5. Should be able to track the list about all the files that I have been uploaded. http://www.filewire.com/ File share (public) No registration required, 250 mb file limit, all file formats accepted. Upload up to 20 files at a time. If you register, you have complete file...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

“Instance Saver” Custom Entity Model- Basic Architecture

Business Entity: For each custom business entity, there is a collection class. However, if our tech platform is .net 2.0, we can use the generic list class for collections. Business Layer: 1. Contains a “Save” instance method in business layer for insert and update operations.2. For delete and get operations, it uses static methods in the business layer. Data Access Layer: Data access layer contains all CRUD operations in one class...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Design Consideration for Joined Query while Developing Custom Business Entity

Multi-layer architecture generally involves presentation layer, business logic layer, data access layer etc. which are spitted according to specific responsibility, target as well as boundary. A well designed multi-layered application simplifies the modification, update of code. One primary design consideration while developing software is the “Business Entity” which is the data container and is passed among the layers with data. .NET framework has a rich functional built-in data container,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

VS 2005 Project Deployment Issues

Deploying an ASP.NET 2.0 is a bit tricky than before. Specially if you are habituated to work in ASP.NET 1.x application for previous few years you will be really confused to see how you should deploy your ASP.NET 2.0 application that you just built. Well unlike previous cases, VS.NET 2005 doesn’t generate any assembly by default in the web application “bin” folder for each built. When you build an application, it shows the output on the fly. However when you finish your coding...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Building a Starter Kit Quickly

I was really glad when I first found the “Starter Kits” support in the VS.NET 2005 IDE. With few clicks I can just make a basic pre-defined .NET application, specially with commonly used custom codes. Well the second wonder was waiting for me, when I have seen how easy to built my own starter kits. Here is the very quick steps that is needed to be followed to built a starter kit. 1. Create your application with VS.NET (which might be a windows application or web site or any other type...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using Data Access Application Block for .NET 2.0

DAAB definitely saves the lines of codes to be written for data access. The sample provided below doesn’t include DAAB, but some general codes in .net 2.0 for data access: string connectionString = (string)ConfigurationSettin... SqlConnection connection = new SqlConnection(connectionStr... SqlCommand command = new SqlCommand("INSERT_PERSON", connection); command.CommandType = CommandType.StoredProcedure; command.Parameters.Add(new SqlParameter("@Name", SqlDbType.NVarChar,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

SQL Express Connection String

To let ASP.NET to search the database location, use the following connection strings in the web.config in specific cases -> in the default data folder connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilen... -> in an absolute path connectionString="Provider=... Source=C:\NewMembershipProv... Security Info=False"...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

VS.NET 2005 Patch for Update Projects from VS.NET 2003

The VS.NET 2005 has a built in utility to convert an exiting VS.NET 2003 solution/project to VS.NET 2005 project. When you try to open a VS.NET 2003 project or solution file using VS.NET 2005, a wizard appears which follows the conversion ways. But the problem is there are some bugs or lackings in the first release of VS.NET 2005 regarding the conversion process. An update patch is become available later to optimize this process.http://www.microsof...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

My Articles on ASP.NET

Definitely it was a great experience for me when i have first seen my name on the official site of ASP.NET. http://www.asp.net has mentioned my articles in the "Latest Articles" section by 22nd March 2006, titled 'Common UI Practices in ASP.NET Applications' which was originally published in http://www.codeproject.com. Later for just after 5 days, by 27th March 2006, asp.net published my another article 'A Simple HTML Builder Utility Class' which was also orginally published by codeproject . However,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Starting Work With Visual Studio 2005

I have started studying and working with VS.NET 2005 & .NET Framework 2.0 from February 2006. The guys who had worked for .NET in previous few year can start VS.NET 2005 very quickly by 'Starter Kits', which contain templated samples, and some of them are intgrated with VS.NET 2005 directly. Thru that you will able just to start and learn a new project by few clicks with in few seconds.VS.NET 2005 IDE has the built in starter kit 'Personal Web Site Starter Kit' which is very simple to learn....
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Common UI Practices in ASP.NET Applications

Introduction When we start a new project, there are some common practices that should be followed on the following project. Regarding my development experience on previous 12 ASP.NET projects, I have listed some few practices which can be followed by a developer while developing an ASP.NET application. The Practices Login page: 1. Include cookie based “Remember me” check box. 2. Include a “Forgot password” link, the user can request for password. 3. There will be a test log-in...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Easy Naming Practices for .NET Coding

Introduction While writing codes for .NET applications, if you and your team members contain some common naming practices, it becomes very useful, especially when you're reading your existing codes and modify your codes in VS.NET IDE. For naming conventions, I went to MSDN site, but got so much links, which made to a bit frustrated to read all the stuffs by spending couple of hours. However I have used my MS Word application and very quickly wrote some naming conventions, which can be read and can...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Enterprise Application Solution: A Component Based Approach

1. INTRODUCTION The trend of Information Technology has taken a big aspect over the whole world. It has got the trust of various types of users, especially of business organizations by offering the way to optimize the business processes.To achieve high performance with respect to information technology, it’s obvious that a company should contain a well organized computer based information system, containing an application solution that reflects the business strategies, business processes, business...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati