JamesEggers

Stories kicked by JamesEggers

Development Achievements(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 2 months ago

A look into possibly using an Achievement system as a way to increase motivation and recognition of developers. read more...

add a comment |category: |Views: 10

tags: another

Making Part Declarations Easier with InheritedExports(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 4 months ago

A look at the lesser documented feature of the Managed Extensibility Framework - the InheritedExport attribute. read more...

add a comment |category: |Views: 6

tags: another

A Configurable Type Catalog for MEF(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 4 months ago

A post that looks at what extending the TypeCatalog that comes with the Managed Extensibility Framework to provide provider-model like functionality. read more...

add a comment |category: |Views: 75

tags: another

Random Acts of Coding: Using MEF and Custom Configuration Sections(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 5 months ago

In this post, we'll look at how to utilize a custom configuration section defined in an assembly used as a MEF part and not located in the same directory as the executable. Using this method, it will allow even greater power to your application and freedom to the parts consumed by such. read more...

add a comment |category: |Views: 29

tags: another

Managing Composition Through Lazy Loading Parts(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 5 months ago

So far in this post series, we've been looking at various aspects of working with MEF in the context of a single level of composition. One interesting thing about MEF is that its composition is recursive based on the assemblies and types identified in the catalogs within the container. What this means is that if one of our parts also has imports defined for parts of its own, the composition container will continue loading parts for the initial type as well as all parts loaded until no more parts are found or all imports are fulfilled. This is a really nice feature since it will ensure everything is ready for you once compose the initial type; however, this eager loading can greatly cause a performance issue if the parts are not constructed properly. In this post on our ongoing series about MEF, we'll look into the concept of parts of parts and how to apply lazy loading principles towards them. read more...

add a comment |category: |Views: 15

tags: another

Looking Around at Circular References in MEF (randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

In the last post of this series, we created a new example code base used to display help text for various "commands". This was a simple code base that extended previous examples by using external assemblies and different catalogs to identify all of the parts that can be imported and mapped. This example covers a lot of scenarios when applied beyond the means of console-based text output since each imported "command" could literally be a functional piece of code by itself. However, what happens when the imports require something from our main application? When one object has a dependency with another object of another type; only for the dependent have a dependency towards the initial type; this is called a circular dependency. In this post, we're going to look at the condition of a circular dependency and see how MEF encounters such issues. read more...

add a comment |category: |Views: 24

tags: another

Random Acts of Coding: Playing Nice with Other Assemblies using MEF Ca(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

Looking over the previous three posts, we have been working within a single assembly for managing our extensibility parts. While this works well if we want to use MEF more as an IoC container, it really limits the extensibility of our application. In the single assembly model that we've been using, every update would require a new build of the application. To overcome this limitation, we'll create a new example project that builds on what we've covered and branch it out into multiple assemblies. read more...

add a comment |category: |Views: 5

tags: another

LINQing to MEF Imports(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

At the end of the last post, we looked at how we can explicitly manage our imports and exports using a combination of text-based labels and type declarations. In addition, we began to look at the ImportMany() attribute for importing more than one value in our extensible application. Along with the ImportMany(), we looked at looping through the simple example to display the property of each imported type. This approach isn't bad if the number of imported types are small; however, looping really wouldn't work well if your application loaded a very large amount of applications. In a way, it's a great problem to have if your application has a large community based plug-in repository (i.e. Wordpress or Firefox). There may come a time when we may need to find a specific plug-in without looping through everything. In order to determine this, there's a couple different ways to handling this. In this post, we're going to explore a non-MEF way of handling it using LINQ. In a future post, we'll look at how we can expand upon this using some of the constructs that MEF provides. read more...

add a comment |category: |Views: 10

tags: another

Pass Number 1: ActiveRecordEngine for ASP.NET « Rob Conery(blog.wekeroad.com)

submitted by johnsheehanjohnsheehan(4785) 2 years, 6 months ago

Rob is looking for feedback read more...

add a comment |category: |Views: 227

tags: another

Random Acts of Coding: A Deeper Look at MEF's Imports and Exports(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

In the last article, I provided a very brief introduction to MEF and showed a very simple console application. In this section, we'll be looking at the issues associated with that sample and diving into the various aspects of declaring your Imports and Exports to overcome those issues. The code and samples in this post will still be within a single assembly. Because of this, I'll may use the word Dependencies and Parts interchangeably. read more...

add a comment |category: |Views: 7

tags: another

Random Acts of Coding: An Introduction to MEF(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

Have you ever attempted to write an extensible application? You know the kind. The applications where your boss wants to be able to add stuff to it without rewriting the entire application and with minimum costs. Or the type of application you want to release out to the community and provide a way for them to add their own customizations to it. We have all seen these types of applications; however, if you have ever attempted to write such, it is usually a pain to developer the core application or a pain to develop the extensions or plug-ins. Thankfully the Managed Extensibility Framework (MEF) is available to those of us that have extensibility needs inside of the application. read more...

add a comment |category: |Views: 3

tags: another

Architect’s perspective on Silverlight 3(blogs.msdn.com)

submitted by jbarnesjbarnes(3479) 2 years, 6 months ago

Many .NET developers are becoming more and more interested in the Rich Internet Application development space, and in particular Silverlight. In this session we will step back from a detailed implementation technology and take a higher level look at Silverlight from the architect’s perspective. We will discuss the types of applications where Silverlight makes sense and some scenarios where Silverlight may not be the appropriate technology. We will also delve into some of the architectural decisions that the architect must consider when writing applications for this platform and where some of the tradeoffs may lie. read more...

add a comment |category: |Views: 161

tags: another

Reviewing UppercuT - A Build Framework Based On NAnt(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 6 months ago

A review/opinion of UppercuT, a Build Framework based on NAnt developed by Rob Reynolds. read more...

add a comment |category: |Views: 8

tags: another

Is Learning Through a UI Worth It?(randomactsofcoding.blogspot.com)

submitted by JamesEggersJamesEggers(1250) 2 years, 7 months ago

When learning some form or back-end component, is it worth while to spend time applying the product to a UI? read more...

add a comment |category: |Views: 3

tags: another

Simple 6 steps to use stored procedure in LINQ(c-sharpcorner.com)

submitted by nareshshnareshsh(824) 2 years, 8 months ago

This is an extremely small article which describes how to flourish LINQ objects using stored procedure. What provoked me to write this article is the ‘ExecuteMethodCall’ function which helps to execute stored procedures in LINQ. As this is a protected function it changes the way you architect the DAL using read more...

add a comment |category: |Views: 279

tags: another

Deep Fried Bytes Episode 36: What Happens In The Speaker’s Lounge(deepfriedbytes.com)

submitted by cwoodruffcwoodruff(780) 2 years, 8 months ago

In this episode Keith sits down with a bunch of speakers at the DevLink 2009 conference held in Nashville, TN. It isn’t every day one gets to hear what other speakers talk about and that’s why we titled the show the way we did. Listen in to learn how much time speakers devote to the community, why they do it, why some are getting tired and why the developer community can be so rude at times. read more...

add a comment |category: |Views: 1

tags: another