Archive for the ‘Asp.Net’ Category

Deploy dll to GAC using Powershell

Deploy dll to GAC Following snippet will help to add dll to GAC using powershell. The above snippet will add TestApp.dll to GAC. To remove dll from GAC, use $publish.GacRemove Enterprise Services Class Email this page

February 9, 2016 · Adi · No Comments
Posted in: Asp.Net, Powershell, Sharepoint 2010, SharePoint 2013, SharePoint 2016, Tips and Tricks

Best way of Listview custom paging with Datapager and objectdatasource

Introduction Listview with paging is very frequent usage for asp.net webapplication. In this post we will see how we can achieve best performance paging with listview. I ended up explaining to some of the senior developers what is meant by paging and why we implement. This basic and very important thing should always be remembered. […]

October 18, 2015 · Adi · No Comments
Posted in: Asp.Net, C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013, Tools

Snippet – Get selected text or selected html in a div using jquery

Introduction Snippet – Get selected text or selected html in a div using jquery very easily. Get Selected Html of div Email this page

October 16, 2015 · Adi · No Comments
Posted in: Asp.Net, Sharepoint 2010, SharePoint 2013

Quick way to copy custom text to clipboard using Jquery

Introduction Very quick and simple code snippet with jquery to copy text to clipboard. Call the method and you can paste the text. This will be custom way of sending text to clipboard Copy text to clipboard Email this page

October 16, 2015 · Adi · No Comments
Posted in: Asp.Net, Sharepoint 2010, SharePoint 2013

FaceBook, Twitter, Googlge login for WebForms, MVC and WebPages

Introduction Implementing OAuth and OpenID (Facebook, Twitter, Google) in Asp.Net is quite easy and you will wonder how quickly we can set up external login mechanism to Asp.Net application. You might end up searching many how to articles, but this is one of the best and simple article This post highlights how you can turn […]

June 7, 2015 · Adi · No Comments
Posted in: Asp.Net, C#, OAuth and OpenID