Sunday, March 20, 2011

Programming Entity Framework - Julia Lerman

We have been using Entity framework on all new projects.
I have been in the camp if_you_are_building_enterprise_applications_you
_don't_use_ORM.
I think that Entity Framework has changed.
With Entity framework , I believe that you can build both Industrial and Non-Industrial strength Software Intensive Systems.

Don Box "If you are .NET developer Entity Framework is where we'are going. We're there . Get on board, it's time."

The Entity Framework is another enhancement to ADO.NET , giving the developers an added mechanism for accessing data and working with results in addition to DataReaders and DataSets.

Saturday, March 12, 2011

Beautiful Architecture -1 Conceptual Integrity

Beautiful Architecture
Architecture should have conceptual Integrity. Developer working on one component should be able to work on any other component of the system with ease. Conceptual Integrity comes from consistency in things such as decomposition criteria, application of design patterns and data formats. As we move from system to “system-of-systems.” The conceptual integrity must also be maintained in the architecture that integrates the systems.

Reference:
Beautiful Architecture

IIS 7.0 Architecture

IIS 7.0 ArchitectureInclude the following components
1. HTTP.Sys
2. World Wide Web Publishing Service
3. Windows Process Activation Services(WAS)

HTTP.SysIs part of networking subsystem of Windows operating systems, and is implemented as a kernel mode device driver called the HTTP protocol stack(HTTP.sys). HTTP.sys listens for HTTP requests from the network, passes the requests onto IIS for processing, and then returns processed responses to client browsers.

WWS :No longer manages worker process. Instead WWS is listener adapter for HTTP.sys.
Is primarily responsible for configuring HTTP.sys,updating HTTP.sys when configuration changes, and notifying WAS when a request enters the request queue.

WAS:
Manages application pool configuration and worker processed instead of WWS

Reference:

http://learn.iis.net/page.aspx/101/introduction-to-iis-7-architecture/

Tuesday, January 25, 2011

.NET 4.0 (Code Contracts) - 1

Code Contracts

Code Contracts provide a way to specify preconditions, postconditions and object invariants.

Benefits
Improved Testing
Automatic Testing Tools
Static Verification
Reference Documentation



Preconditions


Click the Project Properties Context Menu



If you don't see Code Contracts, download and install code contracts from the following link
http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx

Run the solution




PostCondition Code Contract


Object Invariant

Saturday, November 13, 2010

Adding Additional Blogs to My Blog Portfolios

I am adding the following blogs to my blog portfolios

1. HealthCare Domain
2. Business Intelligence /Statistics

Monday, June 14, 2010

The 7 habits of Highly Effective People ( 5 out of 5)

7 habits of Highly Effective People is an excellent book.

For technical problems , there are design patterns books to help you to solve problem in certain context.
Did you wish that you had such book to deal with Managment and Leadership issue?

This book fits the bill.

The 7 Habits of Highly Effective Developers

Found through google.
Hilarious but true

http://www.scribd.com/doc/2919209/Seven-Habits-of-Highly-Effective-Developers

Sunday, June 06, 2010

Why should one upgrade to .Net 4.0 ?

Why should one upgrade to .Net 4.0

1. Named Arguments and Optional Parameter in C# 4.0
I have used this feature in old VB versions and loved it. I really missed it in C#.
Should make code more readable
2. URL Routing with ASP.Net 4 Web Forms.
3. Built in Chart Controls (though I love ChartFx controls)
4. Great Intellisense help for Javascript(I will stick with Rubmine)
5. Pinned DataTips
6. VS2010 Debugger Improvements (Breakpoints Labeling, Data Tips and Import/Export)
Data Tip looks like a very cool feature . It should make debugging more easy.
You can add the notes. I liked the noted added by Scott to demonstrate the capabilities.
7. Clean Web.Config
Do you hate your Web.Config? I hate mine.
Important Note: .Net 4.0 includes a new version of the CLR and a new .NET 4 specific machine.config(which is installed side-by-side with the one user by .NET 2, .NET 3.0 and .NET 3.5)
8. Cleaner HTML Markup with ASP.Net 4.0 Web Forms – Client IDs

