DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Total Count : 88
Resources Publish New Article  
What is .NET framework
Ashok Nalam
.NET framework is a computing platform for building, deploying and running applications in highly distributed environment.

.NET framework majorly includes
  • Common Language Runtime (CLR)
  • Base Class Library (BCL)
  • Application interfaces (E.g ASP.NET, Windows Forms)
By: Ashok Nalam | 29 Dec 2012 | .NET Framework | Views: 13812 | Comments: 2 | Tags:.NET 
what are the application types in .net
Ashok Nalam
Below are the various types of applications which can be developed in .NET.
  • Console Applications
  • Windows Applications (Winforms or WPF)
  • Windows Services
  • Web Applications (ASP.NET)
  • Service Application
  • Mobile/Smart Device Applications
  • Setup and Deployment Applications
  • Silverlight Applications
By: Ashok Nalam | 29 Dec 2012 | .NET Framework | Views: 4383 | Comments: 2 | Tags:.NET 
what is the Common Language Runtime (CLR)
Ashok Nalam
Common Language Runtime (CLR) is the core component of .NET framework and is responsible for managing the code execution time. It's foundation of .NET framework that enables programs to be portable, supporting mixed language programming and provides secure execution. CLR as the name specifies provides a common runtime environment for different languages.

How it works:
code which is written in respective languages ( VC++ , C#, VB.NET or J#) will generates MSIL(Microsoft Intermediate Language) code by it's compilers. Then CLR will convert MSIL code to executable code when the program runs. 

The core functions of CLR are
  • Loading and execution of applications
  • Automatic memory management
  • Type safety
  • compilation of IL code to native code
  • Common Type System
  • Exception handling
  • Thread management
By: Ashok Nalam | 30 Dec 2012 | .NET Framework | Views: 6954 | Comments: 2 | Tags:.NET 
What is managed and unmanaged code in .NET
Ashok Nalam
Manged Code - code which is executed under Common Language Runtime (CLR). Due to this, the code has  many benefits like memory management, support of version control, type safety and security. The code which targets CLR and written in .NET framework is a managed code. E.g: C#,VB.NET

Unmanaged code : code which is not executed under .NET runtime (CLR). CLR is does not have control over execution of code.memory management, security and type safety should be taken care by developer.  
E.g: VB6, C,C++. 

managed code typically compiled to Intermediate Language(IL) code where as unmanged code directly compiles to native code.
By: Ashok Nalam | 30 Dec 2012 | .NET Framework | Views: 11077 | Comments: 2 | Tags:.NET  difference 
Reading configuration settings (connection string and app settings) values of Web.config in JavaScript
Ashok Nalam
In this snippet, we will see how to read values which are defined in appsettings and connectionStrings sections of web.config in JavaScript using ASP.NET.
By: Ashok Nalam | 30 Dec 2012 | JavaScript & Jquery | Views: 22567 | Comments: 1 | Tags:ASP.NET  javascript  web-config 
What are the major services provided by Common Language Runtime(CLR)
Ashok Nalam
CLR is a common runtime environment for .NET languages. The core services of CLR are
  • Execution management for .NET programs
  • Code Access Security
  • Type Safety
  • Memory management(Garbage collection)
  • Handling Exceptions
  • Interoperability with other applications
  • Side-by-side execution - multiple versions of same application
  • Just In Time compilation (Compiling IL code to  machine code)
By: Ashok Nalam | 28 Apr 2013 | .NET Framework | Views: 13797 | Comments: 0 | Tags:.NET 
SharePoint AspMenu control set href location to new window/tab using siteMapNode
Ashok Nalam
By: Ashok Nalam | 01 May 2013 | Sharepoint | Views: 22088 | Comments: 0 | Tags:ASP.NET  control  menu  sitemap 
Check whether User exists in SharePoint Group or not
Ashok Nalam
In this snippet we will see how to check whether the user belongs to a SharePoint group or not
By: Ashok Nalam | 21 May 2013 | Sharepoint | Views: 10213 | Comments: 0 | Tags:.NET  groups 
Programmatically remove SharePoint group from the site
Ashok Nalam
snippet covers how to remove SharePoint group from site.
By: Ashok Nalam | 21 May 2013 | Sharepoint | Views: 8831 | Comments: 0 | Tags:.NET  groups 
What is Microsoft Intermediate Language (MSIL)
Ashok Nalam
When we compile the .NET programming language code, the output of compiler is not executable code instead it generates special type of Pseudocode called as Microsoft Intermediate Language(MSIL). It can also referred as Intermediate Language (IL) or Common Intermediate Language (CIL).

When we run the program, Common Language Runtime(CLR) will translate MSIL code to executable code. CLR will covert MSIL code from any of .NET language.
By: Ashok Nalam | 21 May 2013 | .NET Framework | Views: 8837 | Comments: 0 | Tags:.NET 
"Caller Information" feature in Visual studio 2012 (C# & VB.NET)
Ashok Nalam
This article describes about new feature in Visual studio 2012 called as "Caller Information" and its attributes(CallerFilePathAttribute,CallerLineNumberAttribute and CallerMemberNameAttribute) with the example using C#.NET and VB.NET.
By: Ashok Nalam | 30 May 2013 | Visual Studio | Views: 22259 | Comments: 0 | Tags:attributes  C#  VB.NET 
Install online samples ("Search Code Samples") feature in visual studio 2012
Ashok Nalam
The article explains the new feature about "Search Code Samples" in visual studio 2012.
By: Ashok Nalam | 13 Jun 2013 | Visual Studio | Views: 6127 | Comments: 0 | Tags:.NET  visual studio 2012 
Pin frequently used files ("Pin Tab") and "Close All But Pinned" feature in Visual Studio 2012 IDE
Ashok Nalam
The article describes about new feature "Pin Tab" & "Close All But Pinned" of Visual Studio 2012 IDE.
By: Ashok Nalam | 17 Jun 2013 | Visual Studio | Views: 15297 | Comments: 0 | Tags:.NET  visual studio 2012 
What is content database in SharePoint
Ashok Nalam
A content database is a database file that stores content for one or more site collections for SharePoint web application. The content can be pages,files,documents,images and much more. So if the Site Collection has more number of SharePoint sites, the content database size grows rapidly.

One SharePoint web application can have more than one content database mapped to it and the max limit is 300 ContentDB's per Web Application. If you want to add more content databases to web application, Go to Central Admin -> Application Management -> Manage Content Databases -> select web application -> Add a content database.

Maximum Content database size is 200 GB in general usage scenarios.
By: Ashok Nalam | 19 Jun 2013 | Sharepoint | Views: 30203 | Comments: 1 | Tags:.NET  database 
What is Service Applications in SharePoint
Ashok Nalam
Service Applications(SA) are software services which run in a SharePoint farm. These are very useful to share information, resources and capabilities across multiple sites/applications/servers in the same share point farm or even across farms.

Service applications are introduced from SharePoint 2010. Advantage with the Service Applications are salable and extensible.

Sample Service Applications:
Access Services
User Profile Service
User Profile Synchronization Service
SharePoint Server Search

Location of services : Central Administration -> System Settings -> Manage services on server
By: Ashok Nalam | 19 Jun 2013 | Sharepoint | Views: 5005 | Comments: 0 | Tags:.NET 
What is site template in sharepoint
Ashok Nalam
Site Template is a pre-defined set of configuration, layout, and content files that define a site model for an SharePoint application. In built SharePoint has shipped with the set of site templates or we can create our own site templates. 

Each site collection site is associated with a site template. While creating a new site collection for an web application from Central Admin, we need to select a site template from Template Selection section.

Once we crate site collection, share point stores some of the files in the file system of front-end webs servers and some content in back-end databases. When we request for a page from browser, SharePoint engine will decide from where it needs to pick the data either file system or content database.

Sample Site Templates:
Collaboration - Team Site
Collaboration - Blog
Collaboration - Coommunity Site
Enterprise - Document Center
Publishing - Publishing Portal
Publishing - Enterprise Wiki
By: Ashok Nalam | 19 Jun 2013 | Sharepoint | Views: 7322 | Comments: 0 | Tags:.NET 
What are the various default permission levels in SharePoint site
Ashok Nalam
SharePoint site has different permission levels for the SharePoint Groups. When you create SharePoint site, you can observe the below permissions as default. 

Full Control - Has full control.
Design - Can view, add, update, delete, approve, and customize.
Edit - Can add, edit and delete lists; can view, add, update and delete list items and documents.
Contribute - Can view, add, update, and delete list items and documents.
Read - Can view pages and list items and download documents.
Limited Access - Can view specific lists, document libraries, list items, folders, or documents when given permissions.
Approve - Can edit and approve pages, list items, and documents.
Manage Hierarchy - Can create sites and edit pages, list items, and documents.
Restricted Read - Can view pages and documents, but cannot view historical versions or user permissions.
Restricted Interfaces for Translation - Can open lists and folders, and use remote interfaces.

We can create our own set of permissions also. In order to create new permission, go to site settings -> Users and Permissions -> Site permissions -> Permission Levels(Display list of permissions avalible on site) ->  Add a Permission Level
By: Ashok Nalam | 19 Jun 2013 | Sharepoint | Views: 13216 | Comments: 2 | Tags:.NET  groups  security 
What is custom list template in sharepoint site
Ashok Nalam
Inbuilt SharePoint provides some predefined list of templates like Announcements,Calendar,Picture Library,Links...etc. If none of templates are meeting you requirement, you can create your own custom list instance and define columns/views for the list. This list is called Custom List.

In-order to create new custom list, Go to Site Contents -> Add an App -> Select Custom List -> Provide Name for Your Custom list.After creating list, add columns and views to it.
Create Column/View for List: Open created Custom List -> List Settings -> Create Column/View

Note: By default every Custom List will have 5 columns (Title, Modified, Created, Created By and Modified By).
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 4793 | Comments: 2 | Tags:.NET  list 
What are the default columns added to SharePoint Custom List template
Ashok Nalam
When we create a Custom List in SharePoint site, By default 5 columns are added to custom list which are
  1. Title (Single line of text) - Mandatory field that defines a title for each list item.
  2. Created (Date and Time) -  When the user has created the current item.
  3. Modified (Date and Time) - When the last user has modified the current item.
  4. Created By (Person or Group) - User who created the current item.
  5. Modified By (Person or Group) - User who last modified the current item.
We can modify the column properties by clicking on Column Name from List Settings.
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 8313 | Comments: 2 | Tags:.NET  list 
What are the view formats for SharePoint Custom List template
Ashok Nalam
When we create a Custom List in SharePoint site, we need to map the list to View. By default when we create List, it will be mapped to "All Items" standard view. But we can change the view for the list. 

Each view is created from View Type and below are the available view types
  1. Standard View  - View data on a Web page. You can choose from a list of display styles.
  2. Calendar View -  View data as a daily, weekly, or monthly calendar.
  3. Datasheet View  - View data in an editable spreadsheet format that is convenient for bulk editing and quick customization. 
  4. Gantt View  - View list items in a Gantt chart to see a graphical representation of how a team's tasks relate over time. 
  5. Custom View in SharePoint Designer  - Start SharePoint Designer to create a new view for this list with capabilities such as conditional formatting. 
In order to see the available view types, Go to Custom List Settings -> Create View -> View Type.
By: Ashok Nalam | 20 Jun 2013 | Sharepoint | Views: 5551 | Comments: 2 | Tags:.NET  list 
cheap jordans|wholesale air max|wholesale jordans|wholesale jewelry|wholesale jerseys