Translate to your language...

19 September 2011

Layer Over LINQ

Hai Friends,

This post contains the details about a new data-access component on top of entity framework. So due to this reason, it can improve the performance of the application as well as the productivity of the developer to develop the application.

It has mainly 5 features:
  • Eliminate Linq to Entity Limitations
  • Powerful dynamics query operators.
  • Decouple from the data.
  • Reusable query fragments.
  • Automatic Linq query compilation.
These are the good features it has.

For the more details, you can visit the below link:
https://www.layeroverlinq.com/

15 September 2011

3-Tier Architecture

Hai Friends,

This is the post which will define the small demo regarding the 3-tier architecture where i have explained all the layers- Application layer, Business Logic Layer and Data Access Layer and their interaction to perform the architecture of tried.

See the below link:
http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=295547&

14 September 2011

Time in Dropdown list

Hai Friends,

As we know in ASP.Net, that there is no Built in control in which can display only the time (We have datetime picker in windows application where we can choose the enum value as time only to show the time).
So in this article we will take help of ASP.Net Dropdown list to show the time only to fulfill our requirements.
See the below link:

Date-Time functions

Hai Friends,

This article will describe all the date time functions which are introduced in the latest version of SQL Server (SQL Server 2008R2) including all the previous functions.
This post is useful to all those who work in Sql server database domain.

See the link below:
http://www.dotnetspider.com/resources/43248-Date-Time-Functions-SQL-Server-R.aspx
 


9 September 2011

N-Tier Architecture

Hai Friends,


This is the post which is showing the n-tier architecture using the GridView implementation.


Here i am showing mainly 4 layers -

1. Application layer/UI layer
2. Business Object layer
3. Business Logic Layer
4. Data Access layer


Here in this article I am showing how these layers interact with each other through code implementation.
It will be useful for all those who are new learner of the architectures.


See the link below:

http://www.dotnetspider.com/forum/294982-Hoe-write-gridview-control-using-thre-tier.aspx



31 August 2011

Shortcuts in .Net 2010

Hai Friends,

This is article which is very useful in day-to-day coding implementation for those who are in Microsoft .Net technology and using Visual studio for their development.
This article contains all the shortcuts which can be used while writing the code in .Net. It includes all the shortcuts which can really increase the utilization of the resource and can improve the performance.
Now you don’t need to remember all the syntax which is required to write the loops, properties, events, delegates, dependency properties etc.
So use this resource and improve the productivity.


See the link:
http://www.dotnetspider.com/resources/43223-Code-Shortcuts-Visual-Studio.aspx


26 March 2011

3 small things in C# code

1. Null Coalescing Operator (??)

A new operator can be used which can be shortcut of ternary operator to check the null value:

Ternary operator (?:):

string empName = (value != null) ? value : string.Empty;
we can write it using null-coalescing operator (??):
string empName = value ?? string.Empty;

2. The As Cast
we might have seen the code something like:
if (customer is DeluxCustomer)
{
var dCust = (DeluxCustomer)customer
// ...
}
This is redundant because we are checking the type twice. Once in the is check and once in the cast.
We can use as operator in place. This will cast the type if the types are compatible, or return null if not:
var dCust = customer as DeluxCustomer;
// ... we can write if condition to check for null
}
we can avoid double-checking the type.
3. Auto-Properties
This is the new concept to define the properties in C#: we can define the auto-property without much code:
public class Employee
{
public int ID { get; set; }
public string name { get; set; }
}

Sr .Net Consultant | MCP Certified | Microsoft Technologies(.Net with Sql Server, MVC, AngularJS

My photo
Kuala Lumpur, Kuala Lumpur, Malaysia
Overall 17.0+ years of experience in software industry as a Programmer/Developer/Architect with Web & Windows application development and Maintenance, including analysis, design, coding, testing and documentation. • Proficient in Microsoft Technologies i.e. Visual Studio with .Net Framework. • Excellent analytical, problem solving, communication, interpersonal skills with the ability to handle multiple tasks or projects working independently or in a team. • Consistent attention to detail with an ability to analyze and interpret the implication of decisions to minimize bugs and create user-friendly applications. • Experience of Collaborating with Clients and Team Members. Ability to convey Technical Information at all levels. • Ability to work with team/management to ensure successful execution of project management tasks including scheduling, scope management, outside dependency coordination and priorities resolution. • Experience in working with global clients like UK, USA, Europe, Australia etc. and teams located remotely (e.g. Sydney, Australia, USA, and Sweden). • Worked with the Swedish client ManpowerGroup at onsite client location Stockholm, Sweden.