A Timer Job is a periodically executed task inside SharePoint Server. It provides us a task execution environment. for more information please click on this link Custom Timer Jobs in SharePoint 2013
NadellaKaleswar
Friday, 31 October 2014
Saturday, 25 October 2014
What are the different types of filters, in an asp.net mvc application?
- Authorization filters
- Action filters
- Result filters
- Exception filters
What is the page lifecycle of an ASP.NET MVC?
The page lifecycle of ASP.NET MVC is having the following process and it is as follows:
1. App initialization
2. Routing
3. Instantiate and execute controller
4. Locate and invoke controller action
5. Instantiate and render view
What is Repository Pattern in ASP.NET MVC?
The repository and unit of work patterns are intended to create an abstraction layer between the data access layer.
and the business logic layer of an application. Implementing these patterns can help insulate your application from changes in the data store and can facilitate automated unit testing or test-driven development (TDD).
and the business logic layer of an application. Implementing these patterns can help insulate your application from changes in the data store and can facilitate automated unit testing or test-driven development (TDD).
- Repository pattern is used as a default entity operation that allow the decoupling of the components used for presentation.
- Repository pattern allows easy testing in the form of unit testing and mocking.
- Repository pattern will have the proper infrastructure services to be used in the web applications.
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
HAVING can be used only with the SELECT statement. HAVING is typically used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. Having Clause is basically used only with the GROUP BY function in a query whereas WHERE Clause is applied to each row before they are part of the GROUP BY function in a query.
Differentiate between an Abstract Class and an Interface.
Abstract Class:
A class can extend only one abstract class
The members of abstract class can be private as well as protected.
Abstract classes should have subclasses
Any class can extend an abstract class.
Methods in abstract class can be abstract as well as concrete.
There can be a constructor for abstract class.
The class extending the abstract class may or may not implement any of its method.
An abstract class can implement methods.
Interface :
A class can implement several interfaces
An interface can only have public members.
Interfaces must have implementations by classes
Only an interface can extend another interface.
All methods in an interface should be abstract
Interface does not have constructor.
All methods of interface need to be implemented by a class implementing that interface.
Interfaces cannot contain body of any of its method.
Wednesday, 15 October 2014
What is the use of RunWithElevatedPrivileges in Sharepoint
There are certain object model calls model that
require site-administration privileges. To bypass access-denied error, we use
RunWithElevatedPrivileges property when request is initiated by a Nonprivileged
user. We can successfully make calls into the object model by calling the
RunWithElevatedPrivileges method provided by the SPSecurity class.
Subscribe to:
Posts (Atom)