Blog Archives

Introduction to Nuget Package

It was not a long time when I moved to Visual Studio 2010 for a project and first time listen for Nuget packages and after that day by day these nuget packages became and important part of my development environment. With almost 20k unique packages from the initial release in 2010 the community expanding exponentially and now this plugin became for .net in the same way ‘RubyGems’ stays to ruby by providing a centralized repository for thousands of packages.

Nuget is a free and open source package manager for dot net framework.NuGet is distributed as  a visual studio extension, integrated with sharp developer , and included in the C# code snippet tool LINQPad. NuGet can be used from the command line and automated via scripts.

Read the rest of this entry

Advertisements

Microsoft ASP.Net Web Application vs Website

Introduction:
A Web application is an application that can be hosted on a web server and can be accessed from any machine that lies in the intranet or internet which has the web browser to render and display the web pages in that application.

With the help of Visual studio 2012, the web application can be created by using two different templates provided. One is by using “New Website” template and another is by using “New Web Application” template. This document is basically to compare and contrast the features of using these templates.

How to Create a New Web Application Project:

  • In Visual Studio, Select new “project “option from file menu as shown below:

Read the rest of this entry

Simple API Integration in C# to Get IP Address

What is API:Application Programing Interface provides a medium of interaction between software components. Now-a-days API programing is one of the most important components of software development. Know more about API

API is something like URL that provides some intended data to the user. Let me explain it with some real world example.

Consider you have an account in Facebook and you want to access your friend list, status, photos through codding. Here Facebook is a total different entity which has no relation with your code (application), neither you can access Facebook’s code nor its database. So how can you access those data in your FB account via your application?

Here comes the role of API, Facebook provides an interface (URL/Graph API) that gives you all the intended details of your account, those can be used in any application. So your work is just to call the API provides by the client (here Facebook) and to use the response in your application. That’s it.

Read the rest of this entry

%d bloggers like this: