Really awesome and really simplified now….

 

 

Ohh before I forgot, this is a nice tweet by .NET Team for James.

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
, , , , , ,

From the free and proven IoC containers/frameworks, please let me know which ones you prefer to use and what makes you choose that one instead of the others?

Thanks in advance for your inputs.

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
, , , , , , , , ,

After getting frustrated with the fact that Entity Framework and NHibernate does not resolve my needs, I am writing my own ORM tool to finalize one very important part of enterprise architecture.

Here are the features that are included (hope to finish by tomorrow)

  1. Mutliple entity classes (one per each)
  2. Single Data Provider Class
    1. One Interface IDataProvider
    2. One Class which inherits I[Model]DataProvider (SQL[Model]DataProvider)
      1. [Model] to be renamed by the model name provided
    3. One mocked class using moq framework (http://code.google.com/p/moq/)
  3. SQL[Model]DataProvider will also implement retry logic in case of certain cases such as
    1. Deadlock
    2. Connection Timeout etc.
    3. In a nutshell the following error codes : -1,-2,2,53,1222,1205
  4. Will obviously generate related stored procedures and utilize them :)
  5. Entities will be able to track simultaneous changes and will be able to throw exception if data changed before update!
  6. Entities will implement [DataContract] & [DataMember] so that usage in WCF will be a lot easy
  7. As you may see from here generated codes will implement Abstract Factory (Provider) design pattern and possibility of Singleton is also there.
I think all of those will give me the best ORM that I would need.
I’ve named it as SevDer ORM+ and first version will be completed by tomorrow
  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
, , , , , , , , , , , ,

So far, the best tool I’ve seen is Selenium (with Firefox recorder of course) for functional testing.

It covers most things that one may want to achieve.

Here are the points where Selenium (http://seleniumhq.org/) shall be used

  1. Functional testing of web pages (not only web of course)
  2. Validation content on the page
    1. Image
    2. Text
    3. Source code (rendered of course)
    4. css
    5. Note
      1. And above things by specifying where you expect it
      2. You don’t need to code for that, you just specify those using the recorder tool (it does it for you)
  3. Run complete tests as unit test
    1. by default it is Nunit but it is not a big deal to convert into MSTest format
    2. Just imaging adding function UI test code coverage results into all other unit test coverage results :)
  4. Regression testing
    1. All test scenarios combined
    2. All browsers and versions for all scenarios
  5. Simply stop doing manual test please, it is very easy to do with this tool (not limited to .NET etc.)
Here are the points where Selenium shall not be used for
  1. Performance testing
    1. Please note, selenium is browser based tool so it will open up a browser
    2. Before you reach to the target servers limits you will reach executing machines limits because of having so many browser windows opened by selenium test
  2. Javascript coverage
    1. I would say don’t go for this because
      1. You probably use many javascript files anyway
      2. Most of those can be from other vendors than your own
      3. It is extremely difficult to manage that (long story to explain)
      4. What would you get in the end?
        1. You can try this but only if you’ve mastered your actual code with more than 90% coverage
      5. Your functional testing actually covers your javascript anyway and as jscript is not compiled code, plus it can be fed by CMS or it can be hosted outside of your servers, it will not make too much sense to do it. You will never get a good figure.
I hope this also helps a lot.
Let me know if any changes are required
  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
, , , , , , , ,

ILSpy seems to be a very good alternative to old .NET Reflector which is not free anymore.

You can find more details @ http://wiki.sharpdevelop.net/ilspy.ashx

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS
, , ,