Thursday, October 3, 2013

jQuery Popup Window Tutorials

jQuery LightBox Plugin
http://krewenki.github.com/jquery-lightbox/

jQuery Popup Login Dialog Box
http://buckwilson.me/lightboxme/#

jQuery Facebox Fancybox Plugin
http://bitbonsai.com/facybox/

Login box Modal Dialog Window with CSS and jQuery
http://www.alessioatzeni.com/blog/login-box-modal-dialog-window-with-css-and-jquery/

jQuery Modal Dialog Windows
http://leanmodal.finelysliced.com.au/#

Popup Dialog Windows using JQuery
http://www.ezzylearning.com/tutorial.aspx?tid=6942119

Create a Simple App in SharePoint 2013 using Visual Studio 2012

Steps to create a SharePoint hosted app using visual studio 2012.

Open Visual Studio 2012

Create a new project -> Installed -> Templates -> SharePoint Apps -> App for SharePoint 2013 -> Enter name as "SampleApp"

Select site url and SharePoint-hosted app and finish it.

Open Scripts\App.js file, Add the code to meet your requirement

Click on Deploy the solution

Go to Site -> Site Contents -> SampleApp

Click on App to view the content on the App.

Troubleshoot SharePoint performance issues

Best way to deal with SharePoint performance issues.

Sometimes it is difficult to identify the performance related issues on your SharePoint farm. There are various techniques available to identify the bottlenecks on the environment and easily figure out the issues. Sometimes by following simple techniques you can figure out the problems. There are times you may not easily identify where exactly it went wrong

Some of the techniques are listed below:

  • Use Developer dashboard
  • Check for Disk spaces, Database sizes or database performances.
  • Check for the code which may cause the performance issue. Look at the webparts in page where the page load is very slow. Try to remove the some of the webparts which is effecting the page load and verify the page load timing
  • Use MSOCAF tool to review the code properly and identify the rules and resolve all issues
  • Use SharePoint Administration Toolkit.
  • Verify the ULS Logs for any critical errors
  • Enable caching


If you want to find list of all the techniques, visit the article:

How to call Web Service using Jquery AJAX


Here is simple example how to call a web service using Jquery AJAX. Pretty simple HTML file.

The method 'Get' is used to request the data from the server.

<html>
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.9.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        function InvokeAJAXWebService() {

   $.ajax( {
   type:'Get',
   url:'http://www.site.com/mywebservice',
   success:function(data) {
    alert(data);
                        }
   });
       
        }
     
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <button id="btnExample" runat="server" onclick="InvokeAJAXWebService();">
            JQuery AJAX Web Service Example</button>
    </div> 
    </form>
</body>
</html>

Tuesday, October 1, 2013

Download ASP.NET Projects for Free

Add Menu bar to your Blog

Excellent information in the below site. Easy to follow and implement.


http://bdlab.blogspot.com/2011/01/17-drop-down-menu-widget-in-blogger.html

SharePoint 2013 vs SharePoint 2010

Some of the differences are listed below:

SharePoint 2010:
  •     We have Sandbox solutions and it has limitations
  •     Development using Visual Studio 2010
  •     14 Hive structure
  •     Visual upgrade feature in SharePoint Server 2010
  •     Very limited mobile support
  •     Limited Social Networking features
  •     Branding through SharePoint designer, Features
  •     Supports Classic and Claims Authentication

SharePoint 2013:
  •     Sandboxed solution concept is deprecated. We have App solutions and Farm solutions.
  •     Development using Visual Studio 2012 and NAPA
  •     15 Hive structure
  •     Has excellent Mobile support
  •     Visual upgrade feature in SharePoint Server 2010 is not available in SharePoint 2013
  •     Document Workspace site template now provided by the Team Site site template
  •     Web Analytics feature in SharePoint Server 2010 is not available instead A new analytics system that is part of the Search feature is introduced.
  •     Branding through SharePoint designer, Features and Design Manager
  •     It supports only Claims authentication method. If you want to implement classic  authentication, use powershell