- New features of ASP.NET 3.5 .....
- Best Practices
- Code snippets
- Tools
Find out Dependency Injection with Spring.net
http://www.developer.com/net/csharp/article.php/10918_3722931_1
http://www.springframework.net/examples.html
NHibernate:
To understand basics of NHibernate
https://www.hibernate.org/362.html
Application Logging:
One of the best open source application logging (Log4Net) source which is highly recommended, used and approved by the developer community.
http://www.wtfdeveloper.com/Default7.aspx
LINQ:
Good Samples:
http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx
Steps to copy DLL’s from the GAC:
In many scenarios if you want to copy the DLL’s in .net application from the GAC, you need to run couple of commands and copy the desired DLL’s from the GAC folder, the below steps would give you insight of how to copy the DLL’s from the GAC folder.
We can view the GAC through C:\Windows\assembly folder and we cannot copy the DLL’s, instead we can only uninstall the DLL.
To view and copy the available DLL’s follow these steps,
.Net has a DLL file Shfusion.dll which is an Assembly Cache Viewer, which is located in the following path.
· C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll
First you need to uninstall the Shfusion.dll to copy the DLL from the GAC folder
Uninstall the DLL using the following command in the run dialog box.
o regsvr32 -u C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll
Type assembly in the Run Command to see the folder view of the GAC, Copy the DLL you want.
Installing the Shfusion.dll and to get it back to the original state.
· Install the DLL using the following command in the RUN dialog box
o regsvr32 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\shfusion.dll
Design Pattern:
"Design patterns are recurring solutions to software design problems you find again and again in real-world application development."
Here is a link to know more about the design patterns:
http://www.dofactory.com/Patterns/Patterns.aspx#list
To know more about Building MVC Pattern application please visit this link and download the video,
http://msstudios.vo.llnwd.net/o21/mix08/08_MP4s/T22.mp4
In MVC I liked this feature a lot :),
http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx
HTML And CSS:
12 Principles of keeping your HTML Clean :)
http://www.smashingmagazine.com/2008/11/12/12-principles-for-keeping-your-code-clean/
CSS !important Keyword
"!important" keyword gives the given selector higher precedence than its predecessor, meaning it overrides the last styles defined for the class.
Example:
.CssTextboxWidth
{
width:30px!important;
}
Removing Duplicates from the LIST:
static List
{
var finalList = new List
foreach (CampaignMonthYear currValue in inputList)
{
if (!Contains(finalList, currValue.MonthYear))
{
finalList.Add(currValue);
}
}
return finalList;
}
static bool Contains(IEnumerable
{
foreach (CampaignMonthYear listValue in list)
{
if (listValue.MonthYear == comparedValue)
{
return true;
}
}
return false;
}
2 comments:
Good content! But please change the font color of the code snippets. Very hazy.
Post a Comment