Thursday, December 22, 2011

Access Modifiers in C#

Access modifiers specifies access level for a type or type member. C# has 4 access modifiers, public protected internal private   Access modifiers are not allowed on namespaces.  Top level types which are not nested in other types can only have internal or public accessibility. The default is internal public access modifier...

Sunday, December 18, 2011

Security in ASP.NET MVC

Security is a major concern when developing web applications.  Here we'll talk about security in ASP.NET MVC Some of the main concepts to understand when dealing with security are, Authentication Authorization XSS CSRF (Cross site request forgery) Authentication In ASP.NET there are two main authentication mechanisms.  Windows Authentication Provider Forms Authentication Provider Resources  Authorization  Basically...

Wednesday, December 14, 2011

Memory Basics : Stack and Heap

Stack and heap are closely related with memory. Actually both are stored in computers RAM. Let's firstly look at what they are. The Stack Is a special region of the computer memory which holds temporary variables created by each function. This is managed and optimized by the CPU itself therefore you don't have to worry about allocating memory or anything as such.  When you enter...

Wednesday, December 7, 2011

Interesting Findings - JavaScript

Design Design considerations for JavaScript API (Smashing Magazine) Fluent interfaces Referred to as method chaining Treating undefined as an expected value Named arguments (Python has this but currently not possible in JavaScript) Argument maps. visual representation of the structure of an argument Module Pattern Explained link1 (SO),  Application Architecture - addyosmani ...

Monday, November 28, 2011

Events in JavaScript

Events are the core of JavaScript. You use events to make the interaction between the DOM and the JavaScript.  Event capturing and Event bubbling Following diagram extracted from guistuff shows what is event capturing and bubbling are. Example1 - Using pure JavaScript - return false and event.stopPropogation        ...

Saturday, August 27, 2011

Transactions in Databases

Transaction is databases is executing set of database instructions in a sequence which should be accomplished together. Transactions have following properties which are known as ACID (wiki). Atomicity : Ensure all operations are completed successfully or in a failure, all operations are rolled back to its previous state Consistency : Ensure database properly changes state upon a successful transaction...

Saturday, August 20, 2011

Threading in .NET

Thread Task Task can be created using task factory as well. (See SO - Task.Factory.StartNew vs new Task) Difference between Task and Thread http://stackoverflow.com/questions/4130194/what-is-the-difference-between-task-and-thread http://stackoverflow.com/questions/13429129/task-vs-thread-differences Resources http://www.codeproject.com/Articles/26148/Beginners-Guide-to-Threading-in-NET-Part...

Friday, August 19, 2011

The most seamless tool set to develop applications

Are you looking for the seamless set of tools to develop your applications? You have great languages like Java, C#. But what is the best tool set? Well, when it comes to that the obvious choice of yours would be Microsoft products. These MS products have such a nice compatibility with each other. Expression Blend, Visual Studio, Silverlight and .NET...

Wednesday, August 10, 2011

Introduction to Cloud Computing

What is cloud computing? Large group of remote servers networked to allow centralize data storage and online access to computer services or resources. (Wikipedia). Cloud computing can be classified as private, public and hybrid. Fundamental models  Infrastructure as a service (IaaS) Provides Virtual Machines, Servers, Storage, Load...

Wednesday, July 20, 2011

Serialization in C#

Serialization is used to convert an object into a byte stream. This is usually done to store the object in the memory, database or a file and retrieve the state of the object later. This reverse process is called de-serialization. To make a type serialize, you need to apply SerializeAttribute to it. If you haven't specify the attribute and when...

Wednesday, February 16, 2011

Windows Communication Foundation

WCF is a runtime and set of APIs in .NET framework for building connected, service-oriented applicatons. Difference with Web Services Some of  the differences between WCF and Web service is that Web service only supports HTTP protocol. But WCF supports other protocols like TCP, HTTP, HTTPS, Named Pipes and MSMQ. Another major difference...

Monday, February 7, 2011

What you need to know about JavaScript functions

As in any other language, functions are one of the building blocks of JavaScript. You can define functions and call them in different ways. In this article we'll see some basic but important things you need to know about JavaScript functions.  Function declaration The basic syntax for creating function declaration is like this. declarations loads to execution context before any code is...

Tuesday, January 25, 2011

Data types in JavaScript

As in any other programming language, JavaScript also has Primitive data types and non-primitive data types. In case you didn't know primitive data types are predefined data types which comes with the language. Non-primitive are data types which are defined by the programmer. Data types in JavaScript Primary data types Number String Boolean Composite...
Powered by Blogger.


Software Architect at Surge Global/ Certified Scrum Master

Experienced in Product Design, Software Engineering, Team management and Practicing Agile methodologies.

Search This Blog

Facebook