Skip to main content

Posts

Exam 70-486 : Developing ASP.NET MVC Web Applications

Those who are preparing for Exam 70-486.  Below links would be very helpful. 70-486 covers different areas unlike other exams which focus on specific language/technology.

Its not sufficient to learn only ASP.NET MVC to develop any web application as it will have many layers involved. Hence you need to learn some technology/concepts involved in frontend, backend( Webservices, data access layer), security and web hosting.

The following pages has links to cover the broad area and can give full sphere information.

http://geekswithblogs.net/WTFNext/archive/2013/05/29/exam-70-486-study-material-developing-asp.net-mvc-4-web-applications.aspx

http://www.bloggedbychris.com/2012/11/06/microsoft-exam-70-486-study-guide/

https://www.pluralsight.com/blog/software-development/asp-net-mvc-microsoft-exam-70-486

https://www.shanebart.com/microsoft-70-486-exam/


(Image credit : Shanebart.com)
Recent posts

Checking Overflow in C#

When you use value type in your application for arithmetic operations, you will need to check the boundaries of data types after the operation completes every time i.e., have to ensure the value of data type does not exceeds the MaxValue of the data type, Overflow does not occur.Else you will get overflow Exception at runtime.

Different languages treat this overflow in different Manner( C, C++ does not throw overflow exception rather wrap up the value, MS Visual Basic throws the Overflow Exception by default) Whereas.Net does not check for the overflow exception until we explicitly we tell the CLR to check for Overflow Exception. By Default Overflow check is set off . Let's see an Example : {
      short val = 32767;        val =(short)(val + 40000);  }

In above code, we try to add constant value to Val variable of short data type and error was expected when i ranthe application. But Surprise, it runs with no Exception But Why ?? Let's look depth how CLR encounter the Corresponding IL …

C# Data types

C# Primitive Data types :

Any data types directly supported by the compiler are called primitive types. Primitive types map directly to types that exist in the base class library.

These basic data types are used across programming language compilers regardless of managed code or unmanaged code, since it is essential to meet needs of storing the basic data(Numeric, character, Bool) in application development.

Let us see Primitive Data types of C# :























The CLR supports two different types
   Value Type   Reference Type  Value Type :

The variable representing the instance doesn’t contain a pointer to an instance; the variable contains the fields of the instance itself. Value type instances are usually allocated on a thread’s stack

Value types are derived from System.ValueType

1. Value types holds the value itself and values are allocated in stack.

2. Being represented in two forms (boxing & unboxing).

3. You can't create new value type which derives from any of the System.ValueTyp…

A zen Story

This is my first post in this blog, so i thought let me start with some good self motivational and inspiration zen stories before get into .net programming :-)

you would have read many stories, but the following are most inspired me.
Hope you also like it.

Time To Learn
=============

A young but earnest Zen student approached his teacher, and asked the Zen Master:
"If I work very hard and diligent how long will it take for me to find Zen."
The Master thought about this, then replied, "Ten years."
The student then said, "But what if I work very, very hard and really apply myself to learn fast -- How long then ?"
Replied the Master, "Well, twenty years."
"But, if I really, really work at it. How long then ?" asked the student.
"Thirty years," replied the Master.
"But, I do not understand," said the disappointed student. "At each time that I say I will work harder, you say it will take me longer. Why do you say that ?…