Banner Ad

Tuesday, August 13, 2013

Learn By Experience: Be Aware: Static (C#)/Shared (VB) Variables

By Francis   Posted at   12:02 PM   Static Variable No comments
                              It’s a common programming mistake all the programmers use the static/shared variables in a class. The programmer cannot identify the problem when it was used in a single user desktop application. But when you come to the web, which is a multi-user environment you will strangely come across problems. For example, one user’s data may be viewed or data may be colloid with other user’s data. 
                       Few months ago, I also encountered the same problem in a project. The main problem is that static/shared variables has been used in that particular code behind file.  So what happened is, if more than one logged in user view and edit data on that page on the same time data has been interchanged or overlapped with other user data.
                        It doesn’t mean that shared/static variables are not to be use. But using inside a class, is need more attention. The above problems are perfect live examples. 
                        We can use the Shared/Static variables in that case we need to track the number of page visits or need to be access across the classes. But be aware such kind of situations.

I hope this post help a little to refine your coding!!


Happy Coding!!

Wednesday, July 31, 2013

ASP.Net MVC - An Introduction

By Francis   Posted at   12:24 PM   MVC 3 comments
What is MVC?
             Several Months ago, I just started to learn new technologies in order to teach other thru a weekly technical session in my current company. So I decide to lean ASP.Net MVC. These points are from my learning.

So what is ASP.Net MVC?
             According to Microsoft, ASP.Net MVC is a new paradigm to design a website using Model, View and Contoller Pattern. The first 3 letters of Model, View and Controller forms the name MVC. However MVC newly introduced in ASP.Net but MVC is not a new framework it has been already used in Java and PHP etc.

Tuesday, July 16, 2013

IIS Tips & Tricks # 1: Enable IIS in Windows 7

By Francis   Posted at   11:53 AM   Install IIS No comments
              When I have worked on my Friend’s desktop, I just want to create a virtual directory. So that I just went to “Run” and type “inetmgr” press enter. Eventhough he had installed VS2010, but there is no activation of IIS in local machine. So here I’m going to explain the steps how to install IIS in Windows systems.

Thursday, July 4, 2013

Finally I Got IT!!

By Francis   Posted at   12:16 PM   No comments
               Today one of my wish come true. That is i got a place in ASP.Net websites Top movers. 
My First Step

I hope It's my first specific  move on Tech communities. I'm stepping towards my resolution. Hope i will achieve it soon!!!

Thanks for all of your supports!!!

Happy Programming!!

Tuesday, July 2, 2013

Favorite ASP.Net Books

By Francis   Posted at   12:22 PM   Important .Net Books No comments
In this post I have suggested some good books that I have read which was very much helpful to improve the knowledge on ASP.Net and other .Net technologies.
  1.     Wrox Professional ASP.Net 3.5 – By Bill Evjen, Scott Henselman, Devin Rader . 
  2.    Programming Microsoft ASP.NET 2.0 Core Reference (2006) – By Dino Espotio (Microsoft Press).
  3.    Wrox.Professional.ASP.NET.2.0.Server.Control.and.Component Development – By Shahram Khosravi.
Connect with Us