how to do url rewrite in C#.net. implemented in asp.net4.0 version

how to do url rewrite in C#.net. implemented in asp.net4.0 version Url rewriting is just to display a friendly and readable url instead of a comlex or unfriendly url. Suppose there is a url in your website just like below: http://sharepointcafe.net/Page.aspx?userid=23456 The disadvantages of above mentioned url are: 1. This is not a friendly url.2. … Read more

Three tier architecture in ASP.Net using C# code

Read my other blogs, C# 6.0 new features, ASP.Net Tutorial and .Net Core Tutorial.In this blog, we will see 3-tier architecture to develop an application in C#. What is 3-Tier Architecture? 3-Tier architecture is well known in software development for web and windows software.3-Tier architecture contains UI (Presentation) Layer, Business Logic and Data Access Layer. … Read more

How to send email to a user using workflow in SharePoint2010

How to send email to a user using workflow in SharePoint2010 Suppose there is a scenario that when ever you add a new item to a list in SharePoint site immediately an email should be sent to a specific member or user.Here I will explain this scenario by using SharePoint designer 2010.Please follow below steps: … Read more

Can we implement interface with same method name?

Interface is similar to a class, and we implement interface by defining their method in class. Suppose we have same method in more than one interface. In this case there will be a question for interview. Q.    Can we implement interface with same method name?Ans. Yes by using explicit interface implementation. Lets see below … Read more

What is safe control in SharePoint 2010?

In SharePoint Environment a developer can add ASPX file very easily. An ASPX file contains code which may affect the SharePoint environment. In simple words, there might be a security risk of security injection. In this blog, we will see what is a safe control in SharePoint. To reduce the risk, SharePoint differentiates the assembly … Read more

How to create a batch file to do automatic backup of SharePoint site?

Suppose you have a SharePoint site with some heavy and important data and you want to take the backup regularly. So instead of manual process you can create a batch file which will automatically take the backup of the mentioned site. Below is the given script:Write below code in a notepad and save it as … Read more

How to Crop and Upload image using JQuery

In this blog, I will explain how to crop an image and then upload that image using jQuery. Here you will come to know about preview an image, and then crop that image and finally upload it using jQuery and C# code.  This implementation has been done using jQuery, so no post back only smooth … Read more

Upload images and show the list of image in gridview to delete-asp.net code

Below code will upload image in a particular folder and will show the list of images from that folder. User may delete images from that list.HTML Code:<div>        <table style=”width: 90%”>            <tr>                <td style=”width: 50%”>              … Read more

Java Script Form Validation

Form validation is a process by which users are restrict to enter irrelevant data. For eg invalid format of email id, alphabets in mobile no.l field. Below is the code to validate a form. Below function can be call either on a button click or on an anchor link.   function Validation() {      … Read more

Timer job in SharePoint 2010. How to create a timer job?

What is Timer Job in SharePoint? Timer Jobs are background processes that are managed by SharePoint. A timer job runs on a periodic basis defined in central admin. A timer job runs periodically, can be scheduled hourly, daily, weekly. Ex: User profile sync, Search Indexing The timer job is a class which implements the SPJobDefinition … Read more

RSS
YouTube
YouTube
Instagram