igorz 24/02/2010 - 13:43
there is a list of C# Programming Tools from MSDN(!) site http://msdn.microsoft.com/en-us/vcsharp/aa336818.aspx   It refers to open source as...

 Summary of presentation "AOP & Policy Injection" that was part of Dot.Net group meeting.

 

Motivation:

  1. Mixing of business logic with supported mechanisms like logging, transaction, security
  2. Code duplication
  3. Same implementation patterns without reuse
  4. Hard maintenance
  5. Lack of modularity 

 

Aspect-oriented programming (AOP) concept:

Separate business logic (functional requirements) from supporting mechanisms (non-functional requirements)  like security, exception handling, tracing, monitoring, transactions, caching, validation.

The way is to encapsulate  supporting mechanisms into Aspects or Policies  and to address them declaratively to business logic code.

 

AOP implementation:

michael 24/02/2010 - 11:49

1. ADO.Net is outdated and cumbersome - will recommend it only for tiny projects with weak developers not able to master new and more sophisticated technologies.

andrew 15/12/2009 - 15:05

Introduction
NHibernate gives you many alternative APIs for querying database. There is HQL, which is similar to SQL, Linq to NHibernate and finally ICriteria.
And once you start to use NHibernate in your project, you have to decide which API to use. Since NH 3.0 you have one more option. It is QueryOver API.
In this post I want to compare a usage of different APIs for a simple query.

igorz 09/02/2010 - 17:24

1.0 obsolete
1.1 VS 2003
  * win 2003 has built in

2.0 (sp1) VS 2005/8/(?)10
3.0 WPF, WCF, WF, VS 2005/8/(?)10
3.5 (sp1) Linq, C#3.5, Entity fw..., sp1: System.Web.Abstraction, Sys.Web.Routing. VS 2008/(?)10
  * win 2008 has built in
  * the same runtime
  * upgrade is convinient (not risky , backward compat)

4.0 VS 2010
  * new machine.config, mscorlib, runtime
  * C#4.0, ASP.NET 4.0
  * upgrade might be risky, requeres changes in web.config.

mono
  * integration with VS
  * MonoDev
  * The Mono API today is somewhere in between .NET 2.0 and .NET 3.5,
  * cross platform

 

 

igorz 20/01/2010 - 10:15

One of the most common questions I get is related to the location of the my.cnf file (or my.ini).

The question comes in few variants:

  1.  I am setting the option xyz in my.cnf but it does not seem to work?
  2.  I can set the option xyz using. /mysql --zyx=abc but when I am placing it in my.cnf it does not take any effect?
  3.  I have my.cnf in /etc and on in /usr/local/mysql/etc/  which one should I use?
  4.  Where the f@&% is my my.cnf file !?!?

In MySQL the answer for the above questions are a little confusing.

haim 20/01/2010 - 10:03

I am looking for a web component that allows a simple user build a query (or at least an expression / function).

 

The system have a known data schema, and the widget should allow the user to pick fields and to define an aritmetic formula based on those fileds.

 

Any recommendations? Does anyone know about a widget that can be used for that purpose?

 

Thanks, Udi

udid 10/03/2010 - 13:52

Michael wrote in his post about beauty of MongoDB.

I tried to run a couple lines of code and found it very easy to get started with.

There are steps to get there:

 

1. Download binaries. I  used version 1.2.3 for Win32

2. Create the data folder C:\data\db

3. Run mongod.exe

 

At this step you have MongoDB running.

 

4. Download C# driver

5. Create a console application with Visual Studio

6. Add references to driver's dlls

 

Now you are ready to write code.

 

I just copies a lines of code from Michale's post into Main method and added console output:

 

igorz 24/02/2010 - 12:12

On our previous session we looked at a few frameworks for the dependency injection in .Net. While dependency injection takes the burden of wiring out of the business logics code, it still requires a lot of work for defining the dependencies between all the components again and again. In this session we will learn about Policy Injection and AOP in .Net. These techniques allow us to introduce a cross-cutting "aspects" into our code in much less lines of code or lines of configuration. Presenter - Michael Lvov. 

andrew 22/02/2010 - 16:31

 

Modern projects need to manipulate with huge data amount, as result the necessity of high scalability and  high performance is very actual and always grows.

RDBMS databases cannot supply ultimate solution and alternative concepts like in NoSQL systems look very interesting.

 

The first interesting option is key-value stores like Google Big Table or Cassandra that provide fast and extremely large-scale solution but you can forget the comfort work with SQL queries like in RDBMS databases.  

 

Another option that tries to combine between advantages of RDBMS databases and key-values stores  is document-oriented databases like MonogDB.

 

MongoDB is development by commercial company as open-source project written in C++.

There are a lot of documentation, tutorials and samples on project site. 

 

michael 18/02/2010 - 17:15

If you haven't decided yet which validation framework to use with your ASP.NET MVC application then check out Fluent Validation

 

"A small validation library for .NET that uses a fluent interface and lambda expressions for building validation rules for your business objects."

 

P.S. lambda expressions seems to be only language in the future. :)

igorz 17/02/2010 - 17:16
Syndicate content