<commit_before>#An MVC5 IDependencyResolver wrapper for Structuremap 3.x
**Works with `MVC Controllers` only. If you need `WebApi Controler` support install the `Structuremap.WebApi2` package.**

[**What it adds to your solution**]

2 directories to the root of your MVC project:

* App_Start (If not already in your solution)
* DependencyResolution

3 Files:

* App_Start/StructuremapMvc.cs
* DependencyResolution/StructureMapDependencyScope.cs
* DependencyResolution/StructureMapScopeModule.cs 
* DependencyResolution/IoC.cs (Structuremap's ObjectFactory Initialization, this is where you would define your mappings)


[**Default configuration**]

	public static IContainer Initialize() {
            ObjectFactory.Initialize(x =>
                        {
                            x.Scan(scan =>
                                    {
                                        scan.TheCallingAssembly();
                                        scan.WithDefaultConventions();
                                    });
            //                x.For<IExample>().Use<Example>();
                        });
            return ObjectFactory.Container;
        }

This configuration will *just work* for any Interfaces and concrete implementations that follow the default convention and are part of the MVC project. I.E. ISomeService.cs implemented with SomeService.cs<commit_msg>updated docs to include StructureMapRegistry<commit_after>#An MVC5 IDependencyResolver wrapper for Structuremap 3.x
**Works with `MVC Controllers` only. If you need `WebApi Controler` support install the `Structuremap.WebApi2` package.**

[**What it adds to your solution**]

2 directories to the root of your MVC project:

* App_Start (If not already in your solution)
* DependencyResolution

4 Files:

* App_Start/StructuremapMvc.cs
* DependencyResolution/StructureMapDependencyScope.cs
* DependencyResolution/StructureMapScopeModule.cs 
* DependencyResolution/IoC.cs 
* DependencyResolution/StructureMapRegistry.cs (This is where you would define your mappings)


[**Default configuration**]

	public StructureMapRegistry() {
		Scan(
			scan => {
				scan.TheCallingAssembly();
				scan.WithDefaultConventions();
			});
		//For<IExample>().Use<Example>();
	}

This configuration will *just work* for any Interfaces and concrete implementations that follow the default convention and are part of the MVC project. I.E. ISomeService.cs implemented with SomeService.cs
{'fraction_non_alphanumeric': 0.07883986928104575, 'fraction_numerical': 0.004084967320261438, 'mean_word_length': 3.0213464696223316, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107127', 'n_tokens_mistral': 656, 'n_tokens_neox': 602, 'n_words': 203}