Contents tagged with IoC
-
WCF Web API with Web Activator package
In these days, I had read some blogs and a lot of post in internet about WCF Web API. And I also have curious about it. It is not new technology. And after I watched some postcast. I recognize it is a good one that I must to researching. RESTfull is a hot topic and have a lot of argues these days. WCF Web API is built on top of WCF service. How does it good? I don't know we just follow and analyze it later. Do you agree with me?
-
Clean and clear configuration with StructureMap
All sources of this post can be found at my git.
-
AOP with StructureMap Container
Source code for this post can be found in my git.
-
NHibernate 3 and Autofac, can go together? (part 2)
In part 1, I introduced about NHibernate and domain model for News Management System. And today, I will continue to show you about Autofac and how to make Autofac can understand all core instances of NHIbernate. If you do not read part 1, please read it at here. The time went very quickly, so we will start jumping into Autofac now.
-
NHibernate 3 and Autofac, can go together? (part 1)
In this post, I intend to explain about NHibernate and integrated it with Autofac. And some content that I will write as:
-
Google API for .NET architecture (Part 1)
Today, I have just released a OSS with named is Gapi4net library at codeplex. This is a wrapper some of API's Google for search Web, Local, Video, Blog, News, Book, Image, Patent and language translation. In the past, I also saw some wrapper for Google API, specially are a google-api-for-dotnet, gapidotnet. But as I realized that they are hard to using and when you used them, you must remember many input parameters. For example, if you use the google-api-for-dotnet, you must input as:
-
Integrated StructureMap container for the MvcServiceLocator in ASP.NET MVC 3
ASP.NET MVC 3 just released a few days ago. In this release, Microsoft team published some features very cool. I really love that, because we shall code easier. See release note for more information. And in this post, I would like to explore about MvcServiceLocator, one of features very interesting in this release. So why I want to know about that? Because in the past project in codeplex http://nma.codeplex.com, I used to CommonServiceLocator from Microsoft, and I must to customize it for integrated with StructureMap. Now, I don’t need making like that, because ASP.NET MVC team has already integrated it into core of ASP.NET MVC 3. That enough to talking, I only care about coding because I don’t want to talk more but not practice.
-
Extending Resource-Provider for storing resources in the database
This post, I upgraded from the articles that published from IDesign group in the MSDN's Microsoft http://msdn.microsoft.com/en-us/library/aa905797.aspx. The reason I made it is because I need using this solution for my ASP.NET MVC project. This method is so old for now. So I start to introduce about my effort for modify it for fixed with my solution.
-
Breaking if statements with pattern
Notes: updated with comment from Sean Stapleton