Good bye to ctl00_ContentPlaceholder1_ListView1_ctrl0_Label1 ids



http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx

Sunday, April 18, 2010

IIS 6 Web Site/App pool (Memory Related Issues)

What is the maximum memory that IIS6 Web Site/App Pool can Use



http://serverfault.com/questions/4720/what-is-the-maximum-memory-that-an-iis6-web-site-app-pool-can-use


To summarize, set the memory limit to the smaller of 60% of physical RAM or 800 MB.

http://msdn.microsoft.com/en-us/library/ms972959.aspx

Saturday, April 17, 2010

Managers vs. Programmers

Managers vs. Programmers

Do Managers work? Do programmers document?


1. Don’t step on someone’s shoes.
2. Prioritize the work

Golden’s Rule
1. Start developing people
2. Delegate. Believe the people
3. Document
4. Hire best, fire worst
5. “Give a man a fish and he’ll eat for a day. Teach a man how to fish and he’ll eat for a lifetime.”
6. Share the vision
7. Be careful about your role. As a manager, it is your duty to optimize available resources, meaning that if you’re the best programmer on the team, you management rolw will require you to take on the programmer role, leaving no room for managing… instead, as a manager, user your programming skills to seek out programmers that are better than you and put your trust in your own judgment of their skills.
http://www.seoforclients.com/hr/manager-vs-programmer/



• Leadership means to focus the actions of your team on a defined goal
• You define the goals but should let your team members as much freedom of action as possible and only limit where its necessary because of the integrity and coherence of the project and your set goals.
• Leadership requires to have respect for your team member, trusting them in their decisions
• In order to reach your goals, team members need to understand your intentions. Communcate the reasons for your decisions. Be honest about it.
http://stackoverflow.com/questions/249544/programmer-to-manager



Management also demands much more developed time management and communication skills, so brush up on your ability to truly listen to your employees and co-workers. A good leader must take into consideration the need of his or her followers in order to be successful. When a manager listens to his or her employees, he will garner respect from them and possible increase his or her understanding os his colleagues.
http://www.helium.com/items/278851-from-programmer-to-it-manager-making-the-transition

Saturday, September 26, 2009

Duct Tape Programmer

Nice thoughts from Programmer

http://www.joelonsoftware.com/items/2009/09/23.html


Reminds me a nice incident narrated to me by my civil engineer friend.

My Friend has to deign a curve. He used all his techniques to come up with the angle
but could not come up calculation.

Then a labour came forward to help him. With his rudimentary tool, he just drew the curve and finished the job.

Friday, September 04, 2009

Nice quote

Put two economists in a room and you will get three opinions.

Put two software professionals in a room and you will get a
1. 10 opinions
2. Ego clash
3. One dead body
4. Nothing or all of above

Sunday, April 12, 2009

ASP.NET MVC Links

13 ASP.NET MVC Extensibility Points you have to know

http://codeclimber.net.nz/archive/2009/04/08/13-asp.net-mvc-extensibility-points-you-have-to-know.aspx

Setting up a minimal ASP.NET MVC Project in Visual Studio
http://michielvoo.net/blog/setting-up-a-minimal-asp-net-mvc-project-in-visual-studio/


Best MVC Practices
http://weblogs.asp.net/rashid/archive/2009/04/03/asp-net-mvc-best-practices-part-2.aspx


MVC Future
http://blog.maartenballiauw.be/post/2009/04/02/Back-to-the-future!-Exploring-ASPNET-MVC-Futures.aspx

MVC
http://weblogs.asp.net/rashid/archive/2009/04/01/asp-net-mvc-best-practices-part-1.aspx