Quantcast
Channel: Sampath Lokuge Tech Blog
Browsing all 107 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to Disable a Button Using Jquery and CSS ?

How to Disable a Button ? :Step 1:Using Jquery attr Attribute :$('.actionButton').attr('disabled', 'disabled');Step 2:Using Jquery addClass CSS Class :$('.actionButton').addClass('disabled');Step...

View Article


Image may be NSFW.
Clik here to view.

How to Enable jQuery Intellisense in Visual Studio 2010 ?

How to Do That ?There are 2 ways to do that.Method 1 :When you are working with Local copy of js files,Then you have to set up jquery-1.5.1-vsdoc.js file as below.(This is my js file version.It...

View Article


Image may be NSFW.
Clik here to view.

How to Use Git with Visual Studio 2010 ?

What is GIT ?In software development, Git is a distributed revision control and source code management (SCM) system with an emphasis on speedEvery Git working directory is a full-fledged repository...

View Article

Image may be NSFW.
Clik here to view.

How to use Asp.Net MVC TempData Properly ?

What is TempData ?1. TempData is meant to be a very short-lived instance, and you should only use it    during the current and the subsequent requests only.2. Since TempData works this way, you need to...

View Article

Image may be NSFW.
Clik here to view.

How to Use Entity Framework SelectMany ?

What is SelectMany?1.SelectMany Operator is part of the projection query operator supported by Linq.                        What is Projection ?                                  - operation of...

View Article


Image may be NSFW.
Clik here to view.

How to Use ViewModel with ASP.NET MVC ?

What is a Model ?Parts of the application that implement the domain logicalso known as business logicDomain logic handles the data that is passed between the database and the UIFor example, in an...

View Article

Image may be NSFW.
Clik here to view.

How to Improve jQuery Selector Performance ?

What is a jQuery ?jQuery is a lightweight, "Write Less, Do More", JavaScript library.The purpose of jQuery is to make it much easier to use JavaScript on your website.jQuery takes a lot of common tasks...

View Article

Image may be NSFW.
Clik here to view.

How to Use ValueInjecter with Asp.net MVC ViewModel ?

What is ValueInjecter ?An Open Source Free productIt's a MapperIt lets you define your own convention-based matching algorithms (ValueInjections)In order to match up (inject) Source values to...

View Article


Image may be NSFW.
Clik here to view.

How to Improve ASP.Net MVC 3 View Performance ?

What is a View ?Incoming browser requests are mapped to controller actionsA controller action might return a ViewView handles the display of the dataMost often the Views are created from the ViewModel...

View Article


Image may be NSFW.
Clik here to view.

How to Check Spelling in Visual Studio 2010 ?

What is HTML Spell Checker ?It's a Free ProductIt's an Extension for Visual Studio 2010What Type of  Text Verification Spell Checker Supports ?HTML and ASP.NET element content and attributesHTML style...

View Article

Image may be NSFW.
Clik here to view.

How to Improve Performance of Entity Framework Query ?

What is an Entity Framework ( EF ) ?Entity Framework is an Object Relational Mapper (ORM)It basically generates business objects and entities according to the database tablesPerforming basic CRUD...

View Article

Image may be NSFW.
Clik here to view.

How to Use Asp.Net MVC Routing Debugger Visualizer ?

What is MVC Routing Debugger Visualizer ?It's an Extension for Visual Studio 2010It Displays the Matched Route Data and Data Tokens of All Defined Routes in your web applicationIt's a Free ProductWhat...

View Article

Image may be NSFW.
Clik here to view.

How to Use Entity Framework Fluent API ?

How to Change Entity Framework Default Conventions, when Mapping Data ?There are 3 ways.1. Entity Framework Fluent API2. Fluent Validation       - Validation Library for .NET       - This uses a fluent...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework Fluent API Article's Sample Code

Related Article : How to Use Entity Framework Fluent API ?Project TreeSchoolEntities.csusing System.ComponentModel.DataAnnotations;using System.Data.Entity;using...

View Article

Image may be NSFW.
Clik here to view.

How To Install Windows Azure SDK for .NET ?

Author's Note :Here I am explaining the experience Which I had with Installation of Windows Azure SDK for .NET - October 2012 version (Latest at the moment ) on My ComputerThis may be differ for other...

View Article


Image may be NSFW.
Clik here to view.

What is Knockout ?

What is Knockout ?Knockout is a JavaScript LibraryWhich helps the creation of rich, desktop-like web UIsIt simplifies user interactions and makes interfaces fully responsive to any data source...

View Article

Image may be NSFW.
Clik here to view.

How to use Twitter Bootstrap with Asp.Net MVC 3 ?

What is Twitter Bootstrap (TB) ?TB is a Free (open source) collection of tools for creating web applicationsIt contains HTML and CSS-based design templates for typography, forms, buttons, charts,...

View Article


Image may be NSFW.
Clik here to view.

What is New in Entity Framework 5 ?

What is New in Entity Framework 5 ?    1. Enum Support              - allows you to have enum properties in your entity classes(Click for More ...)    2. Spatial Data Types             - can now be...

View Article

Image may be NSFW.
Clik here to view.

How to Create a Custom Action Filter for MVC 3 ?

What is an Action Filter ?It's an AttributeCould be applied on a particular ActionCould be applied on a ControllerIt modifies the way Action ExecutesAn Action Filter is a class that inherits from the...

View Article

Image may be NSFW.
Clik here to view.

How to Find jQuery Errors in JS File ?

What is JSHint ?It's a Tool to detect errors and potential problems in JavaScript codeCan be used to enforce coding conventionsSimple Tool that can very often spot your mistakes before you doIt can...

View Article
Browsing all 107 articles
Browse latest View live