Dot Net Stuff

AngularJS - First Application Example

If you have read How to use Angularjs to develope your first Angularjs web Application. Article. Then you can easily understand this article. It is a suggestion to go through How to use Angularjs to develope your first Angularjs web Application Article to understand the basics of AngularJS setup. Here I am assuming that you had read that suggested article. So, let’s start creating our First AngularJS Application. Before, creating our sample AngularJS application, I think you should have the following concepts.

Continue Reading>>

How to use Angularjs to develop your first Angularjs web Application

Many developer who want to learn Angularjs application development have some confusion in their mind to set up Angularjs development environment, this article contains basics of starting with Angularjs. Here are the steps for creating your first Angularjs application including setup the development environment for Angularjs.

Download Angularjs Library:

To download Angularjs library you need to go at When you open the link, you will see there are two options to download AngularJS library −

  • View on GitHub − Click on this button to go to GitHub and get all of the latest scripts.
  • Download − Click on this button, a screen as below would be seen −

Continue Reading>>

ASP.NET MVC 4 Bundling and Minification - Performance Optimization

Bundling and minification of CSS and JavaScript is one of the most popluar and powerful feature of ASP.NET MVC. Bundling and minification reduces the number of HTTP Requests and payload size resulting in faster and better performing ASP.NET MVC Websites. There are a number of ways you can reduce and combine the size of CSS and JavaScript using the new feature, and in this ASP.NET MVC 4 Tutorial We will learn how you can create custom bundles where you specify the name and order of CSS and JavaScript Files. This method will work compatable with ASP.NET MVC 5 or lower version. While Bundling and minification of CSS and JavaScript in ASP.NET vNext can be achieved gruntjs. If you are looking for Bundling and minification of CSS and JavaScript in ASP.NET MVC 6, click here to read the article.

Continue Reading>>

Exploring AngularJS vs KnockoutJS

One of the basic question in developers mind that what is the difference between AngularJS and KnockoutJS, Which is better, and what is use. That is the subject of our article. For beginners if you are not familiar with AngularJS or KnockoutJS, I suggest you to go through Introduction of AngularJS and Introduction of KnockoutJS to get basic idea about these two frameworks. If you have confusion about KnockoutJS and jQuery read this article on KnockoutJS and Difference with jQuery. While Angular and Knockout are very different, they’re both excellent tools for building Single Page Applications, and the solutions ended up being quite similar.

Continue Reading>>

Introduction of KnockoutJS it’s not jQuery

We can define KnockoutJS as—KnockoutJS is a JavaScript library that helps us to create very rich, responsive display and editor user interfaces with a clean underlying data model. These UI are updated dynamically by changing its data sources (e.g., changing depending on the user’s actions or when an external data source changes), It is very easy to develop, manage your application by using KnockoutJS.

The developers who familiar with Ruby on Rails, ASP.NET MVC, or any other Model View, they already know that these technologies are MVVM as a real-time form of MVC with declarative syntax. In another context, We can say that KnockoutJS is general way make our User Interfaces for displaying, editing for JSON data.

Continue Reading>>

Introduction of AngularJS

As par official definition, AngularJS is a structural framework for dynamic web apps. AngularJS allow us to use HTML as your template language and lets us to extend HTML's syntax to express your application's components clearly and succinctly. Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write. And it all happens within the browser, making it an ideal partner with any server technology.

AngularJS is an open-source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. It is now maintained by Google. Its latest version is 1.2.21.

Continue Reading>>

An Introduction to HTML 5

HTML5 is the latest version of Hyper Text Markup Language. HTML 5 is a revision of the Hypertext Markup Language (HTML), the standard programming language for describing the contents and appearance of Web pages. The main aim of HTML5 is to increase the latest multimedia support and to decrease the dependency on client side scripting language like JavaScript and third party plugging like Adobe Flash Player etc. HTML5 can be effectively run on low-powered devices such as smart phones, tablets etc. Several new elements like <video>, <audio>, <canvas>, </canvas></audio></video><header>, <nav> and <article> etc. have been introduced in html5.

Continue Reading>>

Visual Studio 2015 Preview Comes with Emulator for Android, MVC6 and Entity Framework 7

Microsoft had launched Visual Studio 2015 Preview. Let try to know what's new in this release and point you more details. One of the other large announcements today is that we will open source the full server-side .NET core stack from ASP.NET 5 to the CLR and BCL and this version will run on Linux and MacOS X as well as Windows.

Since the majority of initial comments tend to be questions about supported configurations, I’ll put this up front: before you try to upgrade from Visual Studio "14" CTPs to Visual Studio 2015 Ultimate Preview, first uninstall Visual Studio "14" CTP – if you don’t, your system can wind up in an unstable state.

Continue Reading>>

AJAX Helpers in ASP.NET MVC Tutorials

Ajax helper of ASP.NET MVC essentially provides Ajax functionality to your web applications. AJAX Helpers are used to create AJAX enabled elements like as Ajax enabled forms and links which performs request asynchronously. Using Ajax helper you can submit your HTML form using Ajax so that instead of refreshing the entire web page only a part of it can be refreshed. Additionally, you can also render action links that allow you to invoke action methods using Ajax. AJAX Helpers are extension methods of AJAXHelper class which exist in System.Web.Mvc.Ajax namespace.

Continue Reading>>

How to Persist Data with TempData

TempData in Asp.Net MVC is one of the very useful feature. It is used to pass data from current request to subsequent request. In other words if we want to send data from one page to another page while redirection occurs, we can use TempData, but we need to do some consideration in code to achieve this feature in MVC. Because the life of TempData is very short and lies only till the target view is fully loaded. But, we can use Keep() method to persist data in TempData.

Continue Reading>>