Pages

April 18, 2013

Create Custom Version of jQuery : build what you need

 

jQuery Builder, lets you easily build a custom version of jQuery that just includes the modules you need.

http://projects.jga.me/jquery-builder/


March 29, 2012

jQuery Quick Reference

Last Night , One of My friend Asked for My Help, Regarding jQuery UI Date Picker. As We All Know that , for a simple date picker , you have to download all the css bundle and js files and link them to your project. then I think of making a list of online jQuery CDN’s (Content Delivery Network) for Quick Reference Next time.

 

  1. jquery.com CDN :

    http://code.jquery.com/ 

    image

    here you can get all jQuery js and ui / css reference .Just copy the links and paste in your project.

2.  Microsoft CDN :

http://www.asp.net/ajaxlibrary/CDN.ashx

image

jQuery / Ajax CDN with Helpful Documentation.

3.  Google CDN :

http://code.google.com/apis/libraries/devguide.html#jqueryUI

image

How To Use It (Example) :

   1: <link rel="Stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.5/themes/black-tie/jquery-ui.css" /> 
   2: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
   1:   
   2: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js">
   1: </script> 
   2:   
   3: <script>  
   4:     $(function(){
   5:         $("#datep").datepicker(); 
   6:     });
</script>
   3:  
   4: <input type="text" id="datep">

March 16, 2012

Using Newly Created Package in Console Application

1.First I Placed the Nuget Package on Local Gallery of Nuget Packages.

image

2. Then I Created a New Console Project.

image

3. Then , I Add Nuget Package.

image

4. Now just Call Math Fun Functions from your Code.

image

image

5. After Building my Console Project , the Result is:

image

! Important:  Don’t Forget , the Newly Created Nuget Package is not just bound to Console Application Types , but can be Used in any C# Project , Like WPF , Silverlight , ASP.NET Web Forms , MVC , Razor etc..

My First Nuget Package

Thought of Creating Nuget Package on my own.

Here are the Steps I Followed:

1. First I Created a Class Library (Nuget Package can be of any type , but this time I’m building *.dll file for Package)

image

 

2. I created my Math Fun class and some functions in it.

image

3. After Done with Coding , Just Build It. DLL file will be created for me.

image

image

 

4. Then I Open Nuget Package Explorer (Download From Here) and Click Create New Package.

image

5. Then I Edit Some Meta Data Information about my new Package to be created like Title, Description etc..

image

 

image

6. Then , I Added “Lib” Folder , where I can place my *.dll file.

image

image

7. After that  , Save the Package.

image

image

image


Now you can Place it on your collection or Nuget Local Cache so that it can be used by Visual Studio or Web Matrix.

March 11, 2012

My Visual Studio 2011 Beta Experience

Just downloaded VS2011 Beta from MS Visual Studio Site.Now with efficient performance and New Features including inbuilt new software packages pre-installed.e.g if you install VS2010 then you have to first apply SP1 update then nuget and mvc updates , where as all these stuff is installed within VS11 beta , that’s why it takes little bit longer time to install on your system.

Download Now : http://www.microsoft.com/visualstudio/11/en-us

Supports : Win8 , Win 7.

For Recent Updates about VS2011 : http://blogs.msdn.com/b/visualstudio/

image

 

Performance Comparison

 

 

 

 

 

image

 

 

image

 

image

 

image

Pre-Installed MVC3 & MVC4 Templates for Quick start your Project

 

image

 

with .NET 4.5 Support.

 

image

 

with Nuget Packages.

 

image

New Interface , Icons and Menu’s.

 

What’s Improved ?

  1. Less Time To Load Projects & Creating Them.
  2. No Crash / System Hang.
  3. New Look and Feel.
  4. Pre-Installed Templates and Software Packages. (Like MVC3 , MVC 4, .NET 4.5 , Razor ,SQL 2012 , Productivity Tools etc.)

Happy Coding.