• Discussions
Select the search type
 
  • Site
  • Web
Search
Login|Register

 

Survey Links Customization in SharePoint

By Blog User on 3/27/2012 9:42 PM
How to customize the View Response menu link and the Response Survey button in just a few steps through Javascript
Read More »
Comments (0)
Knowledge Base

Get a User's Full Name

By Blog User on 3/3/2012 3:42 PM

Sometimes it's neccesary to retrieve the User's Full Name (or Display name) instead of just the network Name.
This can be easily obtained from the System.DirectoryServices.AccountManagement namespace introduced with the .NET Framework 3.5. This Namespace gives you access to the UserPrinciple class which encapsulates "principles that are from user accounts."

PermaLink Read More »
Comments (0)
Knowledge Base

LINQ: How to convert a list of objects to a Dictionary

By Blog User on 7/11/2011 5:42 PM
using System; using System.Linq; using System.Collections; using System.Collections.Generic; public class Employee {     public int id;     public string firstName;     public string lastName;     public static ArrayList GetEmployeesArrayList() {         ArrayList al = new ArrayList();         al.Add(new Employee { id = 1, firstName = "J", lastName = "R" });         al.Add(new Employee { id = 2, firstName = "W", lastName = "G" });         al.Add(new Employee { id = 3, firstName = "A", lastName = "H" });         al.Add(new Employee { id = 4, firstName = "D", lastName = "L" });         al.Add(new Employee { id = 101, firstName = "K", lastName = "F" });         return (al);     }     public static Employee[] GetEmployeesArray() {         return ((Employee[])GetEmployeesArrayList().ToArray());     } } public class MainClass {     public static void Main() {         Dictionary eDictionary = Employee.GetEmployeesArray().ToDictionary(k => k.id, i => string.Format("{0} {1}",i.firstName, i.lastName));...
Read More »
Comments (0)
Knowledge Base

Log4Net for DataBases

By Blog User on 1/5/2011 11:49 AM
Implementacion de Log4Net para loguear en Base de Datos. 

I share with you the full article and the link to that article: 

http://weblogs.asp.net/drnetjes/archive/2005/02/16/374780.aspx

 

Other interesting link that indicates the basic setup of log4net: 

http://sadi02.wordpress.com/2008/09/15/how-to-store-log-in-database-using-log4net/

4 Tips for using Log4NET's ADONetAppender in ASP.NET I'm using Log4NET for almost a year now, and I must say I'm very pleased with it. This logging framework is very easy to learn and extend; same goes...
Read More »
Comments (0)
Knowledge Base

Programming Oriented to AOP Aspects

By Blog User on 1/19/2010 6:32 PM

The following file contains an example developed with PostSharp.

http://www.postsharp.org
 
It shows the name of a method, before and after its implementation.

Comments (0)
Knowledge Base

StyleCop

By Blog User on 1/11/2010 3:12 PM
For the rules to be taken as a basis for the server, it will be necessary to replace the existing file at the following location with the file of this Post. 

C:\Program Files\MSBuild\Microsoft\StyleCop\v4.3 or in C:\Program Files\Microsoft StyleCop 4.3.2.1   Depending on whether the installation was performed on the Build, or not.

This file is focused on those rules that we want to respect at the source code and allows a major order of it.

Additionally, the inclusion of comments facilitates the generation of automatic documentation.

Installation of StyleCop with Visual Studio For the StyleCop be integrated with Visual Studio, you need to install: the StyleCop, the ReShareper and a PlugIn for the StyleCop.

The steps to install these programs are the following:

1) Install Microsoft.StyleCop.msi 2) Install ReSharperSetup.4.5.1231.7.msi 3) Install StyleCop.For.ReSharper.Setup.v4.5.15.0.msi

Here, I attach you the needed files.

Resharper with StyleCop.zip

...
Read More »
Comments (0)
Knowledge Base

Anonymous and Implicit Types

By Blog User on 1/11/2010 3:12 PM

I recommend reading this articles for types of anonymous and implicit variables for Framework 3.0 and beyond:

Anonymous:

http://msdn.microsoft.com/en-us/library/bb397696.aspx

 

Implicits:

http://msdn.microsoft.com/en-us/library/bb384061.aspx

 



Comments (0)
Knowledge Base

Snnipet for focused with Basic Functions of Bsn (get, save, getAll)

By Blog User on 8/31/2007 4:57 PM

Throw exceptions for focused

FocusedBsn.xml 

Comments (0)
Knowledge Base

Snippet GetSet

By Blog User on 5/8/2007 2:51 PM

It generates properties with the required virtual for NHibernate. It's recommended to write the name of the variable in lowercase and then just change the first letter to uppercase of property.

GetSet.xml

Comments (0)
Knowledge Base

Search

Categories

Skip Navigation Links.
ASP.NET (27)
C# (9)
Dynamics CRM (1)
General (33)
Mobile (2)
NHibernate (2)
Sharepoint (4)
Team Foundation (1)
Visual Basic (5)

Archive

Archive
<May 2012>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Monthly
April, 2012 (1)
March, 2012 (3)
February, 2012 (2)
January, 2012 (4)
December, 2011 (1)
November, 2011 (1)
October, 2011 (1)
September, 2011 (2)
August, 2011 (2)
July, 2011 (1)
June, 2011 (1)
May, 2011 (1)
April, 2011 (1)
February, 2011 (1)
January, 2011 (2)
December, 2010 (3)
October, 2010 (2)
August, 2010 (5)
July, 2010 (2)
June, 2010 (1)
May, 2010 (2)
January, 2010 (3)
November, 2009 (2)
October, 2009 (1)
September, 2009 (5)
July, 2009 (2)
June, 2009 (2)
May, 2009 (2)
April, 2009 (3)
March, 2009 (1)
December, 2008 (1)
November, 2008 (1)
October, 2008 (2)
September, 2008 (1)
May, 2008 (3)
April, 2008 (1)
March, 2008 (1)
January, 2008 (2)
November, 2007 (2)
October, 2007 (2)
August, 2007 (1)
July, 2007 (1)
May, 2007 (2)
April, 2007 (1)

Go
TISA - USA: 16360 Park Ten Place, Suite 301 - (77084) - Houston - Texas - United States - Phone.: +1-713-900-8667 - sales@tisa-software.com
TISA - ARG: 3087 Zapiola St. - 1st Floor - Buenos Aires - Argentina - Phone: (00 54 11) 4482-4096 - ventas@tisa-sistemas.com.ar
TISA - ARG: 940 Sarmiento St. - 3rd Floor - Buenos Aires - Argentina - Phone: (00 54 11) 4328-1327 - ventas@tisa-sistemas.com.ar
Copyright 2011 - TISA - All rights reserved Terms Of UsePrivacy Statement