Wednesday, January 11, 2006
Microsoft announced a major win today in retails sector. Target Corporation, the national's second-largest discount general merchandise retailer, is headed to adopt Microsoft® .NET Framework based technologies within its 1,400 stores in 47 U.S. states. Target will migrate its systems within each store to the Microsoft .NET Framework 2.0, Windows Serveral 2003 and Microsoft SQL Server⢠2005, core technologies that deliver on the Microsoft Smarter Retailing strategy for connecting people, information, systems and devices.

According to Janet Schalk, chief information officer at Target Corporation, Microsoft technologies can help us drive down costs through a simplified architecture and easier-to-use development tools, These cost savings will enable us to invest in additional innovations that will enhance the store experience for our guests.

Microsoft provides technologies to Target in other key operational and customer-facing areas as well. This comes as a great example of Microsoft Smarter Retailing (http://www.microsoft.com/smartretail), an initiative designed to help retailers improve how they sell and operate. Read the full story here

posted on Wednesday, January 11, 2006 7:37:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback
 Monday, January 09, 2006

After un-installing SQL Server 2005 Beta version, I started facing issues with my SQL 2000 installation and it was shooting an strange error...

SQLDMO has not been registered, please re-run SQL Server setup and contact your system administrator”.

  After some analysis, i figured out that the issue was with SQLDMO.dll registration which went for a toss because of 2005 beta un-installation.  To fix the DMO try running this:

Regsvr32 [SQL folder Program Server]\80\Tools\Binn\SQLDMO.dll

This brakes the registration of SQL Server 2005 dll registration...so make sure you are doing this after un-installation of 2005 beta...

posted on Monday, January 09, 2006 6:03:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback
 Sunday, December 11, 2005

Today I ran into an issue with one of my DNN sites... I changed site settings and set the login page to one of the tabs which resulted in no access to login page for me and my users...I tried some of the solutions on the web but none of the earlier worked because I had removed friendly URLs host setting.

To get the access back try adding ctl=login to the end of a query string it forces a load of the login dialog eg http://www. mysite.com/default.aspx?ctl=login . If this doesn't work, try this to get around the problem http://www.mysite.com/Home/ tabid/<36>/ctl/Login/Default.aspx (change <36> with home tab id)

If this also doesn't work, John Mitchell has also posted a solution in his blog, where he has created an alternate login page that you can upload, you can view the details here:

http://blogs.snapsis.com/PermaLink,guid,05e0a045-4944-4f85-aa12-ac9cb774e2fb.aspx

Finally last one worked for me...Thanks John

Cheers

posted on Sunday, December 11, 2005 9:58:00 AM (Central Standard Time, UTC-06:00)  #    Comments [1] Trackback
 Thursday, August 25, 2005

Road2mba has written a nice and innovative XML based GMAT exam practice software ( GMATTER ) .

Gmatter is a software program to simulate real like test environment for GMAT Test while practicing. It uses easily created XMLs from text based materials which are utilized as inputs to the program. Gmatter has lots of good reporting features also, which enable you to analyze your strength and weakness areas in an efficient manner.

Try it here

Cheers!!

posted on Thursday, August 25, 2005 4:17:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback
 Tuesday, July 05, 2005

The string type represents a string of Unicode characters. string is an alias for System.String in the .NET Framework. C# defines a number of aliases for CLR types which can be used interchangably or even mixed together.

eg. string x = new System.String(' ', 5);

Although string is a reference type, the equality operators (== and !=) are defined to compare the values of string objects, not references. This makes testing for string equality more intuitive.

Some more defined C# aliases are:

string System.String
sbyte System.SByte
byte System.Byte
short System.Int16
ushort System.UInt16
int System.Int32
uint System.UInt32
long System.Int64
ulong System.UInt64
char System.Char
float System.Single
double System.Double
bool System.Boolean
decimal System.Decimal
posted on Tuesday, July 05, 2005 7:49:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback
 Tuesday, June 28, 2005

Found an interesting MSDN link having posters for high-level class diagrams of .NET framework library...

Check it out here...

Cheers!!

posted on Tuesday, June 28, 2005 10:30:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback

Microsoft is strengthening its partnership with Japanese universities to promote joint projects and exchange among researchers, the American software company said Tuesday...

An organization called the Microsoft Institute for Japanese Academic Research Collaboration is being set up July 1 to support exchanges between Microsoft's research unit and Japanese researchers to develop advanced technology for Japan and other global markets, it said in a statement.  more...

posted on Tuesday, June 28, 2005 9:07:00 PM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback
 Thursday, March 31, 2005

Scott Hanselman posted some of the .Net interview questions on his blog, dividing it into several segments. I tried to answer them in parts, in little elaborated way, by putting definitions with answers. You really can’t get away with Google to do it all. I took reference from some websites to elaborate the definition. Here goes part I of the series…

Everyone who writes code…

  • Describe the difference between a Thread and a Process?

Process:  A process is a single executable module (.Exe file) that runs concurrently with other executable modules. For example, an internet browser and a word processor can run simultaneously. Processes are separate executable, loadable modules (as opposed to threads). One process can’t affect other processes running in same multitasking environment.

Thread: Threads in contrary are the tasks that run concurrently with other tasks within a single executable file.  Within the same process, they can affect each other.  One process can contain any number of threads.

Example: From within a data base application, a user may start both a spell check and a sorting operation.  Contrast this with multiple .EXE files (processes) like a word processor, a data base, and internet browser, multi-tasking under OS/2 for example.

  • What is a Windows Service and how does its lifecycle differ from a "standard" EXE? 

Windows services are long running process (applications) that are ideal for use in server environments. These applications do not have user interface and they do not produce any visual output. Its lifecycle is managed by “Service Control Manager” which is responsible for starting and stopping the service. They do not require a logged in user in order to execute and can run under the context of any user including the system. On the other hand, a “Standard executable” doesn’t require Control Manager and is directly related to the visual output.


  • What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

Windows provides a page-based virtual memory management scheme that allows applications to realize a 32-bit linear address space for 4 gigabytes (GB) of memory. As a result, each application has its own private address space from which it can use the lower 2 GB—the system reserves the upper 2 GB of every process's address space for its own use.

 Figure: A process in Windows NT has a 4-GB linear address space, of which the lower 2 GB is available for applications to use.

As illustrated in Figure, each process can address up to 4 GB of memory using 32-bit linear addresses. The upper half of the address space is reserved for use by the system. Because the system is the same for each process, regardless of the subsystem it runs on, similar pages of system memory are typically mapped to each process in the same relative location for efficiency.


  • What is the difference between an EXE and a DLL?

DLL is An abbreviation for dynamic link library, a file containing a collection of Windows functions designed to perform a specific class of operations An EXE contains an entry point to start execution { main() in C/C++ and  Public Static Void Main() in .Net  } whereas functions within DLLs are called (invoked) by applications (EXEs) as necessary to perform the desired operation.

  • What is strong-typing versus weak-typing? Which is preferred? Why?

 Strict enforcement of type rules with no exceptions is strong-typing. In a strongly typed language, type usage can be detected at compile time rather then run-time. In these languages, conversion between types requires use of explicit conversion functions as opposed to implicit type coercion in weak-typed (batter called run-typed) languages.

As a common assumption, strong typing catches more errors at compile time than weak typing, resulting in fewer run-time exceptions (but still is a disputable point when it comes to "which one to use").

 

  • Corillian's product is a "Component Container." Name at least 3 component containers that ship now with the Windows Server Family.

Microsoft first announced C# and the .NET Framework in summer 2000, calling C# 'The first component-oriented language in the C/C++ family.'  The essence of component development is not to build what you can buy, on the basis that snapping together pre-tested parts is faster, cheaper and probably more reliable than coding everything for yourself.

As a definition, almost any class file is a component. Moreover, it can easily be compiled to a DLL, it benefits from .NET versioning, and it can be reused. The existence of components also implies the existence of containers, which again may be visual or non-visual. The container plays an important role in component management. In particular, all containers implement IDisposable, which means they have a Dispose method for releasing unmanaged resources such as window handles or open files. In their Dispose method, containers must also call Dispose on all the components they host. In the .NET Framework both ASP.NET Web Forms and rich client Windows Forms are visual component containers.  System.Web.UI.Page, System.Windows.Forms.Form and System.ComponentModel.Container are few other component containers which ship with Windows Server Family.

  • What is a PID? How is it useful when troubleshooting a system?

PID stands for Process Identifier, a uniquely assigned integer that identifies a process in the operating system. In any system, applications use PID to identify the process uniquely. Also, it is used in diagnosing the problems with the process in Multi-Tasking systems.

  • How many processes can listen on a single TCP/IP port?

Probably ONE, if you need to create another TCP/IP listener, you need to set-up a different port.

  • What is the GAC? What problem does it solve?

Each computer on which the common language runtime is installed has a machine-wide code cache called the global assembly cache (GAC). Assemblies deployed in the global assembly cache must have a strong name. A developer tool named "Global Assembly Cache tool" (Gacutil.exe), provided by the .NET Framework SDK can be used to deploy assemblies to GAC. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. It provides us the way to overcome “DLL Hell” problem also.

         Cheers..

posted on Thursday, March 31, 2005 8:08:00 PM (Central Standard Time, UTC-06:00)  #    Comments [3] Trackback
 Sunday, February 06, 2005

Today one of my colleague mailed me an article by Peter Varhol... It gives a very good  insight about our day to way work and team management.

Even though this article is targeted to developers, the basic principles remain the same for Techleads, Architects, etc i.e. for the ones who have technical expertise as their first perspective.

Find the article here

Enjoy!!

posted on Sunday, February 06, 2005 3:51:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0] Trackback