Getting Started With Xamarin Android

In this article, we will talk about how to create a simple hello world android app using Xamarin Android in Visual Studio 2015 using C#. So let`s get started.

Introduction:

In previous post, we talked about how to setup windows machine for Xamarin development. Now in this article, we will create our first hello world android app using Xamarin Android in Visual Studio 2015 using C#.

Read more

How To Set Up Windows Machine For Xamarin

In this article, we will talk about how to setup windows machine for Xamarin.

Introduction:

In previous article, we talked about how Xamarin can help us to build cross platform mobile applications using C#. Now in this article, we will setup our windows machine for Xamarin. Using Xamarin on windows machine, we can develop apps for Android and Windows Phone only. In this article, our main focus will be on getting Xamarin with Android SDK installed. So let`s get started.

Xamarin is included in every edition of Visual Studio including the Visual Studio Community Edition. If you don`t have Visual Studio 2015 already installed on your machine, then you can download the free Visual Studio Community Edition from Visual Studio Website.

Read more

What is Xamarin?

In this article, we will talk about what is Xamarin and how it can help us to develop cross platform mobile application with C# using Xamarin platform. So let`s get started.

Introduction:

In mobile world, there are three major platforms: Android, IOS and Windows. One approach to build a mobile app to support all three platforms is to create a separate app using Java for Android, Objective-C for IOS and C# for windows phone application. This approach is also called as Silo`d approach.

Read more

Simple Action Filter For Getting The Information Of Uploaded Files in ASP.NET MVC

In this article, we will talk about how to create a simple action filter for getting the information of uploaded files in ASP.NET MVC application. Let`s get started.

Introduction:

In most of the ASP.NET MVC applications, there is a need for uploading file/files on server. We save that file information in database or save the file on server in particular folder. If we need to provide the file upload functionality in only one place, then it`s easy. But if we need to provide this functionality in many places, then the code for getting the file/files information gets duplicated in many places in our application. To avoid the duplication of code and simplify the file/files upload procedure, let`s create a simple action filter.

Read more

Ref and Out Keywords in C#

In this article, we will talk about the ref and out keywords in C#.

Introduction:

Before talking about ref and out keyword let`s first talk about how parameters are passed to a method in C#. By default when we pass parameter to a method it is passed by value (copy of the data is passed to a method). But exactly what is copied depends on whether the type is value type or reference type. Int, char, double, decimal, enum etc are built in value types in C# and class, object, delegate, string etc are built in reference types in C#.

Read more

Access Modifiers in C#

In this article, we will talk about access modifiers in C#. Let`s get started.

Introduction:

Encapsulation is one of the pillars of object oriented programming. Encapsulation means ability to hide the unnecessary implementation details from object user. Encapsulation is implemented by using access modifier. Access modifier defines the visibility of type as well as members of type to other part of the application.

Read more