c# - Entry Point of a DLL -
c# - Entry Point of a DLL -
i've c# .net
wpf
application, need register something(basically kernel of ninject
ioc
pattern) has been used bll
, dal
layer.
i want know entry point or dll
set code(kernel registration).
for wpf
section, utilize app.xaml.cs
, wcf
section utilize global.asax.cs
entry point of these things. standalone dlls
, entry point.
one approach that, add together static class in dll fulfil purpose , app.xaml.cs
phone call method of bll , register kernels. seems more workaround approach.
please guide me more point , logical.
container configuration done in composite root of application (the point code called first time). said, in case of wpf app.xaml.cs. here register components of layers. preferably have ui code in assembly app.xaml. way creation of spplication separated execution of code.
i suggest read mark seemans book described in detail.
c# .net wpf wcf ninject
Comments
Post a Comment