Log4Net – Logging for .NET
Before I was thinking of rewriting my own logging for my application but after having a careful thought, I decided just to get one from NuGet package instead of reinventing the wheel. I heard a lot…
Dotnet general
Before I was thinking of rewriting my own logging for my application but after having a careful thought, I decided just to get one from NuGet package instead of reinventing the wheel. I heard a lot…
This is a simple tutorial in how to use Dependency Injection using SimpleInjector (You can get this package from NuGet) In this case, I use SimpleInjector to manage my Data Context – I want my Data…
I found this benchmark for different IoC in .NET. Personally I’ve been using Unity, Ninject and SimpleInjector. I like SimpleInjector because it is very simple and surprisingly it is quite fast compared with the rest. Performance…
1. Change the app.config/web.config of your application that calls the WCF service by adding System.diagnostics detail as below Code Snippet <system.diagnostics> <sources> <source name=”System.ServiceModel” switchValue=”Verbose,ActivityTracing” propagateActivity=”true”> <listeners> <add type=”System.Diagnostics.DefaultTraceListener” name=”Default”> <filter type=”” /> </add> <add name=”ServiceModelTraceListener”>…
I tried to install umbraco in shared webhosting from the control panel but instead the error that I’m getting is The application could not be installed: Error occured in Web App Gallery module From my research…
I have a function that is used to save a file base on the user input (basically the user can type whichever filename and whichever path) and the code is not handling the invalid filename or…
CLR Profiler can be used to analyse how your object is allocated in memory and which object has taken the most memory. It also can be used to detect memory leak To download CLR profiler for…
If you open your WCF/ svc file in your localhost through browser and it just display blank page then what might happen is you don’t have handler associated with svc extension To verify it, go to…