Friday, December 16, 2011
Thursday, December 15, 2011
Tuesday, December 13, 2011
Wednesday, December 7, 2011
Sharp Tests Ex: Unit Tests fluent assertion
Cute small framework for fluent assertions in Unit Tests.
SharpTestsEx (Sharp Tests Extensions) is a set of extensible extensions. The main target is write short assertions where the Visual Studio IDE intellisense is your guide. #TestsEx can be used with NUnit, MsTests, xUnit, MbUnit... even in Silverlight
Available at:
Description from the project page:
SharpTestsEx (Sharp Tests Extensions) is a set of extensible extensions. The main target is write short assertions where the Visual Studio IDE intellisense is your guide. #TestsEx can be used with NUnit, MsTests, xUnit, MbUnit... even in Silverlight
Available at:
Tuesday, December 6, 2011
CSS frameworks, bootstraps, tricks, etc.
Bootstraps
http://twitter.github.com/bootstrap
10 Really Outstanding and Useful CSS Grid Systems
http://spyrestudios.com/css-grid-systems
http://compass-style.org
10 Useful tools:
http://www.catswhocode.com/blog/10-useful-tools-to-simplify-css3-development
http://ruseller.com/lessons.php?rub=2&id=1288
http://jsfiddle.net
http://dabblet.com
CSS grids:
http://getskeleton.com
http://960.gs
http://grids.heroku.com
http://foundation.zurb.com
http://twitter.github.com/bootstrap
http://developer.yahoo.com/yui/grids/builder
http://gridulator.com
http://www.tinyfluidgrid.com
http://elasticss.com
http://www.usabilitypost.com/2009/05/29/the-1kb-css-grid-part-1
http://www.usabilitypost.com/2009/06/06/the-1kb-css-grid-part-2
http://www.usabilitypost.com/2009/06/19/the-1kb-css-grid-part-3
http://www.blueprintcss.org
Article:
http://24ways.org/2011/css3-patterns-explained
Here is the LESS, http://lesscss.org
Extends CSS with dynamic behavior such asvariables, mixins, operations and functions.
Tools:
CSS sprites: http://css-sprit.es
CSS sprite generator: http://www.spritecow.com
CSS generator: http://www.css3.me
Button maker: http://css-tricks.com/examples/ButtonMaker/#
Tricks: http://css-tricks.com/downloads
Movement generator: http://cubic-bezier.com/#.17,.67,.83,.67
Bezier generator: http://www.roblaplaca.com/examples/bezierBuilder
Load generator: http://cssload.net
Layer style: http://www.layerstyles.org
Drop shadow: http://www.wordpressthemeshock.com/css-drop-shadow
Border radius: http://border-radius.com
(http://ruseller.com/service.php?rub=19)
Menu:
http://www.red-team-design.com/sexy-css3-menu
http://ruseller.com/lessons.php?rub=2&id=1183
http://ruseller.com/lessons.php?rub=2&id=1311
Tutorials:
http://teamtreehouse.com
http://tutorialzine.com
http://www.impressivewebs.com/css3-linear-gradient-syntax
http://www.impressivewebs.com
http://yuilibrary.com/yui/quick-start
http://tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery
http://evgeniypopov.com/jurnal.html
http://ruseller.com
http://www.red-team-design.com
http://developer.yahoo.com/yui/grids/builder
http://net.tutsplus.com/articles/news/a-detailed-look-at-the-960-css-framework
Freebies:
http://www.wordpressthemeshock.com/the-shock-bundle
http://www.wordpressthemeshock.com/premium-wordpress-themes/templates
http://www.wordpressthemeshock.com
http://www.styleshout.com
Microsoft references:
http://msdn.microsoft.com/en-us/library/windows/apps/hh453285.aspx
Ruby + CSS
http://sass-lang.com/tutorial.html
http://twitter.github.com/bootstrap
10 Really Outstanding and Useful CSS Grid Systems
http://spyrestudios.com/css-grid-systems
http://compass-style.org
10 Useful tools:
http://www.catswhocode.com/blog/10-useful-tools-to-simplify-css3-development
http://ruseller.com/lessons.php?rub=2&id=1288
http://jsfiddle.net
http://dabblet.com
CSS grids:
http://getskeleton.com
http://960.gs
http://grids.heroku.com
http://foundation.zurb.com
http://twitter.github.com/bootstrap
http://developer.yahoo.com/yui/grids/builder
http://gridulator.com
http://www.tinyfluidgrid.com
http://elasticss.com
http://www.usabilitypost.com/2009/05/29/the-1kb-css-grid-part-1
http://www.usabilitypost.com/2009/06/06/the-1kb-css-grid-part-2
http://www.usabilitypost.com/2009/06/19/the-1kb-css-grid-part-3
http://www.blueprintcss.org
Article:
http://24ways.org/2011/css3-patterns-explained
Here is the LESS, http://lesscss.org
Extends CSS with dynamic behavior such asvariables, mixins, operations and functions.
Tools:
CSS sprites: http://css-sprit.es
CSS sprite generator: http://www.spritecow.com
CSS generator: http://www.css3.me
Button maker: http://css-tricks.com/examples/ButtonMaker/#
Tricks: http://css-tricks.com/downloads
Movement generator: http://cubic-bezier.com/#.17,.67,.83,.67
Bezier generator: http://www.roblaplaca.com/examples/bezierBuilder
Load generator: http://cssload.net
Layer style: http://www.layerstyles.org
Drop shadow: http://www.wordpressthemeshock.com/css-drop-shadow
Border radius: http://border-radius.com
(http://ruseller.com/service.php?rub=19)
Menu:
http://www.red-team-design.com/sexy-css3-menu
http://ruseller.com/lessons.php?rub=2&id=1183
http://ruseller.com/lessons.php?rub=2&id=1311
Tutorials:
http://teamtreehouse.com
http://tutorialzine.com
http://www.impressivewebs.com/css3-linear-gradient-syntax
http://www.impressivewebs.com
http://yuilibrary.com/yui/quick-start
http://tutorialzine.com/2011/06/beautiful-portfolio-html5-jquery
http://evgeniypopov.com/jurnal.html
http://ruseller.com
http://www.red-team-design.com
http://developer.yahoo.com/yui/grids/builder
http://net.tutsplus.com/articles/news/a-detailed-look-at-the-960-css-framework
Freebies:
http://www.wordpressthemeshock.com/the-shock-bundle
http://www.wordpressthemeshock.com/premium-wordpress-themes/templates
http://www.wordpressthemeshock.com
http://www.styleshout.com
Microsoft references:
http://msdn.microsoft.com/en-us/library/windows/apps/hh453285.aspx
Ruby + CSS
http://sass-lang.com/tutorial.html
Monday, November 28, 2011
Thursday, November 17, 2011
Leslie Lamport
Research documents: http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.htmlFriday, November 11, 2011
Thursday, November 10, 2011
Unity 2 - InjectionMember usage
IUnityContainer RegisterType(Type t, params InjectionMember[] injectionMembers);
What "injectionMembers" parameters are for?
The overload with the InjectionMember array is used, when you do not provide a configuration file, that the Unity container tells how to create an instance of the given type or if you want to create an instance on another way than defined in the configuration file. The overloads are used, when you want to configure an unity container without an configuration file. An InjectionMember can be an constructor, property or method call. The following code, taken from the Unity help, shows how to use InjectionMembers through the fluent interface of the container.
IUnityContainer myContainer = new UnityContainer();
myContainer.Configure<InjectedMembers>()
.ConfigureInjectionFor<MyObject>(
new InjectionConstructor(12, "Hello Unity!"),
new InjectionProperty("MyStringProperty", "SomeText"));
<type type="MyObject" mapTo="MyObject" name="MyObject">
<typeConfig extensionType="Microsoft.Practices.Unity.Configuration.TypeInjectionElement, Microsoft.Practices.Unity.Configuration">
<param name="someInt" parameterType="int">
<value value="12"/>
param>
<param name="someText" parameterType="string">
<value value="Hello Unity!"/>
param>
constructor>
<property name="MyStringProperty" propertyType="string">
<value value="SomeText"/>
property>
typeConfig> type>
var container = new UnityContainer();
container.RegisterType(new InjectionFactory((c) => Customer.NewCustomer()));
var newCustomer = container.Resolve();
Console.WriteLine(newCustomer.Name);
I use InjectionFactory when there is no chance to add an injection attribute for a third party class constructor or property. In this case you can create delegate creating an object.
HTTP Error 500.19 - Internal Server Error
Fix:
If your plan is to deploy to an IIS that has an Application Pool running in .net 4.0 you will need to cleanup the web.config that includes all the section Definitions that point to .net 3.5. The reason this fails is because these section definitions are already included in the root web.config in .NET 4.0 (see %windir%\microsoft.net\framework\v4.0.30319\config\machine.config) that include all the system.web.extensions declared already.
Another quick fix is to have the application pool set to 2.0 just as your development machine appears to have.
Delete or comment out all the system.web.extensions configuration section definitions and configuration section group definitions from the application-level
Subscribe to:
Posts (Atom)
Powered by Blogger.