Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.
Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.
Discover how to use Inversion of Control and Dependency Injection to enhance your web application’s Multi-Tenant Application.
As a .net developer that has recently spent over a year helping to design and build a SCSF winforms application, I have been looking to branch out into different techniques and technologies to improve my skill set. With Visual Studio 2010 coming out, the latest support for WPF and a push, by Microsoft, toward its [...]
Recently we had the need to transform System.Drawing.ContentAlignment property to System.Drawing. Stringformat alignment property for creating a Graphic object with text drawn on it inside a given rectangle. Assuming that you want the text printed from left to right, you can use the ContentAlignment Enum values to obtain the desired StringAlignment Enum value. For example:
[...]
Using SQLite in a Windows Mobile Application provides a simple way to add pre-populated data for consumption by the application. There are a couple of configuration considerations when adding the database to the project.
1. Adding reference to SQLite.dll. After installing SQLite there will be a Compact Framework folder in the following path :C:\ProgramFiles\SQLite.NET\bin. This folder [...]
Problem: Recently i came across this problem while switching to a new Windows 7 64 bit m/c. The web site at hand was working fine on my previous m/c Windows 7 64 bit RC1. The error and the event log were basically not very helpful either.
Resolution:
So here is what I did to fix the issue [...]
Also posted in .NET Framework |
While using the WCF Exception Shielding policy in Enterprise Library’s Exception Handler Block to shield exceptions and return Fault Contracts I came across an error. I named the shielding policy “WCF Shielding Policy” and implemented a FaultContract for each type of desired or expected exception.
While testing the policy, we were unable to return a proper [...]
The mono project has released a new Mono edition for Apple’s iPhone and iPod Touch. This allows you to write full featured applications for the iPod touch using C#.
This is not a JIT Compiler, but is a static compiler that turns .NET executables into native applications.
For more information, check out the project at [...]
Recently on our project we created a “functional” unit test for some services. The test was designed to check the entire call stack from the service layer to the DAO and return some expected results. We are using Spring for dependency injection through our entire application. This functional test initially only referenced the service DLL’s [...]