Quantcast
Channel: patterns & practices: Project Silk
Browsing all 93 articles
Browse latest View live
↧

New Post: Performance issue

Hi, I believe that usually, when you implement a design pattern to maintain testability, scalability, etc. it's common to experience a small decrement in the application's performance when compared to...

View Article


New Post: Performance issue

Hi, Thanks for your prompt reply. For functions in data layer, the function ToList() is called before return. For example, public IEnumerable<Reminder> GetOverdueReminders(int vehicleId, DateTime...

View Article


New Post: Whats controlling dbContext instances in IUnitOfWork

When Silk are using repositories in handler-classes, repositories take a IUnitOfWork in the constructor witch unity makes sure gets an instance of MileageStatsDbContext injected. But when multiple...

View Article

New Post: Performance issue

Hi, The following note, took from Chapter 11 - Server-Side Implementation - Implementing the Repository Pattern explains the design decisions took by the team regarding this topic: The...

View Article

New Post: Whats controlling dbContext instances in IUnitOfWork

Hi, In MileageStats the configuration for the type mappings used by Unity are set in the unity.config file (or unity.debug.config file depending your launch configuration). In that file you can find...

View Article


New Post: IUnitOfWork in project silk

They did it so they could use Unity to inject a DBContext into the repositories. DBContext doesn't otherwise implement an interface, although it does have a SaveChanges method already so technically...

View Article

New Post: Handlers and a service-classes

I have a couple of questions of handlers and service-classes. What is the difference between the two? From one post i understood that there isn't any. If so why the separation? The handlers seem to...

View Article

New Post: Handlers and a service-classes

Hi, Although from the side of the "consumer" (for example a controller consuming a service or a handler) they appear to be similar, the difference is how they are implemented. In my opinion, a service...

View Article


New Post: Roadmap or future of project Silk

Check the linkhttp://msdn.microsoft.com/en-us/library/ff921348.aspx it is still on and it will be. There is no near future retirement for project silk.

View Article


Created Unassigned: Remove IUnitOfWork [8128]

Since the pattern is used incorrectly, I propose that it be removed to avoid confusing developers who look to the Silk project as something off of which to model new projects.

View Article

New Post: Models in different layers

DCherubini wrote: Hi, The documentation describes the handlers in the domain project as " a set of classes that implement the core behavior of the application ," where each handler is in charge of...

View Article

Created Unassigned: Silk-RTM.exe installation module does nothing [8129]

I cannot install the silk project; when I run Silk-RTM.exe that I got from the project download page, and click Yes to accept terms, it shows a quick progress bar, then ends with a message box entitled...

View Article

New Post: 'System.Data.Entity.Database.DefaultConnectionFactory' is obsolete

Hello. I need your help to solve this problem. In trying to build the project, the following error occurs: Warning as Error 26 Error: 'System.Data.Entity.Database.DefaultConnectionFactory' is obsolete....

View Article

Browsing all 93 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>