Category Archives: .Net

Friend assemblies in .NET using C#

What is internal access modifier in C# ? Internal modifier allow to access to the elements of an assembly, within the same assembly only. This means if we have one class library type project with two classes Class1 and Class2, any internal … Continue reading

Posted in .Net, C# | Tagged , , | Leave a comment

Pass data from user control to parent page using events and delegates

Using web user controls is quite a common approach in developing web applications. While using them, we often get into a situation, where we need to pass some kind of data from the user control to the parent page, when … Continue reading

Posted in .Net | Tagged , , | Leave a comment

Custom error in web.config

Sometimes in asp.net, when we run an application, an error occurs. This error shows  page with big yellow colored area with the error highlighted in red (a page that the developers never want to see on their site). This type … Continue reading

Posted in .Net | Tagged | Leave a comment